Set smart placement flag will cause email binding variable to be ignored and cause an error when running.
without smart placement flag
with smart placement flag
Expected behavior
Email binding env variable should not be ignored and needs to be correctly set when smart placement set to true.
[placement]
mode = "smart"
Steps to reproduce
Please provide the following:
A minimal working subset of your worker code
A minimal working subset of your wrangler.toml
Commands used to start your local dev server, including custom env and cli args
Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time)
A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.61.0
What version of Node are you using?
20.x
What operating system and version are you using?
Windows 11
Describe the Bug
Observed behavior
Set smart placement flag will cause email binding variable to be ignored and cause an error when running. without smart placement flag
with smart placement flag
Expected behavior
Email binding env variable should not be ignored and needs to be correctly set when smart placement set to true.
Steps to reproduce
Please provide the following:
wrangler.toml
A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response