Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 063b804 and af4f2ba313a62389ed56753df54fdba5e8f98dec. 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change adds Merge Risk: 🟡 Moderate · up to In serve mode, the new quit handling can keep the runtime alive not only for desktop Cmd+Q but also for signal-driven shutdown paths, so SIGINT or SIGTERM may fail to terminate the process cleanly. This shutdown risk should be fixed or explicitly accepted before merging. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 18347f9a-7d48-427e-897e-5a076d5d0774
📥 Commits
Reviewing files that changed from the base of the PR and between d7a23c8 and 58427116ff3c84bdc68512e364da1875d1a03f88.
📒 Files selected for processing (3)
src/main/index.tssrc/main/startup/window-all-closed-quit-policy.test.tssrc/main/startup/window-all-closed-quit-policy.ts
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
5842711 to
af4f2ba
Compare
Sync update (
|
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
af4f2ba to
7a912a3
Compare
Description
On macOS, ⌘Q on a desktop window hosted by
orca serveno longer tears down the headless runtime or drops paired remotes.shouldQuitWhenAllWindowsClosedalready keeps serve mode alive for window close.before-quitnow uses the same contract: desktop Quit becomes window-close unless an update install is in progress.Focused fix
before-quitin serve mode (⌘Q / app.quit from a hosted window)Preserves
isQuittingForUpdate)Evidence
pnpm exec vitest run --config config/vitest.config.ts src/main/startup/window-all-closed-quit-policy.test.ts src/main/startup/desktop-startup-ordering.test.ts→ 19 passedUser-regression-tradeoffs
Fixes #15537