Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
This was referenced Nov 22, 2026
This branch has not been deployed
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.
Scope
Port only the
cold-store-rehydratorWorker deployment from Wrangler to GitHub Actions using the repo-pinnedcfCLI and Workers Versions API. The broader #5767 issue originally kept Actions out of scope; this request changes that for this Worker only. It does not modify R2 objects, retention, D1/DO storage, routes, or shared deploy infrastructure.Ownership check: #12569 is the only open PR matching this Worker; the other open Cloudflare migration PRs target different Workers. Historical #5767 is the broad deployment-tool issue, not a competing implementation of this Worker.
Pre-production safety
.github/workflows/cold-store-rehydrator-private-staging.ymland a separate evidence artifact bound to the exact upload run, version ID, and source SHA. Since that workflow does not exist, promotion currently fails closed.COLD_STORE_REHYDRATOR_CF_API_TOKENenvironment secret andCOLD_STORE_REHYDRATOR_CF_ACCOUNT_IDenvironment variable. The token is mapped only into the trusted upload/promotion command step. Workflows dispatch only onmain; no PR job has the token.Verification
npm test— passed config parity, local frame proof, range handling, bounded decompression, token-response checks, and both property checks (92 generated decompression cases; 64 token-response cases).node --check pkgs/cold-store-reaper/worker/deploy.mjsandbash -n pkgs/cold-store-reaper/worker/deploy.sh— passed.cf workers deployments list— stale expected baseline rejected before version inspection or deployment.CSR_CHECK_ARGS_ONLY=1 node .../deploy.mjs --deploy-version 1234— exit 2; promotion requires a baseline before subprocesses. A local promotion attempt without trusted workflow context is also rejected before credential lookup.bash -npassed for all embeddedrunblocks.git diff --check— passed.cf@1.0.0-beta.20help:workers versions createuploads without deploying and supports--prebuilt,--tag, and--message;workers deployments listmarks the first result as the latest serving deployment;workers deployments createaccepts a percentage strategy and version array.Cutover prerequisites
cold-store-rehydrator-productionGitHub environment with required reviewers, the dedicated Worker-scoped token, and the account ID variable. Do not reuse a broad account token.main, validate its exact version and baseline, obtain private staging evidence for that version, then dispatch promotion. Promotion will refuse if production serving has changed since upload.Refs #5767.