Skip to content

Preserve public Worker variables in managed deployments - #423

Merged
Brooooooklyn merged 1 commit into
mainfrom
fix/managed-worker-vars
Oct 14, 2026
Merged

Brooooooklyn merged 1 commit into
mainfrom
fix/managed-worker-vars

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Managed deployments omit worker.vars, so public settings disappear after legacy remote secrets are removed. Include configured variables in deployment manifests for Void and framework applications. Reject schema-declared server keys in plain-text variables, including with --skip-build.

When a remote secret and a variable share a name, upload only the secret binding. This preserves secret precedence and prevents Cloudflare from rejecting duplicate binding names.

For the temporary bridge fix, see pkg-pr-registry-bridge#134.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-managed-worker-vars-void-cloud.voidzero-docs.workers.dev (commit fd0f556)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ed72cd94-void-cloud.voidzero-docs.workers.dev fd0f556 2026-10-14T14:42:58.298Z Visit the dashboard ↗

fengmk2 added a commit to voidzero-dev/pkg-pr-registry-bridge that referenced this pull request Oct 14, 2026
`void@0.28.0` still omits `worker.vars` from managed deployment
manifests. Without the patch, deployments lose the bridge's public
configuration.

Upgrade `void` to `0.28.0` and adapt the temporary fix from
[#134](#134)
to its manifest builders. Keep the patch until a release includes [Void
PR #423](voidzero-dev/void#423).
@Brooooooklyn
Brooooooklyn merged commit 0fe5cd5 into main Oct 14, 2026
20 checks passed
@Brooooooklyn
Brooooooklyn deleted the fix/managed-worker-vars branch October 14, 2026 15:12
fengmk2 added a commit to voidzero-dev/pkg-pr-registry-bridge that referenced this pull request Oct 15, 2026
`void@0.28.0` needs a local patch to preserve `worker.vars` in managed
deployment manifests.

Upgrade `void` to `1.1.0`, which includes the fix from [Void
#423](voidzero-dev/void#423). Remove the patch,
its configuration, and the obsolete documentation. Managed deployments
continue to include the bridge's public settings.

Use `@cloudflare/*` in `minimumReleaseAgeExclude`. Remove version
constraints from the exclusions for `cf`, `miniflare`, and `wrangler` so
future releases can update without the cooldown.
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.

2 participants