fix(wrangler): hide multi-env warning when env is set via CLOUDFLARE_ENV#13827
Merged
petebacondarwin merged 31 commits intoMay 14, 2026
Merged
Conversation
…env warning message
…nstead of duplicating conditions
🦋 Changeset detectedLatest commit: 7f31ab5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
petebacondarwin
requested changes
May 6, 2026
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
…d multi-env warning message" This reverts commit 74fe39f.
…env warning message
…nstead of duplicating conditions
…d multi-env warning message" This reverts commit 74fe39f.
3ae1d5e to
26e6134
Compare
…m:greyvugrin/workers-sdk into fix-workers-deploy-warning-cloudflare-env
petebacondarwin
requested changes
May 10, 2026
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers |
petebacondarwin
approved these changes
May 14, 2026
Contributor
petebacondarwin
left a comment
There was a problem hiding this comment.
Thanks for bearing with me. Looks good now.
workers-devprod
approved these changes
May 14, 2026
Contributor
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
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.
Changes:
CLOUDFLARE_ENV)targetEnvironmentCLOUDFLARE_ENVExample of failures prior to adjusting the source code:

Photo by Sierra NiCole Narvaeth on Unsplash