GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(id-hosted-worker): publication references, CDN path and unpublish (#12807) by dezren39 · Pull Request #15688 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 26, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Part of #12807. Refs #9084.

Before: the media plane had references, capabilities and GC, but no way to publish content to the public tier, no CDN path, and no unpublish flow.

After: PublicationService (pkgs/id/hosted-worker/src/publication.ts) publishes content by creating a publication reference in the public database. No bytes are staged, copied or re-published. Anyone can then read the content through that reference alone, and unpublishing removes the reference.

How:

  • Publish: requires a live reference held by the publisher in an authorized database (a content hash alone is refused) and a verified replica already in the public partition. It is idempotent per publisher.
  • Capabilities: a short-lived read capability is minted only while a live publication reference exists. Unpublish stops new minting at once. Capabilities already minted expire on their TTL.
  • CDN path: a publication-scoped signed URL, bound to the publication id and the current CDN epoch, minted only on adapters that declare cdnEligible. The edge check also requires the publication to still be live. advanceCdnEpoch() is meant to run once per GC sweep epoch, so invalidation is epoch-paced, not instant, as the design records.
  • Unpublish: only the publisher or an admin may unpublish. A non-publication reference is refused.

Tests are in test/publication.test.ts (13 cases). They cover reading through the publication reference alone, refusing capabilities once unpublished, a fake adapter that counts write-path calls to prove no byte copy, hash-only publish refused, CDN epoch invalidation, and authorization on unpublish.


Generated by Claude Code


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@claude
feat(id-hosted-worker): publication references, CDN path and unpublis…
eff6652
…h (component F, #12807)

Publication is a live reference in the public database, never a byte
copy. Adds PublicationService: publish (needs a live reference and a
verified public replica), capability minting from a publication
reference, a publication-scoped signed CDN path bound to the current
epoch, and unpublish (stops new minting immediately; CDN paths age out
at the next epoch).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 01d4d419-8049-4a97-92c9-8b51ba3ad906
Commits

Reviewing files that changed from the base of the PR and between 4045290 and eff6652.

Files selected for processing: 3

  • pkgs/id/hosted-worker/package.json
  • pkgs/id/hosted-worker/src/publication.ts
  • pkgs/id/hosted-worker/test/publication.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 marked this pull request as ready for review November 26, 2026 18:15
@dezren39
dezren39 merged commit a426f04 into main Nov 26, 2026
1 of 2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the claude/project-thread-oleea7 branch November 26, 2026 18:15
This was referenced Nov 26, 2026
impl(pm-stack F): publication semantics — public-DB reference, CDN path, unpublish (#9084 slice 5) #12807
Open
Daily codebase innovation & maintenance #15656
Closed
This was referenced Nov 27, 2026
design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084
Open
Stray work audit: PRs and issues not tied to a design or roadmap item #13874
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@dezren39 @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.