Unclear It is not clear what uses the reconnect count or what the maximum number of reconnects is.
What
When a request to the API fails, Claude Code keeps a budget of how many more times it may retry. This release adds a separate budget for reconnecting after the network goes down:
- If a request gets no response and the failure is flagged
networkDown, Claude Code retries as long as its reconnect count is belowmaxReconnects. Each such retry adds one to a newreconnectscounter. Before, these failures went through the general failure handler. - The retry tracker now reports
reconnectsLeft, calculated frommaxReconnects. Before, it had onlyretriesLeftandsleptThroughLeft.
Why
A brief network drop now uses its own retries instead of the general ones. This should help requests survive dropped connections, while maxReconnects caps how many times Claude Code tries to reconnect.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear what uses the reconnect count or what the maximum number of reconnects is.