Skip to content

Preserve inference and reuse the gateway on Cloudflare releases - #9

Draft
RiddleMeThis3 wants to merge 1 commit into
mainfrom
codex/cloudflare-rollout-capacity
Draft

RiddleMeThis3 wants to merge 1 commit into
mainfrom
codex/cloudflare-rollout-capacity

Conversation

@RiddleMeThis3

Copy link
Copy Markdown
Collaborator

Why

A standard Cloudflare dispatch can replace an active inference catalog with the empty profile. A console-only release with inference enabled also starts a second gateway container, even when its image and runtime settings match the active gateway. During the fal rollout, the overlap coincided with a refused PlanetScale audit connection.

Changes

  • Default the production workflow to preserving its active inference modes. Require an explicit selection to enable or disable modes, and recheck the active version just before deployment.
  • Let the workflow pin a verified gateway image and revision for a console-only release. Key container reuse to the actual gateway image and startup settings. Keep the responding revision in the readiness gate and select a fresh instance when runtime configuration or credentials change.
  • Check the full set of required encrypted bindings and keep plaintext dashboard diffs out of deployment output.

Verification

  • Passed the gateway runtime, release profile, and persistent provider journal tests.
  • Passed the hosted release smoke tests and native package tests.
  • Built the frontend on Node 22 and bundled the full production Worker with Wrangler dry-run.
  • Verified profile preservation against current Cloudflare version metadata using read-only commands. A disposable Git fixture accepted a console-only pin and rejected reuse after a backend change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant