Repository navigation
Expire the connecting banner when the daemon never catches up - #979
Conversation
PR Summary by QodoExpire stalled daemon catch-up banners after 60 seconds
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
An unbounded catch-up line hides Sign in while the daemon 401-retries; 60s is longer than one 30s connect backoff.
26cbff0 to
c89a7ff
Compare
Stop/restart bumps a generation and records a deadline so a queued OnCatchUpElapsed action cannot time out a newly armed window.
|
Addressed both Qodo findings:
|
AI-2877 — no GitHub issue
What & why
A live app lane plus a daemon that never reaches
connectedkept the launcher on "Connecting to the server…" with Sign in hidden: catch-up after auth looks identical to a daemon that 401-retries forever. After 60s (longer than one 30s connect backoff) that line becomes the lost-session notice and Sign in is offered. A daemon that connects inside the bound still clears the banner.Where to look
HomeViewModelcatch-up timer andNoticeAfterCatchUp. The pre-bound catch-up tests must still hide Sign in.Verification
82 passed, including four new catch-up-bound cases.