chadtmiller.com/group-host
atmosphere group host
0
0
A relay pages through the host's repos as atproto has it, and a refusal's line says why
Merged Approved
This pull lets listRepos and listBlobs take page sizes of 1 to 1000 (500 by default), through a new sync_limit that reuses the existing page helper. It also keeps each XrpcError in the response extensions, so the request log line carries error and error_message. I found nothing wrong. XrpcError is already Clone, as extensions require, and the limit helper still serves listRecords. Tests cover both new limits and the new log fields, and docs/reference/api.md is updated. One nit: the rewritten module comment at the top of observe.rs has a very long line, so rewrap it by hand.
Merged as 7bbb975
What changes
listReposandlistBlobstake atproto's page sizes. Each answers up to 1000, 500 unless asked, ascom.atproto.sync.listReposandlistBlobshave it; they were held to our own 1 to 100, 50 unless asked. On next.opensocial.fyi, 13 of today's 14listReposwere refused 400, which is what a relay crawling withlimit=1000gets.A refused or failed request's line says why. The
requestline of an XRPC failure carries itserroranderror_message, as the answer said them (kept with the response byXrpcError::into_response).error_message, notmessage, sincemessageis the line's own.Why
The operators' stats (at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzo2bt7gtpg7) showed the refused
listRepos, and the logs could not say why: the query is never logged, and the line had no reason. Probing showedlimit=1000refused.How it was checked
tests/repos.rs:listRepostakeslimit=1000and refuses 1001 aslimit is 1 to 1000.tests/blobs.rs: the same oflistBlobs.tests/serve.rs: the built binary's line of a 501 carriesMethodNotImplementedand its message.Shortcomings
Not yet confirmed that the refused callers asked
limit=1000; once this deploys, their lines will say, if any still are.🤖 Generated with Claude Code