feat: implement h2c client #16040
nodejs.yml
on: pull_request
Matrix: test-without-intl
Matrix: test
dependency-review
9s
Lint
37s
Fuzzing
32s
Test TypeScript types
37s
Test with SQLite enabled
32s
automerge
0s
Annotations
63 errors and 69 notices
Fuzzing
Process completed with exit code 1.
|
test/trailers.js:
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js:
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-cert-leak.js:
test/tls-cert-leak.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js:
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js:
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js:
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js:
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js:
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js:
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js:
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/trailers.js:
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js:
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-cert-leak.js:
test/tls-cert-leak.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js:
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js:
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js:
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js:
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js:
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js:
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js:
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/trailers.js:
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js:
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-cert-leak.js:
test/tls-cert-leak.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js:
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js:
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js:
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js:
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js:
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js:
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js:
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/trailers.js:
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js:
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-cert-leak.js:
test/tls-cert-leak.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js:
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js:
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js:
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js:
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js:
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js:
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js:
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/trailers.js:
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js:
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-cert-leak.js:
test/tls-cert-leak.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js:
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js:
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js:
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js:
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js:
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js:
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js:
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
SqliteCacheStore works nicely with multiple stores:
test\cache-interceptor\sqlite-cache-store-tests.js#L23
[Error [ERR_TEST_FAILURE]: failed running after hook] { code: 'ERR_TEST_FAILURE', failureType: 'hookFailed', cause: [Error: EBUSY: resource busy or locked, unlink 'D:\a\undici\undici\cache-interceptor.sqlite'] { errno: -4082, code: 'EBUSY', syscall: 'unlink', path: 'D:\\a\\undici\\undici\\cache-interceptor.sqlite' } }
|
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Process completed with exit code 1.
|
test/trailers.js:
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js:
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-cert-leak.js:
test/tls-cert-leak.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js:
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js:
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js:
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js:
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js:
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js:
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js:
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
Test with SQLite enabled
Total Tests: 37
Suites 📂: 5
Passed ✅: 37
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 157.453ms
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest:
test/client-node-max-header-size.js#L1
Error: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "require('.').request('http://localhost:37267')"
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1055:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Module.require (node:internal/modules/cjs/loader:1311:12)
at require (node:internal/modules/helpers:136:16)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1554:14)
at Object..js (node:internal/modules/cjs/loader:1706:10)
at Module.load (node:internal/modules/cjs/loader:1289:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v22.14.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest:
test/client-node-max-header-size.js#L1
Error: Test "--max-http-header-size with Client API" at test/client-node-max-header-size.js:45:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "new (require('.').Client)(new URL('http://localhost:200'))"
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1055:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Module.require (node:internal/modules/cjs/loader:1311:12)
at require (node:internal/modules/helpers:136:16)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1554:14)
at Object..js (node:internal/modules/cjs/loader:1706:10)
at Module.load (node:internal/modules/cjs/loader:1289:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v22.14.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 429
Suites 📂: 79
Passed ✅: 343
Failed ❌: 84
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 34159.334ms
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Error:: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: --max-http-header-size=1 should throw" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "--max-http-header-size with Client API" at test/client-node-max-header-size.js:45:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "new (require('.').Client)(new URL('http://localhost:200'))"
node:internal/modules/cjs/loader:1215
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298:19)
at require (node:internal/modules/helpers:182:18)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275:32)
at Module._load (node:internal/modules/cjs/loader:1096:12)
at Module.require (node:internal/modules/cjs/loader:1298:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v20.19.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
Total Tests: 429
Suites 📂: 79
Passed ✅: 343
Failed ❌: 84
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 33630.481ms
|
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest:
test/client-node-max-header-size.js#L1
Error: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "require('.').request('http://localhost:43409')"
node:internal/modules/cjs/loader:1408
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Function._resolveFilename (node:internal/modules/cjs/loader:1405:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Function._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1734:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v23.10.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest:
test/client-node-max-header-size.js#L1
Error: Test "--max-http-header-size with Client API" at test/client-node-max-header-size.js:45:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: --max-http-header-size=0 should result in an Error when using the Client API" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 429
Suites 📂: 79
Passed ✅: 343
Failed ❌: 84
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 33375.001ms
|
Test with Node.js 20 compiled --without-intl
Error:: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: --max-http-header-size=1 should throw" and would have caused the test to fail, but instead triggered an uncaughtException event.
Error:: Test "--max-http-header-size with Client API" at test/client-node-max-header-size.js:45:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "new (require('.').Client)(new URL('http://localhost:200'))"
node:internal/modules/cjs/loader:1215
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Module.require (node:internal/modules/cjs/loader:1298:19)
at require (node:internal/modules/helpers:182:18)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275:32)
at Module._load (node:internal/modules/cjs/loader:1096:12)
at Module.require (node:internal/modules/cjs/loader:1298:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v20.19.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
Total Tests: 429
Suites 📂: 79
Passed ✅: 343
Failed ❌: 84
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 33607.675ms
|
Test with Node.js 22 compiled --without-intl:
test/client-node-max-header-size.js#L1
Error: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "require('.').request('http://localhost:44037')"
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1055:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Module.require (node:internal/modules/cjs/loader:1311:12)
at require (node:internal/modules/helpers:136:16)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1554:14)
at Object..js (node:internal/modules/cjs/loader:1706:10)
at Module.load (node:internal/modules/cjs/loader:1289:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v22.14.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
Test with Node.js 22 compiled --without-intl:
test/client-node-max-header-size.js#L1
Error: Test "--max-http-header-size with Client API" at test/client-node-max-header-size.js:45:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: --max-http-header-size=0 should result in an Error when using the Client API" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
Test with Node.js 22 compiled --without-intl
Total Tests: 429
Suites 📂: 79
Passed ✅: 343
Failed ❌: 84
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 33405.491ms
|
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 1082
Suites 📂: 108
Passed ✅: 1077
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 37182.222ms
|
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3389.154ms
|
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 155.013ms
|
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 37
Suites 📂: 5
Passed ✅: 36
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 202.712ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 1082
Suites 📂: 108
Passed ✅: 1077
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 39129.998ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2881.912ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 108.348ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 37
Suites 📂: 5
Passed ✅: 37
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 116.629ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 142
Suites 📂: 2
Passed ✅: 142
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 12266.497ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 406
Suites 📂: 17
Passed ✅: 405
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 24000.165ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 22
Suites 📂: 4
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 113.075ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 4
Suites 📂: 1
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 162.256ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 76
Suites 📂: 8
Passed ✅: 76
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 931.912ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 95
Suites 📂: 16
Passed ✅: 95
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 13056.423ms
|
Test with Node.js 23 compiled --without-intl:
test/client-node-max-header-size.js#L1
Error: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: --max-http-header-size=1 should throw" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
Test with Node.js 23 compiled --without-intl:
test/client-node-max-header-size.js#L1
Error: Test "--max-http-header-size with Client API" at test/client-node-max-header-size.js:45:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node --disable-warning=ExperimentalWarning -e "new (require('.').Client)(new URL('http://localhost:200'))"
node:internal/modules/cjs/loader:1408
throw err;
^
Error: Cannot find module './Client'
Require stack:
- /home/runner/work/undici/undici/lib/dispatcher/h2c-client.js
- /home/runner/work/undici/undici/index.js
- /home/runner/work/undici/undici/[eval]
at Function._resolveFilename (node:internal/modules/cjs/loader:1405:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Function._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js:6:16)
at Module._compile (node:internal/modules/cjs/loader:1734:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/undici/undici/lib/dispatcher/h2c-client.js',
'/home/runner/work/undici/undici/index.js',
'/home/runner/work/undici/undici/[eval]'
]
}
Node.js v23.10.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
|
Test with Node.js 23 compiled --without-intl
Total Tests: 429
Suites 📂: 79
Passed ✅: 343
Failed ❌: 84
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 33431.821ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 1082
Suites 📂: 108
Passed ✅: 1077
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 41647.489ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2843.239ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 105.768ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 37
Suites 📂: 5
Passed ✅: 37
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 134.796ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 142
Suites 📂: 2
Passed ✅: 142
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 12171.804ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 406
Suites 📂: 17
Passed ✅: 405
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 24752.246ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 22
Suites 📂: 4
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 112.706ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 4
Suites 📂: 1
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 169.790ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 76
Suites 📂: 8
Passed ✅: 76
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 935.457ms
|
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 95
Suites 📂: 16
Passed ✅: 95
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 13146.849ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 1082
Suites 📂: 108
Passed ✅: 1076
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 6
Todo 📝: 0
Duration 🕐: 38705.685ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2830.483ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 106.772ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 34
Suites 📂: 4
Passed ✅: 29
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 111.980ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 142
Suites 📂: 2
Passed ✅: 142
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 12432.534ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 406
Suites 📂: 17
Passed ✅: 405
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 57475.538ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 22
Suites 📂: 4
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 105.135ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 4
Suites 📂: 1
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 158.578ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 76
Suites 📂: 8
Passed ✅: 76
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 953.011ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 95
Suites 📂: 16
Passed ✅: 95
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 13275.163ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 1082
Suites 📂: 108
Passed ✅: 1077
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 42517.241ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3472.221ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 238.711ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 37
Suites 📂: 5
Passed ✅: 37
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 286.811ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 133
Suites 📂: 2
Passed ✅: 133
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 12447.029ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 406
Suites 📂: 17
Passed ✅: 405
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 47195.888ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 22
Suites 📂: 4
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 230.716ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 4
Suites 📂: 1
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 411.228ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 76
Suites 📂: 8
Passed ✅: 76
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1950.498ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 95
Suites 📂: 16
Passed ✅: 95
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 11345.964ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 1082
Suites 📂: 108
Passed ✅: 1076
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 6
Todo 📝: 0
Duration 🕐: 36403.596ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3471.550ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 226.268ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 34
Suites 📂: 4
Passed ✅: 29
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 276.597ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 133
Suites 📂: 2
Passed ✅: 133
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 13208.165ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 406
Suites 📂: 17
Passed ✅: 405
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 50630.549ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 22
Suites 📂: 4
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 223.596ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 4
Suites 📂: 1
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 409.210ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 76
Suites 📂: 8
Passed ✅: 76
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 2274.064ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 95
Suites 📂: 16
Passed ✅: 95
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 11344.220ms
|