Skip to content

feat(registry): add label subscriptions - #1931

Merged
ascorbic merged 1 commit into
feat/plugin-registry-labelling-servicefrom
feat/labeler-12-subscribe-labels
Jul 10, 2026
Merged

ascorbic merged 1 commit into
feat/plugin-registry-labelling-servicefrom
feat/labeler-12-subscribe-labels

Conversation

@ascorbic

@ascorbic ascorbic commented Jul 10, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds the standard com.atproto.label.subscribeLabels WebSocket endpoint to the registry labeler. A hibernating singleton Durable Object replays retained D1 labels from cursors, hands off safely to ordered live delivery, emits ATProto DAG-CBOR frames, isolates slow subscribers, and sheds excess public work without delaying internal notifications.

Part of #1801 and stacked under #1909.

Type of change

  • Bug fix
  • Feature (requires maintainer-approved Discussion)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool: OpenCode with GPT-5.6 Sol; independent review with Opus 4.8

Screenshots / test output

  • pnpm --filter @emdash-cms/labeler test (19 tests)
  • pnpm build
  • pnpm typecheck
  • pnpm lint
  • pnpm lint:json (0 diagnostics)
  • pnpm format
  • git diff --check
  • pnpm exec wrangler types

Try this PR

Open a fresh playground →

A full working EmDash site, deployed from this branch. Each visit gets its own session-scoped sandbox: no login needed and no shared state. Try the admin, edit content, hit the public site.

Tracks feat/labeler-12-subscribe-labels. Updated automatically when the playground redeploys.

@github-actions

Copy link
Copy Markdown
Contributor

Scope check

This PR changes 584 lines across 8 files. Large PRs are harder to review and more likely to be closed without review.

If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs.

See CONTRIBUTING.md for contribution guidelines.

@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f0b0603

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added review/needs-review No maintainer or bot review yet cla: signed labels Jul 10, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026 •

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
emdash-playground f0b0603 Jul 10 2026, 09:02 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026 •

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
emdash-demo-do f0b0603 Jul 10 2026, 09:03 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026 •

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
emdash-demo-cache f0b0603 Jul 10 2026, 09:04 PM

@ascorbic
ascorbic merged commit 5e01a36 into feat/plugin-registry-labelling-service Jul 10, 2026
8 checks passed
@ascorbic
ascorbic deleted the feat/labeler-12-subscribe-labels branch July 10, 2026 21:06
@ascorbic ascorbic mentioned this pull request Jul 10, 2026
60 of 81 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: signed review/needs-review No maintainer or bot review yet size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant