Skip to content

Run npm package-management workflows inside wasm-rquickjs - #125

Open
noise64 wants to merge 21 commits into
mainfrom
gol-58-npm-hardening
Open

Run npm package-management workflows inside wasm-rquickjs#125
noise64 wants to merge 21 commits into
mainfrom
gol-58-npm-hardening

Conversation

@noise64

@noise64 noise64 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
  • resolves GOL-58
  • runs the Node 22.14/npm 10.9.2 CLI inside fresh asynchronous execution jobs with isolated argv, environment, cwd, output, exit status, cancellation, and timeout behavior
  • covers local and deterministic-registry installs, npm ci, offline cache restoration, dependency selection, tree inspection and mutation, init, pack dry-run, and compatible JavaScript lifecycle and run scripts
  • persists package, lockfile, cache, and node_modules changes for later fresh jobs, including a transform-enabled TypeScript workspace importing an installed JavaScript dependency
  • fills the runtime primitives npm requires across Buffer, zlib, v8, URL, module loading, child-process emulation, HTTP, and runtime services
  • rejects native addons, unavailable host executables, arbitrary shell behavior, and unsupported custom raw-socket transports explicitly
  • documents the supported command, flag, package, and npm/npx compatibility matrix
  • TODO: GOL-388 will add real-symlink package identity and successful persisted .bin, npm exec, npx, workspace, npm-link, and pnpm-style workflows

Node compatibility

  • primary CI-enforced: 3236/4425 (73.1%)3236/4411 (73.4%)
  • full-public passing count: unchanged at 3236
  • node:http: 246 passing unchanged; 14 custom-transport cases move from known-gap to WASI-impossible
  • no compatibility success is claimed for the reclassified raw-socket surfaces

@blacksmith-sh

This comment has been minimized.

@noise64 noise64 changed the title Harden npm and npx compatibility Run npm package-management workflows inside wasm-rquickjs Aug 11, 2026
@noise64
noise64 force-pushed the gol-58-npm-hardening branch from c6e8019 to ffbbee8 Compare August 24, 2026 10:32
@blacksmith-sh

blacksmith-sh Bot commented Aug 26, 2026

Copy link
Copy Markdown

Found 16 test failures on Blacksmith runners:

Failures

Test View Logs
subtest sync throw fail/+sync throw fail View Logs
subtest sync throw fail/+sync throw fail View Logs
subtest sync throw fail/+sync throw fail View Logs
subtest sync throw fail/+sync throw fail View Logs
subtest sync throw fails/sync throw fails at first View Logs
subtest sync throw fails/sync throw fails at first View Logs
subtest sync throw fails/sync throw fails at first View Logs
subtest sync throw fails/sync throw fails at first View Logs
subtest sync throw fails/sync throw fails at second View Logs
subtest sync throw fails/sync throw fails at second View Logs

...and 6 more test failures. View all on Blacksmith

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

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