Skip to content

Improve handle resolution by racing DNS vs. /.well-known - #4

Merged
anna-germ merged 3 commits into
germ-forkfrom
anna/parallel
Dec 12, 2025
Merged

Improve handle resolution by racing DNS vs. /.well-known#4
anna-germ merged 3 commits into
germ-forkfrom
anna/parallel

Conversation

@anna-germ

@anna-germ anna-germ commented Dec 12, 2025

Copy link
Copy Markdown

Merging in Mark's work on DNS/well-known racing (improvement to my earlier PR)

Incorporating the /.well-known approach means that we can use it for Bluesky handle resolution, so I removed the special casing for Bluesky handles.

}

public protocol ResponseProviding {
public protocol ResponseProviding: Sendable {

@germ-mark germ-mark Dec 12, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the parent, Matt has a conditional conformance of ATResolve sendable if ResponseProviding is sendable.

This requires ResponseProviding to always be sendable. Which to make the task groups work might be necessary.

But you know who might have a better option on this...

Comment thread Sources/ATResolve/ATResolver.swift
Comment thread Tests/ATResolveTests/ATResolveTests.swift
@anna-germ
anna-germ merged commit 5d74541 into germ-fork Dec 12, 2025
@anna-germ
anna-germ deleted the anna/parallel branch December 12, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants