fix(desktop): replace a stale staged update with the newest release - #8186
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
All reported issues were addressed across 3 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
|
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 4 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
ready, the updater stopped checking. A shell left running across several releases installed the stale staged build on restart, then immediately offered the next one — so users updated twice in a rowreadyupdates now keep re-checking on the normal cadence; a strictly newer release downloads in the background and replaces the staged one (Squirrel.Mac keeps the staged bundle while re-checking, andrelaunchToInstallUpdateinstalls whatever is staged, so restarting mid-replacement stays safe)ready/availableupdate: equal versions,update-not-available, network errors, and failed replacement downloads all keep the current updateavailableoffers (auto-download off, and manual-download builds) also refresh to the newest release so "Update" never fetches a superseded versionType of Change
Testing
tsc, lint, andcheck:auditspassChecklist
🤖 Generated with Claude Code