Skip to content

lib: add utf16 fast path for TextDecoder #81162

lib: add utf16 fast path for TextDecoder

lib: add utf16 fast path for TextDecoder #81162

Triggered via pull request February 18, 2026 10:14
Status Failure
Total duration 35m 22s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-whatwg-encoding-singlebyte.mjs#L19
--- stdout --- Test failure: 'iso-8859-16' Location: test/parallel/test-whatwg-encoding-singlebyte.mjs:18:5 RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-8859-16" encoding is not supported at new TextDecoder (node:internal/encoding:492:15) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs:19:21) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1120:25) at Suite.processPendingSubtests (node:internal/test_runner/test:789:18) at Test.postRun (node:internal/test_runner/test:1249:19) at Test.run (node:internal/test_runner/test:1177:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:789:7) { code: 'ERR_ENCODING_NOT_SUPPORTED' } Test failure: 'iso-8859-16' Location: test/parallel/test-whatwg-encoding-singlebyte.mjs:32:5 RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-8859-16" encoding is not supported at new TextDecoder (node:internal/encoding:492:15) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs:33:21) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1120:25) at Suite.processPendingSubtests (node:internal/test_runner/test:789:18) at Test.postRun (node:internal/test_runner/test:1249:19) at Test.run (node:internal/test_runner/test:1177:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:789:7) { code: 'ERR_ENCODING_NOT_SUPPORTED' } Test failure: 'x-user-defined' Location: test/parallel/test-whatwg-encoding-singlebyte.mjs:75:1 RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "x-user-defined" encoding is not supported at new TextDecoder (node:internal/encoding:492:15) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs:77:17) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1120:25) at Test.processPendingSubtests (node:internal/test_runner/test:789:18) at Suite.postRun (node:internal/test_runner/test:1249:19) at Suite.run (node:internal/test_runner/test:1550:10) at async Test.processPendingSubtests (node:internal/test_runner/test:789:7) { code: 'ERR_ENCODING_NOT_SUPPORTED' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs
test-linux (ubuntu-24.04-arm): test/parallel/test-whatwg-encoding-custom-textdecoder.js#L113
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected 'TextDecoder {\n' + " encoding: 'utf-8',\n" + ' fatal: false,\n' + ' ignoreBOM: true,\n' + ' Symbol(flags): 4,\n' + + ' Symbol(handle): Converter {}\n' + - ' Symbol(handle): undefined\n' + '}' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-custom-textdecoder.js:113:10) at Module._compile (node:internal/modules/cjs/loader:1811:14) at Object..js (node:internal/modules/cjs/loader:1951:10) at Module.load (node:internal/modules/cjs/loader:1532:32) at Module._load (node:internal/modules/cjs/loader:1334: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: 'TextDecoder {\n' + " encoding: 'utf-8',\n" + ' fatal: false,\n' + ' ignoreBOM: true,\n' + ' Symbol(flags): 4,\n' + ' Symbol(handle): Converter {}\n' + '}', expected: 'TextDecoder {\n' + " encoding: 'utf-8',\n" + ' fatal: false,\n' + ' ignoreBOM: true,\n' + ' Symbol(flags): 4,\n' + ' Symbol(handle): undefined\n' + '}', operator: 'strictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-custom-textdecoder.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-whatwg-encoding-singlebyte.mjs#L19
--- stdout --- Test failure: 'iso-8859-16' Location: test/parallel/test-whatwg-encoding-singlebyte.mjs:18:5 RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-8859-16" encoding is not supported at new TextDecoder (node:internal/encoding:492:15) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs:19:21) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1120:25) at Suite.processPendingSubtests (node:internal/test_runner/test:789:18) at Test.postRun (node:internal/test_runner/test:1249:19) at Test.run (node:internal/test_runner/test:1177:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:789:7) { code: 'ERR_ENCODING_NOT_SUPPORTED' } Test failure: 'iso-8859-16' Location: test/parallel/test-whatwg-encoding-singlebyte.mjs:32:5 RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "iso-8859-16" encoding is not supported at new TextDecoder (node:internal/encoding:492:15) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs:33:21) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1120:25) at Suite.processPendingSubtests (node:internal/test_runner/test:789:18) at Test.postRun (node:internal/test_runner/test:1249:19) at Test.run (node:internal/test_runner/test:1177:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:789:7) { code: 'ERR_ENCODING_NOT_SUPPORTED' } Test failure: 'x-user-defined' Location: test/parallel/test-whatwg-encoding-singlebyte.mjs:75:1 RangeError [ERR_ENCODING_NOT_SUPPORTED]: The "x-user-defined" encoding is not supported at new TextDecoder (node:internal/encoding:492:15) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs:77:17) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1120:25) at Test.processPendingSubtests (node:internal/test_runner/test:789:18) at Suite.postRun (node:internal/test_runner/test:1249:19) at Suite.run (node:internal/test_runner/test:1550:10) at async Test.processPendingSubtests (node:internal/test_runner/test:789:7) { code: 'ERR_ENCODING_NOT_SUPPORTED' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-singlebyte.mjs
test-linux (ubuntu-24.04): test/parallel/test-whatwg-encoding-custom-textdecoder.js#L113
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected 'TextDecoder {\n' + " encoding: 'utf-8',\n" + ' fatal: false,\n' + ' ignoreBOM: true,\n' + ' Symbol(flags): 4,\n' + + ' Symbol(handle): Converter {}\n' + - ' Symbol(handle): undefined\n' + '}' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-custom-textdecoder.js:113:10) at Module._compile (node:internal/modules/cjs/loader:1811:14) at Object..js (node:internal/modules/cjs/loader:1951:10) at Module.load (node:internal/modules/cjs/loader:1532:32) at Module._load (node:internal/modules/cjs/loader:1334: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: 'TextDecoder {\n' + " encoding: 'utf-8',\n" + ' fatal: false,\n' + ' ignoreBOM: true,\n' + ' Symbol(flags): 4,\n' + ' Symbol(handle): Converter {}\n' + '}', expected: 'TextDecoder {\n' + " encoding: 'utf-8',\n" + ' fatal: false,\n' + ' ignoreBOM: true,\n' + ' Symbol(flags): 4,\n' + ' Symbol(handle): undefined\n' + '}', operator: 'strictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-whatwg-encoding-custom-textdecoder.js
sccache stats
70% - 3403 hits, 1455 misses, 0 errors
sccache stats
81% - 3941 hits, 904 misses, 0 errors