Skip to content

Fail fast on unsupported installer runtimes#43

Merged
ericksoa merged 1 commit into
NVIDIA:mainfrom
aircloudy-co:fix/install-preflight
Mar 17, 2026
Merged

Fail fast on unsupported installer runtimes#43
ericksoa merged 1 commit into
NVIDIA:mainfrom
aircloudy-co:fix/install-preflight

Conversation

@areporeporepo

Copy link
Copy Markdown
Contributor

Summary

  • add explicit Node.js/npm runtime preflight checks to both installer entrypoints before any npm install step runs
  • fail with a single clear error that states the minimum supported runtime and the recommended Node.js version
  • document the supported Node.js/npm versions in the README prerequisites
  • add a regression test that simulates Node.js 18 + npm 9 and proves the root installer exits early with the preflight message

Linked issue

Fixes #10

Verification

  • npm test

@ericksoa ericksoa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Verified all four acceptance criteria from #10 are met: preflight checks in both installers, clear fail-fast error message with detected + required versions, README prerequisites updated, and regression test covers Node 18 + npm 9. One minor note: root install.sh skips upgrade if Node exists (even if 18) while scripts/install.sh actively installs 22 — not a blocker, just worth knowing.

@ericksoa ericksoa merged commit b82f916 into NVIDIA:main Mar 17, 2026
jessesanford pushed a commit to jessesanford/NemoClaw that referenced this pull request Mar 24, 2026
Fail fast on unsupported installer runtimes
mafueee pushed a commit to mafueee/NemoClaw that referenced this pull request Mar 28, 2026
## Summary
- add a Docker-based macOS arm64 wheel build path so darwin wheels can be produced from Linux CI hosts
- wire macOS wheel builds into release publish workflows (`publish:main` and `publish:tag`) alongside existing Linux wheel builds
- mirror `crazymax/osxcross:latest` into `$CI_REGISTRY_IMAGE/third_party/osxcross:latest` and use that mirrored image in CI publish jobs

## Scope Notes
- this MR focuses on shipping reliable macOS wheel build support first
- temporary MR-only smoke-job wiring was removed after validation so the branch reflects final intended CI behavior
- broader cache optimization work is tracked separately in issue NVIDIA#43

## Test Plan
- run `mise run pre-commit`
- validate `.gitlab-ci.yml` with `uv run --with pyyaml python -c 'import yaml, pathlib; yaml.safe_load(pathlib.Path(".gitlab-ci.yml").read_text())'`
@wscurran wscurran added the bug-fix PR fixes a bug or regression label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PR fixes a bug or regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add installer preflight checks for supported Node.js and npm versions

3 participants