workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🐛 BUG: smart placement flag cause email binding variable ignored when deploy

Open twodft opened this issue 1 year ago • 0 comments

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 image

with smart placement flag image

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.

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

twodft avatar Jul 02 '24 06:07 twodft