Skip to content

fix(desktop): orchestrate update restarts - #41865

Merged
Hona merged 3 commits into
v2from
desktop-update-flow
Aug 11, 2026
Merged

fix(desktop): orchestrate update restarts#41865
Hona merged 3 commits into
v2from
desktop-update-flow

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • make the updater controller publish the installing state synchronously and coalesce repeated restart requests
  • keep platform-specific staging and Electron lifecycle details behind a dedicated desktop updater adapter
  • wait for native Squirrel staging on macOS before showing an update as ready, and isolate updater IPC from the general desktop IPC controller
  • keep the app usable after update failures and surface install errors in the renderer

Verification

  • bun typecheck (packages/desktop)
  • bun typecheck (packages/app)
  • bun test src/main/updater-controller.test.ts src/main/updater-subscriptions.test.ts (packages/desktop)
  • bun run build (packages/desktop) — main and preload bundles passed; renderer build is blocked on this host because Vite calls the unavailable crypto.hash runtime API
  • bun test src/components/updater-action.test.ts (packages/app) — blocked by the existing Solid server export mismatch (Export named use not found)

Requested by: @Hona (Luke Parker via Slack)

@Hona
Hona merged commit f1399dc into v2 Aug 11, 2026
8 checks passed
@Hona
Hona deleted the desktop-update-flow branch August 11, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant