What
WebFetch requests now have a deadline enforced on them. The deadline comes from the CLAUDE_CODE_WEBFETCH_DEADLINE_MS environment variable if it's set, otherwise from a remote configuration value, capped at a maximum. If a fetch doesn't complete within that time, it's aborted and fails with a "Fetch did not complete within the deadline" error.
Why
This prevents a WebFetch call from hanging indefinitely, giving a clear, specific error when a fetch takes too long instead of leaving it to stall.
Names in the bundleCLAUDE_CODE_WEBFETCH_DEADLINE_MS
Flag reading moved
The flag server now returns 300000 for tengu_webfetch_deadline_ms, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns nothing at all, having stopped carrying it for tengu_webfetch_deadline_ms, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's release notes agree
Fixed WebFetch hanging indefinitely on a server that keeps the response open without finishing; a fetch now fails after 300 seconds. Set…
The name it cites is new in this build
New in this build: CLAUDE_CODE_WEBFETCH_DEADLINE_MS