Repository navigation
fix(updater): follow the release protocol and only replace installs we own - #1099
Merged
Merged
Conversation
…e own user-agent opencode/dev/<version>, etag revalidation, required:false, same-version builds by sha, mac codesign -R requirement with notarization, windows install.json receipt, DisableUpdates policy, dev channel only
Test build ready — Download
|
This was referenced Nov 25, 2026
Hona
added a commit
that referenced
this pull request
Nov 25, 2026
) #1099 added a dependency to crates/win-install and features/updater. cargo derives a crate's symbol hash from its dependencies' hashes, so those two crates and the crates that depend on them (the app crate among them) got new symbol names, and the committed profiles no longer named their functions. Counts moved onto the new names from an instrumented build of dev (#1113): Windows 15,411 of 15,457 functions kept (3,736 renamed; 37 dropped: their code changed; 9 gone); Apple silicon 15,445 of 15,499 (4,452 renamed; 41 dropped; 13 gone). No code changes.
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.
audited the updater against the release guide's auto-updating rules (dev channel only,
opencode/desktop-rune/dev.json)already fine
https://anoma.ly/release, neverdev.anoma.lyrollout_percentandrequiredhonored, wrong app/artifact/channel rejectedAnomaly Innovations, Inc https://anoma.ly/.devbundle id, windows unsigned/local, linuxlocal)changed
opencode/dev/<version>(wasopencode-rune/<v> (<target>; channel=…)), downloads tooIf-None-Match+ lastETag(304 reuses the cached body), capped at 256 KiBrequired: falseno longer rejects the manifest (vector "required must be a boolean")codesign -Rwith anomaly's developer id requirement for team 5NZ4Q7NXJ4 +notarized(same as hex), and it always expects that team instead of whatever team signed the running appinstall.json(app,artifact,channel,method: "direct",root) into the install root, and the updater carries it into each swapped-in version. installs from older setups get it written when an apps & features entry names their folder. any other copy (zip run in place, unwritable folder) keeps checking but links to the setupDisableUpdates: mac defaults key inanomaly.opencode-rune(user, /Library/Preferences and managed prefs), windowsHKLM/HKCUSOFTWARE\Policies\Anomaly\OpenCode. either turns the updater offOPENCODE_RUNE_UPDATE_CHANNEL, and the mac.stable/.betabundle idsrune-desktopleft in the updater codefollow-ups
<target>-sigfirstanomalyco/releaseregistry/opencode.json) still authorizes publishes fromanomalyco/rune-desktop; github's oidcrepositoryclaim follows the rename, so that needs updating (anddocs/releasing.mdwith it)crates/browser-pane/src/source.rs,opencode-rune/browser-engine/stable.json) sends ureq's default user-agent, left alone hereAnomaly\OpenCode) is my pick, change it if we want one per appchecked with
cargo checkof the updater (linux, windows via xwin, macos on a mac, wasm) andopencode-desktop, clippy--no-deps -D warningson the updater/win-install/setup for linux, windows and macos, andscripts/guardrails.sh. not run live