chadtmiller.com/group-host
atmosphere group host
0
0
A former member's files are fetched no more
Merged Approved
getSpaceBlob now calls may(space, &hosted, Some(repo), Write) before it looks for the repo in the writer set. That is the same check the index applies. A member who was put out, or a writer dropped by a writableBy change, now gets NotFound, and their server is never asked.
- Test: the extended
fetches_no_file_too_big_or_not_asked_fordeletes the membership and then checks both theNotFoundresult and thatfake.askeddidn't change. That covers the regression. - Checks: all five workflows that ran passed on the head commit: check (fmt and clippy), test (with the coverage gate) and e2e.
web,lexiconsanddocswere skipped because nothing they read changed. - Docs: I found nothing in the diff that needs a docs update.
I found nothing that must change.
Merged as 58cbab3
Merging this pull closed these issues
What changes
getSpaceBlobfetched a file from any repo in the space's writer set, with a credential the group issues. Putting a member out unindexes what they wrote but leaves them in the writer set, so their files stayed fetchable through the group, as did a writer awritableBychange dropped. It now asks, as the index does, whether the space still lets that repo write, before asking anyone for anything. Fixes at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.issue/3mzjdcxbwe6gu.How it was checked
fetches_no_file_too_big_or_not_asked_for(index) now deletes the writer's membership and asks for their file again:NotFound, and their server not asked. Before the change the file came back. The index, members and authorization tests pass; clippy is clean.🤖 Generated with Claude Code