You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
Bug FixesKind: in v2.1.265,
Bug FixesSection of the release
What
If Claude Code is in the middle of refreshing its OAuth login token (the credential used to authenticate with Anthropic) when the process tries to exit, it now waits for that refresh to finish first, up to a timeout, instead of exiting immediately. If the refresh doesn't finish in time, Claude Code logs a message and records a telemetry event, then exits anyway.
Why
This avoids exiting mid-refresh, which could otherwise leave the saved credentials in an inconsistent state.