GitHub CLI sign-in is checked with a quick local command instead of a silent network call.
What's wrong with this entry?
Claude Code now checks whether your gh is signed in by running gh auth token with a 5 second timeout, classifying the result as not installed, authenticated, not authenticated or unknown. An older gh without that subcommand reports unknown instead of quietly making a network call.
- Parsing
gh auth statusis only used when the caller passesallowNetworkFallbackForOldGh.
this GitHub CLI version has no gh auth token``
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.229
OAuth token warning no longer tells you to unset the variable
Both mention auth token
-
v2.1.234
The CLAUDE_CODE_OAUTH_TOKEN login warning can arrive as its own message
Both mention auth token
-
v2.1.234
Setup-token lifetime is plumbed through but always 365 days
Both mention auth token