Repository navigation
Preserve Worker variables in managed deployments - #134
Merged
Merged
Conversation
This was referenced Oct 14, 2026
fengmk2
added a commit
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
pushed a commit
to voidzero-dev/void
that referenced
this pull request
Oct 14, 2026
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](voidzero-dev/pkg-pr-registry-bridge#134).
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.
Void
0.27.0omitsworker.varsfrom managed deployment manifests. After the removal of legacy secrets, the Worker loses its public settings.Pin and patch
void@0.27.0to includeworker.varsin those manifests. KeepADMIN_TOKENin remote secret storage. Deployment checks now reject a Worker that does not accept each package pattern fromconfig/production.env.