Repository navigation
docs(cms): media on R2 in the record (PC4) - #17
Merged
Merged
Conversation
…(PC4 record) operations.md's CMS section gains media (the buckets, the binding, the file route, what may be uploaded, the R2 token), migration 205, the resources' real prefixed names, a media verify command, and the two one-time R2 owner steps in place of "media waits on R2". The epic README reads shipped for PC0-PC5. Orun-Task: PC-7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
…rded IMPLEMENTATION-STATUS marks PC4 shipped (#15, #16, #18) and records its departures: two tasks and three pull requests, namespace-prefixed resource names, the R2 token as a rotated project secret, abortOnLimit, no SVG and no resizing. The risks file resolves PC-F (token minted, R2 enabled), records PC-K (wrangler's provisioning reads R2 with the deploy token, fixed by stack-tectonic 0.21.0's skipResourceProvisioning) and brings PC-I up to date with the 0.21.0 pin. The operating contract names the deploy setting. Orun-Task: PC-7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
ruehowl
force-pushed
the
orun/PC-7-record
branch
from
October 28, 2026 09:42
0a12b6b to
ac15e2e
Compare
The stage deploy of bc8c24c reports 3356 KiB gzipped, so the operating contract's "about 3.8 MiB" was wrong; it goes back to 3.3 MiB. Orun-Task: PC-7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
Main run 40666021733 deployed the CMS with R2_MEDIA bound on both environments through the workers-deploy token: /api/media answers, an anonymous upload is refused, and the suite passed in each lane. A staff upload served back from R2 is not yet verified live, because no staff account exists until the owner opens setup; the same path passed end to end in workerd. PC-K notes the live confirmation. Orun-Task: PC-7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
The record for milestone PC4 (media on R2). #15 (the bucket), #16 (the media collection) and #18 (the deploy fix) have all landed, and main run 40666021733 deployed the CMS with
R2_MEDIAon stage and prod.ai/context/operations.md, the CMS section, now covers:R2_MEDIAbinding, the file route, what may be uploaded, and the R2 token205_cms_mediastg-…,prod-…)CLOUDFLARE_R2_TOKENskipResourceProvisioning: trueIMPLEMENTATION-STATUS.mdmarks PC4 shipped. It records:abortOnLimit, no SVG and no resizingLive verification (read-only)
env.R2_MEDIA (stg-lumen-payload-cms-media-stage)env.R2_MEDIA (prod-lumen-payload-cms-media-prod)/health{"status":"ok","db":"ok"}{"status":"ok","db":"ok"}GET /api/mediaPOST /api/mediaNot yet verified live: a staff upload served back from R2. No staff account exists until the owner sets
CMS_SETUP_TOKENand opens/setup. The same path passed end to end on the built Worker in workerd with a local R2 bucket.Docs only:
orun plan --changedplans nothing for it.🤖 Generated with Claude Code
https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG