Skip to content

Unpack the bundled Node tarball for the machine's architecture - #14637

Merged
emirb merged 2 commits into
quattrofrom
install/node-tarball-by-architecture
Oct 8, 2026
Merged

emirb merged 2 commits into
quattrofrom
install/node-tarball-by-architecture

Conversation

@emirb

@emirb emirb commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

An offline install on aarch64 stops at its last step:

Error: bundled Node.js tarball missing from /opt/packages

The aarch64 ISO bundles node-v*-linux-arm64.tar.gz. install/user/mise-work.sh looks for node-v*-linux-x64.tar.gz on every machine.

The change

The tarball name follows uname -m: linux-arm64 on aarch64, linux-x64 everywhere else. x86_64 looks for the same file as before.

This is the same change the n1x branch already carries (from @spencerbull's 6d022e3). The file is now identical on both branches.

How it was found

An unattended install of a generic aarch64 ISO in CI, built from the published edge packages: omarchy-iso run 37849027227. With the n1x version of this file the same install gets past this step.

Tested

  • The lookup picks the right file and version for both architectures.
  • Not run on an x86_64 install here; the x86_64 path is unchanged.

An aarch64 ISO bundles node-v*-linux-arm64.tar.gz, and mise-work.sh
looked for node-v*-linux-x64.tar.gz on every machine. An offline install
on aarch64 stopped at its last step: "Error: bundled Node.js tarball
missing from /opt/packages".

The name now follows uname -m. x86_64 looks for the same file as before.
This is the change the n1x branch already carries, from Spencer Bull's
6d022e3.
@emirb
emirb force-pushed the install/node-tarball-by-architecture branch from 88b96d4 to 057681b Compare October 8, 2026 23:07
@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with the previous test gap addressed and no new actionable issues.

Summary

The installer now selects the bundled Node tarball using the machine’s architecture.

  • aarch64 selects linux-arm64; other machines retain linux-x64.
  • Added tests check both architectures, the extracted version passed to mise, and rejection when the matching tarball is missing.
  • The previous request for architecture tests is fully addressed. No new actionable issues were found.

Reviews (2) · Last reviewed commit: "Test that each architecture unpacks its ..." · Reviewed by Greptile

Comment thread install/user/mise-work.sh Resolved
The existing test runs mise-work.sh in the runtime context, which skips
the bundled tarball altogether. This offers both tarballs to an x86_64
and an aarch64 machine and checks that each unpacks its own and hands
Mise that version, and that a machine with only the other architecture's
tarball fails. Against the old script the aarch64 case fails.
@emirb
emirb merged commit c352b62 into quattro Oct 8, 2026
1 check passed
@emirb
emirb deleted the install/node-tarball-by-architecture branch October 9, 2026 00:14
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
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