Files
hermes-agent/apps
Brooklyn Nicholson 5b0f68b478 fix(desktop): stop a stale cache skipping the app's own update leg
The everything-flow's client leg read `$updateStatus.get() ?? await
checkUpdates()`, so a cached row always won. That row can be up to a
poll interval (30 minutes) old and is captured before the backend leg
runs, so a cached "already current" skipped the client apply entirely —
the stale-GUI gap the flow exists to close.

Re-check first and fall back to the pre-flow snapshot when the live
check can't answer. `checkUpdates()` resolves with an error status
rather than rejecting and overwrites the atom with it, so the snapshot
is taken before any leg runs.

Co-authored-by: Dhana <227747512+whoisdhana@users.noreply.github.com>
2026-09-01 22:33:47 -05:00
..