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: Can't set compatibility_date for production #3730

Closed
205g0 opened this issue Aug 10, 2023 · 1 comment
Closed

🐛 BUG: Can't set compatibility_date for production #3730

205g0 opened this issue Aug 10, 2023 · 1 comment
Labels
bug Something that isn't working

Comments

@205g0
Copy link

205g0 commented Aug 10, 2023

Which Cloudflare product(s) does this pertain to?

Pages

What version(s) of the tool(s) are you using?

3.5.0

What version of Node are you using?

18

What operating system are you using?

WSL

Describe the Bug

For dev you can just use the CLI flag, e.g. wrangler dev pages --compatibility_date=... but for production wrangler.toml is being ignored--at least by wrangler. There's no way to test if the CF production run-time grabs and uses wrangler.toml and/or if wrangler.toml was error-free.

Please provide a link to a minimal reproduction

Just add a random wrangler.toml with a compatibility_date and run wrangler WITHOUT the flag.

Please provide any relevant error logs

No response

@205g0 205g0 added the bug Something that isn't working label Aug 10, 2023
@mrbbot
Copy link
Contributor

mrbbot commented Jan 8, 2024

Hey! 👋 Apologies for the delayed response. Right now, you'll need to configure your production compatibility date in the Cloudflare dashboard:
image
We're working on converging the Workers and Pages experiences which should allow this to be configured in a config file: https://blog.cloudflare.com/pages-and-workers-are-converging-into-one-experience/. This is still a ways out though, so you'll need to use the dashboard for now.

@mrbbot mrbbot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants