Repository navigation
fix: fail-closed paused-state readback after Cloudflare rollback (#50) - #61
Merged
Merged
Conversation
This was referenced Nov 12, 2026
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.
Issue #50 — provider-bound normal pause verification
The 2026-11-12 staging fixture operation exposed a real failure mode:
wrangler rollbackselected the old 100%-traffic Worker version, but Cloudflare service settings still retained temporaryALLOW_NEW_TABLES=true. The existing authenticated provider reader correctly rejected that state withprovider-version-config-unverified, and the operator restored the canonical paused config with a separately approved full staging redeploy (record).Changes
scripts/release-pause-readback.mjsoperator check. It requires reviewed staging/production + peer configs, a separately observed expected active version UUID,manualprofile, no restore quarantine, and all five intake/Events/subscription/outbound switches disabled. It verifies actual Cloudflare resource isolation and both settings and 100%-traffic version text bindings using the existing provider reader. Errors are deterministic, fail-closed, and do not print tokens/private state.Validation
node --test scripts/*.test.mjs— 81 passednpm test— 301 passed, 42 filesnpm run test:restore-runtime— 2 passednpm run typecheck,npx biome check src schema test --diagnostic-level=error,npx biome check scripts/release-pause-readback*.mjs,npm run build— passed.ERR_SYSTEM_ERROR: uv_interface_addresseseven fornode:os.networkInterfaces(). Please rely on fresh hosted CI Playwright E2E rather than interpreting this host restriction as app failure.This PR does not deploy, rotate credentials, change Cloudflare resources, approve production, or close Issue #50. A later protected production deploy requires separately explicit owner and GitHub Environment approval plus current exact-main disclosure/evidence.