Skip to content

Npm nixos integration test - #345

Merged
davidabram merged 5 commits into
npm-installer-nonsensefrom
npm-nixos-integration-test
Nov 4, 2026
Merged

davidabram merged 5 commits into
npm-installer-nonsensefrom
npm-nixos-integration-test

Conversation

@davidabram

Copy link
Copy Markdown
Member

No description provided.

davidabram and others added 3 commits November 3, 2026 19:16
Exercise the packed npm installer with the actual release binary while keeping the
stub fixture as the default fast check. Share archive signing, serving, packing,
and installation paths between modes, and assert the installed runtime mode and
launcher resolution before running the CLI.

Document the real-binary options and verification baseline for the follow-on NixOS
VM integration test.

Plan: npm-nixos-vm-integration-test (T01)

Co-authored-by: SCE <sce@crocoder.dev>
Exercise the packed npm package's postinstall flow in a minimal loopback-only NixOS VM as a non-root user with the release binary. Expose the test only as the opt-in x86_64-linux `npm-nixos-vm` package so normal flake checks do not boot a VM, and verify executable modes, launcher resolution, direct shebang execution, and reported version.

Plan: npm-nixos-vm-integration-test (T02)

Co-authored-by: SCE <sce@crocoder.dev>
Exercise the real static release binary's npm package in the expensive
ci-checks tier on x86_64-linux while keeping normal flake checks unchanged.
Link the NixOS VM test into ciChecks and configure Ubuntu PR runners with KVM
and the required Nix system features; document the resulting CI contract.

Plan: npm-nixos-vm-integration-test (T03)

Co-authored-by: SCE <sce@crocoder.dev>
@davidabram
davidabram added this pull request to stack #346 November 3, 2026 19:07
Record completion of the npm-nixos-vm-integration-test plan's T04 work and document the fixture-versus-VM boundary, static-musl rationale, platform coverage, local invocation, and KVM CI requirements. Mark the completed acceptance criteria and task evidence while preserving the outstanding PR CI follow-up.

Co-authored-by: SCE <sce@crocoder.dev>
@davidabram
davidabram force-pushed the npm-nixos-integration-test branch from 41bdb5e to a4611a4 Compare November 3, 2026 19:20
Pass deadlines explicitly to the fake Git runner so error-reporting tests
use COMMIT_PATCH_ID_DEADLINE. Keep the 500 ms deadline confined to the
Linux timeout test that verifies both Git processes are killed.
@davidabram
davidabram merged commit 96d8801 into main Nov 4, 2026
11 checks passed
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