chadtmiller.com/group-host
atmosphere group host
0
0
A group moved in is in its own spaces' writer sets
Merged Approved
migrate_activate now calls tell_spaces once the group is switched on. This is the same call completeImport makes after activate_arrived, and it fixes the missing writer-set entries for a moved group. tell_spaces treats a failed notification to a space's authority as a logged warning rather than an error, so one unreachable space won't fail activation. The test checks that the group is in each space's writer set after activation. moving.md is updated with the change.
I found nothing that must change. tell_spaces also re-reads the spaces the group governs, and migrate_activate goes on to reindex each space itself. That is probably redundant but harmless.
Merged as 955a72a
Merging this pull closed these issues
What changes
A group moved here has its repo in each space written while it is switched off, and a write by a switched-off authority is refused when its space is told of it, so the group was in none of its spaces' writer sets.
listReposgave syncers nothing of the group's, and the index held none of its records (its profile, access records, roles, memberships) until it next wrote in each space.migrateActivatenow tells each space of the group's repo there once it is on (tell_spaces), ascompleteImportdoes. Fixes at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.issue/3mzjdcvmsodel.docs/design/moving.mdsays so.How it was checked
moves_a_group_whole_to_another_host(migration) now checks, once the group is switched on, that it is in the writer set of each of its spaces; before the change it was not. The migration and import tests pass; clippy is clean.🤖 Generated with Claude Code