Skip to content

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

cli: fix negated boolean options not removing implied options

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

Triggered via pull request January 8, 2026 06:52
Status Failure
Total duration 39m 44s
Artifacts 1

test-shared.yml

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

Annotations

8 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-config-file.js#L120
--- stdout --- Test failure: 'should not override NODE_OPTIONS' Location: test/parallel/test-config-file.js:108:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX/. Input: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/modules/cjs/loader:1734:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1777:20)\n' + ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' + ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' + ' at TracingChannel.traceSync (node:diagnostics_channel:328:14)\n' + ' at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)\n' + ' at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)\n' + ' at node:internal/main/run_main_module:33:47\n' + '\n' + 'Node.js v26.0.0-pre\n' at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/parallel/test-config-file.js:120:10) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1102:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/modules/cjs/loader:1734:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1777:20)\n' + ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' + ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' + '...', expected: /ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX/, operator: 'match', diff: 'simple' } Test failure: 'should not override CLI flags' Location: test/parallel/test-config-file.js:125:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX/. Input: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/modules/cjs/loader:1734:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1777:20)\n' + ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' + ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' + ' at TracingChannel.traceSync (node:diagnostics_channel:328:14)\n' + ' at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)\n' + ' at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)\n' + ' at node:internal/main/run_main_module:33:47\n' + '\n' + 'Node.js v26.0.0-pre\n' at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/parallel/test-config-file.js:133:10) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1102:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/module
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-08b378cccdf4-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-08b378cccdf4-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-08b378cccdf4-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-08b378cccdf4-slim/test/parallel/test-negative-and-implies-options.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-config-file.js#L120
--- stdout --- Test failure: 'should not override NODE_OPTIONS' Location: test/parallel/test-config-file.js:108:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX/. Input: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/modules/cjs/loader:1734:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1777:20)\n' + ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' + ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' + ' at TracingChannel.traceSync (node:diagnostics_channel:328:14)\n' + ' at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)\n' + ' at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)\n' + ' at node:internal/main/run_main_module:33:47\n' + '\n' + 'Node.js v26.0.0-pre\n' at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/parallel/test-config-file.js:120:10) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1102:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/modules/cjs/loader:1734:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1777:20)\n' + ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' + ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' + '...', expected: /ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX/, operator: 'match', diff: 'simple' } Test failure: 'should not override CLI flags' Location: test/parallel/test-config-file.js:125:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX/. Input: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/modules/cjs/loader:1734:18)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1777:20)\n' + ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' + ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' + ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' + ' at TracingChannel.traceSync (node:diagnostics_channel:328:14)\n' + ' at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)\n' + ' at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)\n' + ' at node:internal/main/run_main_module:33:47\n' + '\n' + 'Node.js v26.0.0-pre\n' at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/parallel/test-config-file.js:133:10) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1102:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '/home/runner/work/_temp/node-v26.0.0-nightly2026-01-08b378cccdf4-slim/test/fixtures/typescript/ts/transformation/test-enum.ts:1\n' + 'enum Foo {\n' + '^^^^\n' + '\n' + 'SyntaxError: Unexpected reserved word\n' + ' at wrapSafe (node:internal/module
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-08b378cccdf4-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-08b378cccdf4-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-08b378cccdf4-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-08b378cccdf4-slim/test/parallel/test-negative-and-implies-options.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.6 MB
sha256:ea56a2f306208d7a78199cdc2858d73667327f327c6d189c088403ddb200a264