You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit df857f8
Browse filesBrowse the repository at this point in the historyBrowse files
Test the exact production Worker version before promotion (#1399)
## Summary
- Upload one production Worker version, stage it at 0% beside the
current 100% version, and smoke-test it through the production route
using the Cloudflare version override and version metadata before
promoting that same version.
- Verify traffic changes against the captured live version and run
marker. Restore only the captured version while the latest deployment
remains owned by this run; refuse ambiguous or intervening state.
- Add protected, serialized manual recovery for a stopped runner. It
checks the requested run attempt and contiguous run-owned deployment
history, waits for propagation, then checks the restored Worker. Older
Workers without the version route still receive functional smoke tests
and a Cloudflare active-version check.
- Keep production JUnit publication after the automatic recovery
boundary, and update the token-migration removal gate to require all
successful upload, stage, smoke, promotion, and ownership steps in the
new flow.
This replaces #1395. It adds no journal branch, writer App, HMAC key, or
repository variable. Production code deployments still require a
successful push-triggered `Test` run on current `main`.
## Validation
- `pnpm run tsc`, `pnpm run lint`, `pnpm run test`: passed on the final
tree (CLI 10,255 passed/16 skipped; MCP core 1,743/6; MCP server 83;
test client 80; Cloudflare 431). An earlier run had one CLI ZIP-test
timeout; the test passed in isolation and on the full rerun.
- `pnpm run test:ci-projects`: 27 passed. The new workflow and migration
regressions failed before the fix and passed afterward.
- `pnpm run docs:check` and `pnpm run pre-commit:generated`: passed.
- Version override and zero-percent staging checked against Cloudflare
documentation and Wrangler 4.80.0 commands.
---------
Co-authored-by: GPT-6 Sol <agent@openai.com>
0 commit comments