chadtmiller.com/group-host
atmosphere group host
0
0
A failed `migrateActivate` leaves the group off with no way to retry
Closedchadtmiller.com mentioned this in The command finishes a move it was stopped in
atmosphere group host
What happened
opensocial migratecallsmigrateActivateright aftermigrateComplete. If activate fails, the command exits with an error after the group has been handed over and switched off at the old host. The failure can beNotYetwhile the directory lags, a network error, or a 5xx. Running the command again fails atmigratePreparewithNotController, because the old host no longer holds a rotation key. The command has no way to call onlymigrateActivate, so the group stays switched off on both hosts until someone posts that XRPC by hand. The identity'sdocumentis read fresh (identity.rs:97), soNotYetis rare against plc.directory, but any failure at this step strands the group. No test covers it: commands.rs only runs the happy path and a prepare failure.How to see it
Read against
docs/freshat 4636e6d, the code at: crates/opensocial/src/lib.rs:485-489. Paths are undercrates/group-host/srcunless they say otherwise. Severity: medium.What you expected
Retry
migrateActivateonNotYetfor a short while, with a wait. On failure, print the step that is left. Givemigratea way to only activate, such as--activateor detecting that the group is already handed over.Where
The host, as built from 4636e6d. Found while checking the docs against the code.