Skip to content

watch: strip watch flags from NODE_OPTIONS in child process #4039

watch: strip watch flags from NODE_OPTIONS in child process

watch: strip watch flags from NODE_OPTIONS in child process #4039

Triggered via pull request March 8, 2026 15:43
Status Failure
Total duration 1h 14m 56s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 46s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/sequential/test-watch-mode.mjs#L980
--- stdout --- Test failure: 'should not strip --watch when it appears inside a quoted NODE_OPTIONS value' Location: test/sequential/test-watch-mode.mjs:959:3 AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: assert.ok(stdout.some((line) => line.includes('required:true'))) at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-08afc8ac0576-slim/test/sequential/test-watch-mode.mjs:980:14) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1208:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:831:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-08afc8ac0576-slim/test/sequential/test-watch-mode.mjs
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/sequential/test-watch-mode.mjs#L980
--- stdout --- Test failure: 'should not strip --watch when it appears inside a quoted NODE_OPTIONS value' Location: test/sequential/test-watch-mode.mjs:959:3 AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: assert.ok(stdout.some((line) => line.includes('required:true'))) at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-08afc8ac0576-slim/test/sequential/test-watch-mode.mjs:980:14) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1208:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:831:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-08afc8ac0576-slim/test/sequential/test-watch-mode.mjs

Artifacts

Produced during runtime
Name Size Digest
tarballs
48.3 MB
sha256:ca9dbe90ba2cec1c47df4d4cad2dc0c6fbbefcbf27b06a3403330680ca95f2e5