Repository navigation
feat(updater): quit Orca from staged update recovery - #47770
Merged
orca-remote-automation[bot] merged 2 commits intoNov 23, 2026
Merged
orca-remote-automation[bot] merged 2 commits into
orca-remote-automation[bot] merged 2 commits into
Conversation
orca-remote-automation
Bot
requested a review
from brennanb2025
as a code owner
November 23, 2026 18:54
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
When a macOS update is staged but automatic restart can't finish, the update card and Settings now offer a direct Quit Orca action. Previously they only told the user to restart manually.
Why
Staged macOS updates install when Orca quits normally. Asking users to find Quit themselves added a step at the moment recovery matters. Checked against how comparable products handle this.
How
app:quitIPC. It callsquitFromUserCommand, the same ordinary quit the app menu and tray use. Unsaved-work prompts, close guards, and quit vetoes still apply and can cancel it. A cancelled quit resets quit state and leaves the recovery in place. In serve mode the existing behavior is kept: only the desktop windows close.isTrustedUIRenderer) and only its main frame (senderFrame === sender.mainFrame).app-quit-request.test.tscovers this boundary and fails if either check is removed.installOnQuit), the restart action where automatic restart works, or Windows/Linux recovery.Tests
pnpm check:changed: 42 checks passed.pnpm test src/main/ipc/renderer-requests/app-quit-request.test.ts: 1 passed.Performance
One IPC handler is registered once at startup, and each click makes a single invoke into the existing quit path. There is no polling, timer, subprocess, disk I/O, or new store subscription. Render cost is unchanged on surfaces that already re-render on update status.
Known limits