Skip to content

feat(desktop): add update polling and sidebar prompt - #357

Merged
AprilNEA merged 3 commits into
masterfrom
xuan/code-512
Jul 31, 2026
Merged

feat(desktop): add update polling and sidebar prompt#357
AprilNEA merged 3 commits into
masterfrom
xuan/code-512

Conversation

@AprilNEA

Copy link
Copy Markdown
Member

Summary

  • Check the desktop update feed at startup and every four hours while preserving electron-updater's automatic download and install-on-quit behavior.
  • Replace the native downloaded dialog with a lower-left sidebar notice that offers an immediate restart and the matching GitHub Changelog.
  • Keep updater state queryable through the system IPC bridge so renderer subscription timing cannot lose a downloaded update; preserve the About tab's manual check.
  • Document the release-build update behavior.

Linear: CODE-512

Verification

  • pnpm check:ci
  • pnpm test — 284 files / 2236 tests passed; 1 skipped
  • pnpm -F @linkcode/daemon build
  • pnpm -F @linkcode/desktop run build
  • Launched the built Electron app against the development daemon and observed the updater IPC event, lower-left notice, version, restart action, and matching Changelog URL.

Checklist

  • pnpm check:ci and pnpm test both pass (plus cargo fmt / clippy / test for Rust changes)
  • I ran the affected surface and observed the change working
  • If a wire message changed: WIRE_PROTOCOL_VERSION is bumped — N/A, this changes desktop system IPC only
  • New code and assets are my own work, or their origin and license compatibility are noted above
  • Docs and comments are updated where behavior changed

@linear-code

linear-code Bot commented Jul 31, 2026

Copy link
Copy Markdown

CODE-512

@AprilNEA
AprilNEA marked this pull request as ready for review July 31, 2026 10:49

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c24a2dba52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/desktop/src/main/updater.ts Outdated
@AprilNEA
AprilNEA merged commit 78a99d3 into master Jul 31, 2026
10 checks passed
@AprilNEA
AprilNEA deleted the xuan/code-512 branch July 31, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant