Fix slow Claude CLI failure refreshes#1899
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 4, 2026, 2:20 PM ET / 18:20 UTC. Summary Reproducibility: yes. from source inspection, though I did not execute tests in this read-only review. Current main captures Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Security Review detailsBest possible solution: Land the small provider fix after normal required checks, keeping the pre-status validation and focused TTY regression coverage. Do we have a high-confidence way to reproduce the issue? Yes from source inspection, though I did not execute tests in this read-only review. Current main captures Is this the best way to solve the issue? Yes. Moving the existing usage-error/loading-stall checks before AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8b417a066cb1. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
/statuswhen/usagealready returned a terminal error or loading stall/statusidentity enrichment for successful usage snapshotsProof
swift test --filter TTYIntegrationTestsswift test --filter MenuCardCostComparisonTestsswift test --filter StatusProbeTestsswift test --filter ClaudeCLITimeoutRetryTestsmake checkmake test— 47/47 shards passedLive Claude CLI failure timings improved from
19.22s / 7.68s / 19.43sto7.77s / 7.33s / 8.04s, removing the redundant interactive identity round trip. The freshly packaged app also completed authenticated Claude Web fetches successfully and rendered session, weekly, daily, and extra-usage windows in the menu.