Repository navigation
feat(desktop): pick the update channel in the app - #9
Merged
Merged
Conversation
This was referenced Nov 13, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 (
allowDowngradeonly for that attempt).latestbetanightlyFeeds are cumulative and the highest semver wins; a stable release publishes the
latest/beta/nightlyaliases, a betabeta/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:tmp662 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.