Fix macOS updater restart loop - #299
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe updater coordinator now manages download and install operation states, centralizes updater error handling, and exposes ChangesUpdater lifecycle
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to The PR stages macOS updates before restart, surfaces updater failures, and bounds installation time to prevent indefinite UI spinning; no actionable merge-blocking risk remains. Sequence Diagram(s)sequenceDiagram
participant IPCHandler
participant updaterCoordinator
participant autoUpdater
IPCHandler->>updaterCoordinator: install()
updaterCoordinator->>autoUpdater: quitAndInstall()
autoUpdater-->>updaterCoordinator: installation error
updaterCoordinator-->>IPCHandler: error state
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Summary
Verification
pnpm test(1327 passed, 12 skipped)pnpm test:updater(15 passed)pnpm typecheckpnpm check:electronSummary by CodeRabbit
New Features
Bug Fixes