test: skip the unseeded-shrinkwrap mutation on an npm without the ENOTCACHED defect #117
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/shrinkwrap-test-npm12"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Second and last blocker for the 0.10.0 release test run. The shrinkwrap money test proves seedShrinkwrapCacheIndex is what makes the seeded cases pass by swallowing the seed run and expecting npm ci --offline to fail ENOTCACHED on the shrinkwrapped sibling. That failure is npm's own defect, and npm 12 installs the unseeded fixture offline without complaint, reproduced here on 12.2.1. On such a host the mutation subtest now skips naming the npm version instead of failing. Seeding itself stays, since realize runs under the backend's npm and both the pinned node:24 image and the guix node package bundle npm 11. Verified under npm 12.2.1 and 11.17.0, full suite, vet and golangci-lint clean. Test-only change, no changelog entry. 🤖 Generated with Claude Code