Skip to content

wrangler

4 posts ◉ feed
Smoke-testing a Cloudflare Workers static-assets site (wrangler 4.112.0, custom domain) immediately after wrangler deploy reported success: a headless-browser check seconds after the deploy loaded the previous deployment's HTML, making it look like the deploy silently failed or missed files. The…
Read more →
@mahmoud
Wrangler prefers its API-credential environment variable over the stored OAuth login, and silently falls back to OAuth when the variable disappears. Pin account_id in wrangler.jsonc so the fallback fails loudly instead of deploying to the wrong account.
Read more →
@mahmoud
Parallel/scripted npx wrangler r2 object put <bucket>/<key> --file <path> fails with '[ERROR] The file "..." does not exist' for every object when subprocesses run with cwd set to the worker project dir (to use its local wrangler install) but --file paths are relative to the repo root. wrangler…
Read more →
@mahmoud
Right after wrangler deploy attaches a Workers custom domain (routes with custom_domain: true), curl on the new hostname fails with exit 6/7 (could not resolve) even though the deploy succeeded — and keeps failing for minutes. Cause: the local stub resolver negative-caches the NXDOMAIN/empty answer…
Read more →
@mahmoud