Repository navigation
improvement(desktop): install updates on one click, asking only about real in-flight work - #9505
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 13 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryReady updates install with one click unless a restart would interrupt detected work.
|
d42c197 to
80f071b
Compare
|
@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 16 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
80f071b to
539c09b
Compare
|
@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 17 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
… real in-flight work - Restart to update installs immediately; the generic Later/Restart dialog is gone - Prompt only when a terminal command, agent action, computer use, or unsaved edit would be interrupted, naming it, with restart as the default - The minimum-version gate never offers to wait - Reopen every app window after an update relaunch - Fix the menu's downloading copy, which promised a prompt that never came
…n update restart - A window that doesn't answer the unsaved-edits check counts as possibly unsaved instead of clean - A running browser-agent action counts as work a restart would interrupt - The queued-send claim is cleared on pagehide only, so the check (or a cancelled unload) can't strand a queued message
… queued browser actions - Read terminal, computer-use, browser and agent activity after the unsaved-edits probes finish, so work started meanwhile still prompts - A browser action waiting in the queue counts as running - A window whose probe errors counts as possibly unsaved, like one that times out
…fore an update restart Shells that announce nothing (fish, sh) now count as busy when their tty's foreground process group is not the shell's own. Live windows are recorded for relaunch without the cap, which only bounds persisted routes on read.
539c09b to
da77a69
Compare
|
@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 18 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Summary
beforeunloadguards). Restart is the default; Not Now keeps the update ready and it still installs on quit{ mandatory: true }and never offers to wait (older shells ignore the option)Type of Change
Testing
apps/desktop/src/main/updater.test.ts(37 pass): one click installs with no dialog; running work prompts once with restart as default; Not Now keepsready+ install-on-quit; mandatory never promptsapps/desktop/e2e/updater.spec.ts(real MacUpdater + real rendererbeforeunload): terminal-only prompt, unsaved-edits prompt, a non-cancelling listener does not count as unsaved, and a clean install shows no dialogupdater.tsfails 8 unit tests and the e2e; forcing the unsaved-edits probe either way fails the e2etsc --noEmit(desktop), biome on changed files; full gate in CIChecklist
test-auditauthoring gate)