Closed thibault-deriv closed 2 years ago
Agh! So sorry. I made the assumption that CI runs would be non-interactive, which causes the Wrangler metrics to noop. I can see that CircleCI is running in an interactive mode, so we need to have a better check. I'll get a fix out today.
It would be great, thank you so much
Here's the fix https://github.com/cloudflare/wrangler2/pull/1482
What version of
Wrangler
are you using?2.0.21
What operating system are you using?
Linux
Describe the Bug
Hello :smiley:
First, thank you for wrangler2 :+1:
With wrangler@2.0.21, the client is asking for (y/n) about metrics that makes CircleCI fails:
2.0.21
2.0.19
You can highlight this issue with this CircleCI config (add
CLOUDFLARE_API_TOKEN
andCLOUDFLARE_ACCOUNT_ID
secrets in settings):wrangler@2.0.19 is fine.
2.0.21 versus 2.0.19
I see from documentation that we can configure the option in wrangler.toml, but I think it would be better to do not ask at all when detecting it's running in CI (like
npx
does, no idea how exactly) and even in a more general manner probably to do not make wrangler fails for such a side tasks (upload was OK).Thank you in advance!
Thibault