Skip to content

feat(desktop): pick the update channel in the app - #9

Merged
nixuuu merged 1 commit into
devfrom
feat/desktop-update-channel
Nov 3, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/desktop-update-channel

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 3, 2026

Copy link
Copy Markdown
Member

One Canopy install replaces the separate Stable/Beta/Nightly products. Settings → App updates (desktop only) stores the update channel locally, shows the version and download progress, checks for releases and restarts into an update. Moving to a more stable channel asks for native confirmation of a one-off downgrade, with the data-compatibility risk spelled out (allowDowngrade only for that attempt).

Channel Gets Feed
Stable stable latest
Beta stable, beta beta
Nightly stable, beta, nightly nightly

Feeds are cumulative and the highest semver wins; a stable release publishes the latest/beta/nightly aliases, a beta beta/nightly. Each release ships one Canopy artifact set, macOS ZIP/blockmaps, manifest and checksums. The installed build's icon tint stays.

Existing Canopy Beta/Nightly installs (e.g. 0.2.0-nightly.2) need a one-time manual install of Canopy (Squirrel can't change the bundle identity); their data stays untouched, no automatic import. The desktop channel is independent of the gateway/worker update channel.

Checks: bun install, typecheck, gen:check, actionlint, production web/desktop builds; AppImage and deb for all three channels (identity, names, SHA-512, feed aliases, manifests); six update tests with real electron-updater against a local feed server; check:tmp 662 pass / 0 fail. Rebased on dev (#5–#8): typecheck, web and desktop builds, release script tests and actionlint pass again.

To confirm on a Mac: signing/notarization/Gatekeeper, Squirrel install of the ZIP, channel switches with Cancel/downgrade consent, data preserved.

@nixuuu
nixuuu merged commit a83a8da into dev Nov 3, 2026
2 checks passed
@nixuuu
nixuuu deleted the feat/desktop-update-channel branch November 3, 2026 14:11
nixuuu added a commit that referenced this pull request Nov 20, 2026
## Summary

- Keep Nightly updates on the Nightly feed. Verify commit ancestry
before desktop downloads and before standalone binaries switch channels.
- Stabilize one Beta series on `next` while Nightly advances to the
following minor. Publish Stable from the exact tested Beta commit after
its observation period.
- Automatically re-plan superseded drafts and recover a qualifying
missing Release run. Serialize publication and promotion, and back-merge
published Beta fixes into `dev`.
- Filter historic Nightly aliases from the public catalog so older
desktop builds on Nightly skip Stable and Beta entries.

Fixes: #9
Refs: a07ddcd

## Verification

- Focused Desktop updater, gateway and worker update, release numbering,
publication, promotion, recovery, and back-merge tests passed locally.
- Targeted typechecks, lint, formatting, and `git diff --check` passed
during implementation. The required CI checks verify the rebased
revision.
- Checked App updates in Chromium with the desktop bridge fixture at
desktop and phone widths in light and dark themes. Selecting Beta kept
the installed Nightly version visible and showed the waiting status.
- Copy audit passed for the affected setting. The Nightly description
reflects development builds, and the setting no longer promises a
downgrade confirmation.
- Native mobile applicability reviewed. Expo OTA uses the channel
embedded in the installed mobile build. The desktop channel selector
belongs to the Electron app, while the native remote Updates panel uses
the existing gateway actions.
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