lib: refactor internal webidl converters #84265
Annotations
8 errors, 2 warnings, and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-structuredClone-global.js#L17
--- stderr ---
node:assert:456
throw err;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
code: 'ERR_INVALID_ARG_TYPE',
+ message: "Failed to execute 'structuredClone': transfer in Options cannot be converted to sequence."
- message: "Failed to execute 'structuredClone': transfer in Options can not be converted to sequence."
}
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js:17:8)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Failed to execute 'structuredClone': transfer in Options cannot be converted to sequence.
at codedTypeError (node:internal/webidl:94:15)
at makeException (node:internal/webidl:109:10)
at node:internal/webidl:648:13
at Object.StructuredSerializeOptions (node:internal/webidl:606:32)
at structuredClone (node:internal/worker/js_transferable:118:40)
at assert.throws.code (/home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js:17:21)
at getActual (node:assert:580:5)
at assert.throws (node:assert:728:24)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js:17:8)
at Module._compile (node:internal/modules/cjs/loader:1829:14) {
code: 'ERR_INVALID_ARG_TYPE'
},
expected: {
code: 'ERR_INVALID_ARG_TYPE',
message: "Failed to execute 'structuredClone': transfer in Options can not be converted to sequence."
},
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-internal-webidl-buffer-source.js#L166
--- stdout ---
Test failure: 'BufferSource handles growable SAB-backed views with explicit options'
Location: test/parallel/test-internal-webidl-buffer-source.js:162:1
AssertionError [ERR_ASSERTION]: Missing expected exception.
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-internal-webidl-buffer-source.js:166:14)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1306:25)
at Test.processPendingSubtests (node:internal/test_runner/test:897:18)
at Test.postRun (node:internal/test_runner/test:1447:19)
at Test.run (node:internal/test_runner/test:1372:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:897:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: [Object],
operator: 'throws',
diff: 'simple'
}
Command: out/Release/node --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-internal-webidl-buffer-source.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-internal-webidl.js#L435
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Missing expected exception (TypeError).
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-internal-webidl.js:435:10)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: {
name: 'TypeError',
code: 'ERR_INVALID_ARG_TYPE',
message: 'Prefix: Context is backed by a growable SharedArrayBuffer, which is not allowed.'
},
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-internal-webidl.js
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-structuredClone-global.js#L17
--- stderr ---
node:assert:456
throw err;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
code: 'ERR_INVALID_ARG_TYPE',
+ message: "Failed to execute 'structuredClone': transfer in Options cannot be converted to sequence."
- message: "Failed to execute 'structuredClone': transfer in Options can not be converted to sequence."
}
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js:17:8)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Failed to execute 'structuredClone': transfer in Options cannot be converted to sequence.
at codedTypeError (node:internal/webidl:94:15)
at makeException (node:internal/webidl:109:10)
at node:internal/webidl:648:13
at Object.StructuredSerializeOptions (node:internal/webidl:606:32)
at structuredClone (node:internal/worker/js_transferable:118:40)
at assert.throws.code (/home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js:17:21)
at getActual (node:assert:580:5)
at assert.throws (node:assert:728:24)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js:17:8)
at Module._compile (node:internal/modules/cjs/loader:1829:14) {
code: 'ERR_INVALID_ARG_TYPE'
},
expected: {
code: 'ERR_INVALID_ARG_TYPE',
message: "Failed to execute 'structuredClone': transfer in Options can not be converted to sequence."
},
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-structuredClone-global.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-internal-webidl-buffer-source.js#L166
--- stdout ---
Test failure: 'BufferSource handles growable SAB-backed views with explicit options'
Location: test/parallel/test-internal-webidl-buffer-source.js:162:1
AssertionError [ERR_ASSERTION]: Missing expected exception.
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-internal-webidl-buffer-source.js:166:14)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1306:25)
at Test.processPendingSubtests (node:internal/test_runner/test:897:18)
at Test.postRun (node:internal/test_runner/test:1447:19)
at Test.run (node:internal/test_runner/test:1372:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:897:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: [Object],
operator: 'throws',
diff: 'simple'
}
Command: out/Release/node --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-internal-webidl-buffer-source.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-internal-webidl.js#L435
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Missing expected exception (TypeError).
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-internal-webidl.js:435:10)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: {
name: 'TypeError',
code: 'ERR_INVALID_ARG_TYPE',
message: 'Prefix: Context is backed by a growable SharedArrayBuffer, which is not allowed.'
},
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-internal-webidl.js
|
|
test-linux (ubuntu-24.04-arm)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-linux (ubuntu-24.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
sccache stats
70% - 3459 hits, 1512 misses, 0 errors
|
|
sccache stats
71% - 3543 hits, 1418 misses, 0 errors
|