Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG: env in redirected configs #8359

Closed
3 tasks done
petebacondarwin opened this issue Mar 5, 2025 · 0 comments · Fixed by #8596
Closed
3 tasks done

🐛 BUG: env in redirected configs #8359

petebacondarwin opened this issue Mar 5, 2025 · 0 comments · Fixed by #8596
Assignees
Labels
bug Something that isn't working wrangler Relating to the Wrangler CLI tool

Comments

@petebacondarwin
Copy link
Contributor

petebacondarwin commented Mar 5, 2025

Which Cloudflare product(s) does this pertain to?

Wrangler

What versions are you using?

3.x

What operating system and version are you using?

All

Please provide a link to a minimal reproduction

No response

Describe the Bug

A redirected config should not have environments nor should Wrangler try to apply one when using a redirected config.
Instead the environment should be set when running vite dev or vite build: https://github.com/cloudflare/workers-sdk/tree/main/packages/vite-plugin-cloudflare#cloudflare-environments

  • ignore --env and similar when using a redirected config
  • put up a warning when Wrangler is ignoring environments
  • error if a redirected config has any named environments

Please provide any relevant error logs

No response

@petebacondarwin petebacondarwin added bug Something that isn't working wrangler Relating to the Wrangler CLI tool labels Mar 5, 2025
@petebacondarwin petebacondarwin self-assigned this Mar 5, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Mar 5, 2025
@emily-shen emily-shen changed the title 🐛 BUG: 🐛 BUG: env in redirected configs Mar 5, 2025
@penalosa penalosa moved this from Untriaged to Backlog in workers-sdk Mar 10, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in workers-sdk Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working wrangler Relating to the Wrangler CLI tool
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants