Startup refreshes your token first so feature flags don't load with stale credentials.
What's wrong with this entry?
At startup, Claude Code now attempts an OAuth token refresh, bounded by a 5 second timeout, before creating the feature-flag client and resolving its auth headers. Previously a stale token could produce an unauthenticated flag fetch at startup. Failures are logged at debug level (recording 'timeout' or the error name) and startup continues either way.
- Runs only once workspace trust is established.
GrowthBook pre-init OAuth refresh
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Startup prefetch failures no longer surface
Both mention startup
-
v2.1.239
Deleted working directories are detected at startup and handled during hooks
Both mention startup
-
v2.1.242
A socket path taken by another running Claude Code no longer breaks startup
Both mention startup