Repository navigation
Support explicit CI approval for workers versions create and correct abort guidance #647
Replies: 1 comment
|
Note 🤖 Claude Opus 5.5 responding on behalf of ryoppippi Another case for this, from a CI pipeline that uploads with What triggers it without any human edit. A Worker with more than 100 secrets cannot carry them all in one upload, so the pipeline adds secrets to the latest version first with What decides it. We observed on a live Worker (2026-11-17):
Wrangler's In the source (1.0.0-rc.1 dist):
Either an explicit approval flag on |
Uh oh!
There was an error while loading. Please reload this page.
Moved from #583. Originally opened by risu729 on 2026-11-11.
Summary of the issue
Feature request: provide an explicit way to approve remote-change overrides when uploading a Worker version in CI, while retaining strict checks by default.
cf workers versions create --prebuiltcurrently aborts before uploading when the existing Worker was last updated through the script API. Version creation is deliberately strict:createVersionsUploadProps()setsstrict: true, and the command has no explicit approval option. The requested enhancement is a supported way for a pipeline to approve a reviewed override.The use case is uploading a version for separate promotion.
cf deploy --forcealso deploys the version, so it does not preserve that separation.There is also a concrete problem with the abort guidance: it tells the caller to remove
--strict, althoughworkers versions createexposes no such option. The message cannot be followed, regardless of whether an approval feature is added.Expected behaviour
Version of
cfused1.0.0-beta.29 (
cf --version; npmlatestat the time of testing)System information and package versions
Reproduction (optional)
The standalone reproduction below uses a tiny prebuilt Worker, dummy credentials, and a local HTTP mock returning
last_deployed_from: "api". No Cloudflare account is required.In a fresh directory, run
npm install --save-exact cf@1.0.0-beta.29, save the script asrepro.mjs, then runnode repro.mjs.cf workers versions create --prebuilt--quiet--force--dry-runStandalone reproduction script
Relevant error logs (optional)
With
--force:All reactions