Skip to content

Loosen the offline Node pin so mise up tracks new releases - #11656

Merged
dhh merged 1 commit into
quattrofrom
loosen-offline-node-pin
Sep 18, 2026
Merged

dhh merged 1 commit into
quattrofrom
loosen-offline-node-pin

Conversation

@dhh

@dhh dhh commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Offline installs (ISO chroot and provision-owner) unpack the bundled Node tarball and run mise use -g node@$NODE_VERSION, which writes an exact pin like node = "26.7.0" into the global mise config. That's necessary at install time — latest can't be resolved without network — but nothing ever loosened it afterward. The result: every offline-installed machine has Node frozen at the ISO's version and silently exempt from mup/mise up, while online installs write node = "latest" and track new releases.

The fix rewrites the pin to latest right after registering the bundled version. Verified that this is safe for offline installs: with networking blocked (unshare -rn) and an empty mise cache, node = "latest" still resolves to the installed version — activation, mise x, and bin-paths all work. The first mise up with network then picks up new releases exactly like an online install.

🤖 Generated with Claude Code

https://claude.ai/code/session_017LseZ1jcLaFBnndRnW4yb5

Offline installs unpack the bundled tarball and pin Node to its exact
version, since latest can't be resolved without network. But nothing ever
loosened that pin, so Node stayed frozen at the ISO's version and mup
skipped it forever, while online installs tracked latest.

Rewrite the pin to latest right after registering the bundled version:
mise resolves latest to the installed version while offline (verified
with no network and an empty cache), and the first mise up with network
picks up new releases just like an online install.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017LseZ1jcLaFBnndRnW4yb5
@dhh
dhh requested a review from ryanrhughes as a code owner September 13, 2026 10:11
@csfh

csfh commented Sep 13, 2026

Copy link
Copy Markdown
Member

LGTM

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.

2 participants