Skip to content

chore: drop non-PDS endpoints from PDS and pdscheck#187

Merged
ascorbic merged 1 commit into
mainfrom
chore/drop-non-pds-endpoints
May 25, 2026
Merged

chore: drop non-PDS endpoints from PDS and pdscheck#187
ascorbic merged 1 commit into
mainfrom
chore/drop-non-pds-endpoints

Conversation

@ascorbic
Copy link
Copy Markdown
Owner

Summary

  • Remove com.atproto.identity.resolveDid, com.atproto.identity.resolveIdentity, and com.atproto.sync.listReposByCollection handlers from the Cirrus PDS. These are directory / relay lexicons — the reference @atproto PDS doesn't implement them either (no resolveDid.ts / resolveIdentity.ts / listReposByCollection.ts in packages/pds/src/api). Requests now fall through to the AppView proxy like any other unknown method.
  • Drop the matching pdscheck checks (identity.pds-resolve-did, identity.pds-resolve-identity, sync.list-repos-by-collection and their .validates companions). They were asserting these endpoints exist and are unauthenticated against an arbitrary PDS host, which has no spec basis — pdscheck against jay.bsky.team / morel.us-east.host.bsky.network returned AuthMissing for all three.
  • Drop the now-orphaned rpcHasRecordsInCollection Durable Object RPC.

buildDidDocument stays — /.well-known/did.json still uses it.

Test plan

  • pnpm -F @getcirrus/pds test — 302 unit + 84 CLI tests pass
  • pnpm -F @getcirrus/pds check — publint + attw clean
  • pnpm -F @getcirrus/check check — tsc clean
  • pnpm -F @getcirrus/check build — builds

resolveDid, resolveIdentity, and listReposByCollection are directory and
relay lexicons, not PDS endpoints. The reference @atproto PDS doesn't
implement them either — they fall through to the AppView proxy. Removes
the Cirrus handlers, the now-orphaned rpcHasRecordsInCollection RPC, and
the matching pdscheck checks that were treating them as required PDS
methods.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
pdscheck a04ba19 May 25 2026, 06:31 AM

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 25, 2026

Open in StackBlitz

npm i https://pkg.pr.new/create-pds@187
npm i https://pkg.pr.new/@getcirrus/oauth-provider@187
npm i https://pkg.pr.new/@getcirrus/pds@187

commit: a04ba19

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
cirrusdocs a04ba19 Commit Preview URL

Branch Preview URL
May 25 2026, 06:31 AM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
atproto-pds a04ba19 May 25 2026, 06:31 AM

@ascorbic ascorbic merged commit 838001e into main May 25, 2026
7 checks passed
@ascorbic ascorbic deleted the chore/drop-non-pds-endpoints branch May 25, 2026 06:34
@mixie-bot mixie-bot Bot mentioned this pull request May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant