New CLAUDE_CODE_FLAG_FETCH_WAIT_MS env var sets how long startup waits for feature flags on relaunch
A new environment variable, CLAUDE_CODE_FLAG_FETCH_WAIT_MS, controls how long Claude Code will wait at startup for its feature flags (fetched via GrowthBook) to load when the session is a relaunch. If unset, it defaults to 3000 milliseconds. Startup also separately waits a fixed amount if event logging is enabled and its cache is empty. The relaunch condition itself is limited to cases involving CLAUDE_CODE_REMOTE.
This gives more control over the tradeoff between startup speed and having up-to-date feature flags immediately available when a session relaunches, and Claude Code now reports whether that wait timed out.
The finding does not say what happens differently if the wait times out versus succeeds.
New in this build: CLAUDE_CODE_FLAG_FETCH_WAIT_MS