fix(update): auto-install minor bumps so 1.0.x users get updates#3342
Merged
la14-1 merged 1 commit intoOpenRouterTeam:mainfrom Apr 22, 2026
Merged
fix(update): auto-install minor bumps so 1.0.x users get updates#3342la14-1 merged 1 commit intoOpenRouterTeam:mainfrom
la14-1 merged 1 commit intoOpenRouterTeam:mainfrom
Conversation
The 1.0.x → 1.1.0 minor bump blocked auto-update for all users since only patch bumps were auto-installed. Users without SPAWN_AUTO_UPDATE=1 were stuck on 1.0.x and never received the telemetry fix. Version set to 1.0.20 so existing 1.0.x users see it as a patch bump and auto-install it. The new update logic then allows future minor bumps (same major) to auto-install too. Only major bumps (2.0.0+) require SPAWN_AUTO_UPDATE=1. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0774d67 to
ca05fab
Compare
la14-1
approved these changes
Apr 22, 2026
Member
la14-1
left a comment
There was a problem hiding this comment.
Approved. The 1.1.1 → 1.0.20 version shift is intentional as a bridge release: 1.0.x users pick up 1.0.20 as a patch-level auto-update (under the old rules), and with the new logic in this PR they'll then auto-install the next 1.1.x. Clean way to unstick the fleet.
Rest of the change:
isSameMinor→parseSemver(...)[0]major-only check is the right simplification- Tests rewritten to match (minor bumps now auto-install, major bumps still gated on
SPAWN_AUTO_UPDATE=1) SPAWN_NO_AUTO_UPDATE=1escape hatch preserved for pinned CI envs
Shipping.
3 tasks
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.
Summary
SPAWN_AUTO_UPDATE=1opt-inSPAWN_AUTO_UPDATE=1(everyone) were stuck on 1.0.x and never received the telemetry fixTest plan
bun test src/__tests__/update-check— 28 pass, 0 fail🤖 Generated with Claude Code