Skip to content

Conversation

@ascorbic
Copy link
Owner

@ascorbic ascorbic commented Jan 4, 2026

Summary

  • Add pds status CLI command for comprehensive PDS diagnostics including connectivity, repository state, identity verification, blob import progress, federation status, and account activation
  • Enhance /xrpc/_health endpoint to verify Durable Object and SQLite storage health (returns 503 on failure)
  • Add /xrpc/gg.mk.experimental.getFirehoseStatus authenticated endpoint for firehose subscriber info
  • Show verification methods for identity: DID resolution source (plc.directory or /.well-known/did.json) and handle verification method (DNS TXT and/or HTTP well-known)

Test plan

  • Build passes
  • Run pds status against a live PDS (e.g., pds.mk.gg with --dev or production)
  • Verify identity section shows correct DID type and handle verification methods
  • Test with deactivated account to verify account status display

Add comprehensive `pds status` CLI command that verifies:
- PDS connectivity and Durable Object health
- Repository state (blocks, records, commit)
- Identity resolution (DID via plc.directory/well-known, handle via DNS/HTTP)
- Blob import progress for migrated accounts
- AppView federation status
- Firehose subscriber count
- Account activation state

Also enhances /xrpc/_health to actually verify storage accessibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 4, 2026

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 terminated
View logs
atproto-pds a219ec6 Jan 04 2026, 10:00 AM

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 4, 2026

Open in StackBlitz

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

commit: a219ec6

@ascorbic ascorbic enabled auto-merge (squash) January 4, 2026 09:39
@ascorbic ascorbic merged commit 20ca34d into main Jan 4, 2026
4 of 5 checks passed
@ascorbic ascorbic deleted the feat/pds-status-command branch January 4, 2026 09:40
@mixie-bot mixie-bot bot mentioned this pull request Jan 4, 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.

2 participants