Repository navigation
Replies: 2 comments
|
Windows x64 confirmation of the same failure (0.2.1-rc.3 → 0.2.1-rc.5), plus a workaround that worked. Not a download or signature problem. The payload was already downloaded and is intact:
So the 10 s deadline is genuinely the only failure point. Two clarifications that may narrow the root cause:
Workaround (verified, per-user install, no admin rights needed): quit the app completely, then run the already-downloaded installer with the same arguments electron-updater itself uses ( The registry Suggested fixes, in addition to bounding the drain:
|
|
Cross-reference from a fresh Windows reproduction: 0.2.2-rc.1 still ships this bug unchanged. I diffed the shipped
So 0.2.2-rc.1's new I posted the full write-up with the 0.2.2-rc.1 evidence and a timestamped Windows end-to-end run of the Two notes that may be of interest to you specifically:
|
Uh oh!
There was an error while loading. Please reload this page.
Environment
Problem Description
When clicking "Install & Restart" (or "Relaunch to Update") on macOS Desktop, the update modal always fails with:
Error: desktop update: task inspection timed outEven when there are no active agent tasks, no subagents, and no background jobs running, the update inspection consistently times out after 10,000ms.
Root Cause Analysis (Code Inspection)
In
installDesktopUpdateTaskControl:And in the caller (
DesktopUpdateCoordinator.beforeRestart/updateTasks):The Deadlock Mechanism:
/apirequests pass throughconnection/requestwaterfall and are added topendingRequests.updateTasks("lock")is called, it awaitsPromise.all(pendingRequests)to drain all admitted requests.pendingRequestsis never cleared.this.control(...)expires, rejecting withdesktop update: task inspection timed out.Suggested Fix
pendingRequestsdraining, ORPromise.all(pendingRequests)that force-aborts ambient connections rather than letting the whole update inspection fail.All reactions