Skip to content

fix(pds): correct firehose event format for relay compatibility#12

Merged
ascorbic merged 1 commit into
mainfrom
fix/firehose-format
Dec 27, 2025
Merged

fix(pds): correct firehose event format for relay compatibility#12
ascorbic merged 1 commit into
mainfrom
fix/firehose-format

Conversation

@ascorbic
Copy link
Copy Markdown
Owner

Summary

  • Fix since field to use revision TID instead of CID (per AT Protocol spec)
  • Include record CID in ops for create/update operations (required for relay processing)
  • Add listBlobs sync endpoint for federation
  • Route chat.bsky.* lexicons to api.bsky.chat for DM support
  • Add R2 blob storage binding configuration

Test plan

  • All 84 tests pass
  • Firehose verification script confirms correct event format
  • Compared output with known-good PDS (pds.madebydanny.uk)
  • Deployed to pds.mk.gg and verified events have correct since (TID) and cid (record CID) fields

🤖 Generated with Claude Code

- Use revision TID for 'since' field instead of CID (per AT Protocol spec)
- Include record CID in ops for create/update operations
- Add listBlobs sync endpoint
- Route chat.bsky.* lexicons to api.bsky.chat
- Add firehose verification script
- Configure R2 blob storage binding

🤖 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
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 ee5ae12 Dec 27 2025, 10:36 PM

@ascorbic ascorbic merged commit eca3634 into main Dec 27, 2025
3 checks passed
@ascorbic ascorbic deleted the fix/firehose-format branch December 27, 2025 22:37
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