Skip to content

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

Merged
noise64 merged 26 commits into
mainfrom
gol-58-npm-hardening
Aug 28, 2026
Merged

Run npm package-management workflows inside wasm-rquickjs#125
noise64 merged 26 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

This comment has been minimized.

@noise64
noise64 requested a review from vigoo August 27, 2026 11:38
@noise64
noise64 merged commit 29999e6 into main Aug 28, 2026
192 of 196 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