Skip to content

cli: fix negated boolean options not removing implied options #2146

cli: fix negated boolean options not removing implied options

cli: fix negated boolean options not removing implied options #2146

Triggered via pull request January 8, 2026 14:34
Status Failure
Total duration 42m 31s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 30s
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/parallel/test-negative-and-implies-options.js#L12
--- stdout --- Test failure: 'should remove --inspect option when --no-inspect-brk is specified' Location: test/parallel/test-negative-and-implies-options.js:8:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '' - 'inspect-brk\n' at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js:12:12) at async Test.run (node:internal/test_runner/test:1102:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: 'inspect-brk\n', operator: 'strictEqual', diff: 'simple' } Test failure: 'should remove --inspect option when --no-inspect-wait is specified' Location: test/parallel/test-negative-and-implies-options.js:16:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '' - 'inspect-wait\n' at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js:20:12) at async Test.run (node:internal/test_runner/test:1102:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: 'inspect-wait\n', operator: 'strictEqual', diff: 'simple' } Test failure: 'should not affect with only negation option' Location: test/parallel/test-negative-and-implies-options.js:100:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '' - 'inspect-brk\n' at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js:104:12) at async Test.run (node:internal/test_runner/test:1102:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: 'inspect-brk\n', operator: 'strictEqual', 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-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-negative-and-implies-options.js#L12
--- stdout --- Test failure: 'should remove --inspect option when --no-inspect-brk is specified' Location: test/parallel/test-negative-and-implies-options.js:8:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '' - 'inspect-brk\n' at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js:12:12) at async Test.run (node:internal/test_runner/test:1102:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: 'inspect-brk\n', operator: 'strictEqual', diff: 'simple' } Test failure: 'should remove --inspect option when --no-inspect-wait is specified' Location: test/parallel/test-negative-and-implies-options.js:16:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '' - 'inspect-wait\n' at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js:20:12) at async Test.run (node:internal/test_runner/test:1102:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: 'inspect-wait\n', operator: 'strictEqual', diff: 'simple' } Test failure: 'should not affect with only negation option' Location: test/parallel/test-negative-and-implies-options.js:100:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '' - 'inspect-brk\n' at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js:104:12) at async Test.run (node:internal/test_runner/test:1102:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '', expected: 'inspect-brk\n', operator: 'strictEqual', 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-01-082787e6457a-slim/test/parallel/test-negative-and-implies-options.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.6 MB
sha256:4ca919083c101c26570b987df555762fdbf7a8804e67996d9316270edde71eb8