Skip to content

stream: avoid constructing extra promise in createPromiseCallback #84572

stream: avoid constructing extra promise in createPromiseCallback

stream: avoid constructing extra promise in createPromiseCallback #84572

Triggered via pull request May 1, 2026 18:27
Status Failure
Total duration 6h 5m 20s
Artifacts

test-linux.yml

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

Annotations

11 errors, 1 warning, and 1 notice
test-linux (ubuntu-24.04): test/parallel/test-readable-from-web-enqueue-then-close.js#L20
--- stderr --- node:internal/per_context/primordials:442 primordials.BindPromiseTry = (fn) => FunctionPrototypeBind(OriginalPromiseTry, Promise, fn); ^ TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupWritableStreamDefaultControllerFromSink (node:internal/webstreams/writablestream:1282:5) at new WritableStream (node:internal/webstreams/writablestream:181:5) at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-readable-from-web-enqueue-then-close.js:20:13) at Module._compile (node:internal/modules/cjs/loader:1853:14) at Object..js (node:internal/modules/cjs/loader:1993:10) at Module.load (node:internal/modules/cjs/loader:1576:32) at Module._load (node:internal/modules/cjs/loader:1378:12) Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-readable-from-web-enqueue-then-close.js
test-linux (ubuntu-24.04): test/parallel/test-inspector-network-fetch.js#L0
--- stderr --- Debugger listening on ws://127.0.0.1:41609/499b9fdd-cf15-4ef3-b2b8-681dbf498c80 For help, see: https://nodejs.org/learn/getting-started/debugging node:internal/process/promises:332 triggerUncaughtException(err, true /* fromPromise */); ^ [TypeError: Bind must be called on a function] Node.js v26.0.0-pre Command: out/Release/node --inspect=0 --experimental-network-inspection --expose-internals /home/runner/work/node/node/node/test/parallel/test-inspector-network-fetch.js
test-linux (ubuntu-24.04): test/parallel/test-inspector-network-content-type.js#L0
--- stderr --- Debugger listening on ws://127.0.0.1:39347/572cc733-eada-4c1b-bf29-477d868dbc82 For help, see: https://nodejs.org/learn/getting-started/debugging node:internal/process/promises:332 triggerUncaughtException(err, true /* fromPromise */); ^ [TypeError: fetch failed] { [cause]: TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupReadableByteStreamControllerFromSource (node:internal/webstreams/readablestream:3411:5) at new ReadableStream (node:internal/webstreams/readablestream:273:7) at httpNetworkFetch (node:internal/deps/undici/undici:13531:22) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13378:33) at async httpFetch (node:internal/deps/undici/undici:13200:37) at async mainFetch (node:internal/deps/undici/undici:12961:24) } Node.js v26.0.0-pre Command: out/Release/node --inspect=0 --experimental-network-inspection /home/runner/work/node/node/node/test/parallel/test-inspector-network-content-type.js
test-linux (ubuntu-24.04): test/parallel/test-http2-allow-http1-upgrade-ws.js#L0
--- stderr --- node:internal/process/promises:330 new UnhandledPromiseRejection(reason); ^ UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<_ErrorEvent>". at throwUnhandledRejectionsMode (node:internal/process/promises:330:7) at processPromiseRejections (node:internal/process/promises:413:17) at process.processTicksAndRejections (node:internal/process/task_queues:106:37) { code: 'ERR_UNHANDLED_REJECTION' } Node.js v26.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-http2-allow-http1-upgrade-ws.js
test-linux (ubuntu-24.04): test/parallel/test-filehandle-readablestream.js#L0
--- stderr --- node:internal/per_context/primordials:442 primordials.BindPromiseTry = (fn) => FunctionPrototypeBind(OriginalPromiseTry, Promise, fn); ^ TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupReadableByteStreamControllerFromSource (node:internal/webstreams/readablestream:3411:5) at new ReadableStream (node:internal/webstreams/readablestream:273:7) at FileHandle.readableWebStream (node:internal/fs/promises:350:22) at /home/runner/work/node/node/node/test/parallel/test-filehandle-readablestream.js:21:34 Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-filehandle-readablestream.js
test-linux (ubuntu-24.04): test/parallel/test-filehandle-autoclose.mjs#L0
--- stderr --- node:internal/per_context/primordials:442 primordials.BindPromiseTry = (fn) => FunctionPrototypeBind(OriginalPromiseTry, Promise, fn); ^ TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupReadableByteStreamControllerFromSource (node:internal/webstreams/readablestream:3411:5) at new ReadableStream (node:internal/webstreams/readablestream:273:7) at FileHandle.readableWebStream (node:internal/fs/promises:350:22) at file:///home/runner/work/node/node/node/test/parallel/test-filehandle-autoclose.mjs:9:29 Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-filehandle-autoclose.mjs
test-linux (ubuntu-24.04): test/parallel/test-fetch.mjs#L0
--- stderr --- node:internal/modules/run_main:107 triggerUncaughtException( ^ [TypeError: fetch failed] { [cause]: TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupReadableByteStreamControllerFromSource (node:internal/webstreams/readablestream:3411:5) at new ReadableStream (node:internal/webstreams/readablestream:273:7) at httpNetworkFetch (node:internal/deps/undici/undici:13531:22) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13378:33) at async httpFetch (node:internal/deps/undici/undici:13200:37) at async mainFetch (node:internal/deps/undici/undici:12961:24) } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-fetch.mjs
test-linux (ubuntu-24.04): test/parallel/test-compression-decompression-stream.js#L19
--- stdout --- Test failure: 'should return a predictable inspection string with DecompressionStream' Location: test/parallel/test-compression-decompression-stream.js:18:3 TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupWritableStreamDefaultControllerFromSink (node:internal/webstreams/writablestream:1282:5) at new WritableStream (node:internal/webstreams/writablestream:181:5) at newWritableStreamFromStreamWritable (node:internal/webstreams/adapters:230:10) at newReadableWritablePairFromDuplex (node:internal/webstreams/adapters:711:7) at new DecompressionStream (node:internal/webstreams/compression:154:23) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-compression-decompression-stream.js:19:33) at Test.runInAsyncScope (node:async_hooks:226:14) Test failure: 'should return a predictable inspection string with CompressionStream' Location: test/parallel/test-compression-decompression-stream.js:31:3 TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupWritableStreamDefaultControllerFromSink (node:internal/webstreams/writablestream:1282:5) at new WritableStream (node:internal/webstreams/writablestream:181:5) at newWritableStreamFromStreamWritable (node:internal/webstreams/adapters:230:10) at newReadableWritablePairFromDuplex (node:internal/webstreams/adapters:711:7) at new CompressionStream (node:internal/webstreams/compression:90:23) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-compression-decompression-stream.js:32:31) at Test.runInAsyncScope (node:async_hooks:226:14) Command: out/Release/node --no-warnings --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-compression-decompression-stream.js
test-linux (ubuntu-24.04): test/parallel/test-blob-file-backed.js#L0
--- stderr --- node:internal/per_context/primordials:442 primordials.BindPromiseTry = (fn) => FunctionPrototypeBind(OriginalPromiseTry, Promise, fn); ^ TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupReadableByteStreamControllerFromSource (node:internal/webstreams/readablestream:3411:5) at new ReadableStream (node:internal/webstreams/readablestream:273:7) at new lazyReadableStream (node:internal/blob:100:10) at createBlobReaderStream (node:internal/blob:440:10) at TransferableBlob.stream (node:internal/blob:322:12) at /home/runner/work/node/node/node/test/parallel/test-blob-file-backed.js:100:23 Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-blob-file-backed.js
test-linux (ubuntu-24.04): test/parallel/test-blob.js#L240
--- stderr --- node:internal/per_context/primordials:442 primordials.BindPromiseTry = (fn) => FunctionPrototypeBind(OriginalPromiseTry, Promise, fn); ^ TypeError: Bind must be called on a function at bind (<anonymous>) at node:internal/per_context/primordials:442:40 at createPromiseCallback (node:internal/webstreams/util:168:10) at setupReadableByteStreamControllerFromSource (node:internal/webstreams/readablestream:3411:5) at new ReadableStream (node:internal/webstreams/readablestream:273:7) at new lazyReadableStream (node:internal/blob:100:10) at createBlobReaderStream (node:internal/blob:440:10) at Blob.stream (node:internal/blob:322:12) at /home/runner/work/node/node/node/test/parallel/test-blob.js:234:20 at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-blob.js:240:3) Node.js v26.0.0-pre Command: out/Release/node --no-warnings --expose-internals /home/runner/work/node/node/node/test/parallel/test-blob.js
test-linux (ubuntu-24.04-arm)
The job has exceeded the maximum execution time of 6h0m0s
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
81% - 4012 hits, 950 misses, 0 errors