in keeps_own, a describeServer that fails (timeout, 5xx, too large) turns into Value::default(), so availableUserDomains counts as none. An account on bsky.social whose alice.bsky.social still resolves is then planned with keeps: true and handle alice.bsky.social. importAccount makes the account here under that handle, and completeImport demands at://alice.bsky.social in alsoKnownAs. The group's handle here is then one the old server hands out, and it stops resolving once that server lets it go. The console path stops on an unreadable describeServer later, in bring_spaces, but only after the copy. The command path calls importAccount first. The test at tests/import.rs:71 only covers a describeServer that answers.
How to see it
Read against docs/fresh at 4636e6d, the code at: import.rs:226-234. Paths are under crates/group-host/src unless they say otherwise. Severity: low.
What you expected
Fail closed. Treat an unreadable describeServer as "not its own" (keep the address), or refuse the plan with UpstreamFailure.
Where
The host, as built from 4636e6d. Found while checking the docs against the code.
What happened
in
keeps_own, adescribeServerthat fails (timeout, 5xx, too large) turns intoValue::default(), soavailableUserDomainscounts as none. An account on bsky.social whosealice.bsky.socialstill resolves is then planned withkeeps: trueand handlealice.bsky.social.importAccountmakes the account here under that handle, andcompleteImportdemandsat://alice.bsky.socialin alsoKnownAs. The group's handle here is then one the old server hands out, and it stops resolving once that server lets it go. The console path stops on an unreadable describeServer later, inbring_spaces, but only after the copy. The command path callsimportAccountfirst. The test at tests/import.rs:71 only covers a describeServer that answers.How to see it
Read against
docs/freshat 4636e6d, the code at: import.rs:226-234. Paths are undercrates/group-host/srcunless they say otherwise. Severity: low.What you expected
Fail closed. Treat an unreadable describeServer as "not its own" (keep the address), or refuse the plan with
UpstreamFailure.Where
The host, as built from 4636e6d. Found while checking the docs against the code.