Skip to content

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

watch: strip watch flags from NODE_OPTIONS in child process

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

Triggered via pull request April 9, 2026 10:28
Status Failure
Total duration 1h 12m 25s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
2m 35s
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#L981
--- stdout --- Test failure: 'should not strip --watch when it appears inside a quoted NODE_OPTIONS value' Location: test/sequential/test-watch-mode.mjs:960: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-04-091bc177e937-slim/test/sequential/test-watch-mode.mjs:981:14) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1279:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:887: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-04-091bc177e937-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#L981
--- stdout --- Test failure: 'should not strip --watch when it appears inside a quoted NODE_OPTIONS value' Location: test/sequential/test-watch-mode.mjs:960: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-04-091bc177e937-slim/test/sequential/test-watch-mode.mjs:981:14) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1279:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:887: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-04-091bc177e937-slim/test/sequential/test-watch-mode.mjs

Artifacts

Produced during runtime
Name Size Digest
tarballs
48.9 MB
sha256:97b2bf13292e1fdbf5f6908195af142a4d75acd443f7c71e8c8dbece6768d1ba