Skip to content

fix: global dispatcher #25

fix: global dispatcher

fix: global dispatcher #25

Triggered via pull request July 22, 2025 07:58
Status Failure
Total duration 2m 49s
Artifacts

nodejs-3.x.yml

on: pull_request
Node.js  /  Setup
9s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

48 errors and 10 notices
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:33555/foo.js","headers":{"host":"localhost:33555","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/20.19.4 (Linux 6.11; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:33555/foo.js\",\"headers\":{\"host\":\"localhost:33555\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/20.19.4 (Linux 6.11; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 1.
test/options.timing.test.ts > options.timing.test.ts > should timing = true work: test/options.timing.test.ts#L49
AssertionError: The expression evaluated to a falsy value: assert(res.timing.waiting > 0) - Expected + Received - true + false ❯ test/options.timing.test.ts:49:5
test/options.retry.test.ts > options.retry.test.ts > should retry fail on default server status 500: test/options.retry.test.ts#L79
AssertionError: The expression evaluated to a falsy value: assert.equal(requestHeaders['x-urllib-retry'], '2/2') - Expected + Received - true + false ❯ test/options.retry.test.ts:79:5
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:41545/foo.js","headers":{"host":"localhost:41545","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/22.17.1 (Linux 6.11; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:41545/foo.js\",\"headers\":{\"host\":\"localhost:41545\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/22.17.1 (Linux 6.11; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace request error by urllib:request and urllib:response: test/diagnostics_channel.test.ts#L311
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:311:12
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace request by urllib:request and urllib:response: test/diagnostics_channel.test.ts#L199
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:199:12
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace socket info by undici:client:sendHeaders and undici:request:trailers: test/diagnostics_channel.test.ts#L113
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:113:12
Node.js / Test (ubuntu-latest, 18)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:38855/foo.js","headers":{"host":"localhost:38855","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/18.20.8 (Linux 6.11; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:38855/foo.js\",\"headers\":{\"host\":\"localhost:38855\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/18.20.8 (Linux 6.11; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (ubuntu-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (macos-latest, 20)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:49199/foo.js","headers":{"host":"localhost:49199","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/20.19.4 (OS X; arm64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:49199/foo.js\",\"headers\":{\"host\":\"localhost:49199\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/20.19.4 (OS X; arm64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (macos-latest, 18)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:49194/foo.js","headers":{"host":"localhost:49194","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/18.20.8 (OS X; arm64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:49194/foo.js\",\"headers\":{\"host\":\"localhost:49194\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/18.20.8 (OS X; arm64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (ubuntu-latest, 14)
Process completed with exit code 1.
Node.js / Test (macos-latest, 22)
Process completed with exit code 1.
test/options.timing.test.ts > options.timing.test.ts > should timing = true work: test/options.timing.test.ts#L49
AssertionError: The expression evaluated to a falsy value: assert(res.timing.waiting > 0) - Expected + Received - true + false ❯ test/options.timing.test.ts:49:5
test/options.retry.test.ts > options.retry.test.ts > should retry fail on default server status 500: test/options.retry.test.ts#L79
AssertionError: The expression evaluated to a falsy value: assert.equal(requestHeaders['x-urllib-retry'], '2/2') - Expected + Received - true + false ❯ test/options.retry.test.ts:79:5
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:49227/foo.js","headers":{"host":"localhost:49227","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/22.17.1 (OS X; arm64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:49227/foo.js\",\"headers\":{\"host\":\"localhost:49227\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/22.17.1 (OS X; arm64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace request error by urllib:request and urllib:response: test/diagnostics_channel.test.ts#L311
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:311:12
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace request by urllib:request and urllib:response: test/diagnostics_channel.test.ts#L199
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:199:12
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace socket info by undici:client:sendHeaders and undici:request:trailers: test/diagnostics_channel.test.ts#L113
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:113:12
Node.js / Test (windows-latest, 22)
Process completed with exit code 1.
test/options.timing.test.ts > options.timing.test.ts > should timing = true work: test/options.timing.test.ts#L49
AssertionError: The expression evaluated to a falsy value: assert(res.timing.waiting > 0) - Expected + Received - true + false ❯ test/options.timing.test.ts:49:5
test/options.retry.test.ts > options.retry.test.ts > should retry fail on default server status 500: test/options.retry.test.ts#L79
AssertionError: The expression evaluated to a falsy value: assert.equal(requestHeaders['x-urllib-retry'], '2/2') - Expected + Received - true + false ❯ test/options.retry.test.ts:79:5
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:64452/foo.js","headers":{"host":"localhost:64452","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/22.17.1 (Windows 10; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:64452/foo.js\",\"headers\":{\"host\":\"localhost:64452\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/22.17.1 (Windows 10; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace request error by urllib:request and urllib:response: test/diagnostics_channel.test.ts#L311
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:311:12
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace request by urllib:request and urllib:response: test/diagnostics_channel.test.ts#L199
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:199:12
test/diagnostics_channel.test.ts > diagnostics_channel.test.ts > should support trace socket info by undici:client:sendHeaders and undici:request:trailers: test/diagnostics_channel.test.ts#L113
AssertionError: Expected values to be strictly equal: 1 !== 2 - Expected + Received - 2 + 1 ❯ test/diagnostics_channel.test.ts:113:12
Node.js / Test (windows-latest, 18)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:54169/foo.js","headers":{"host":"localhost:54169","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/18.20.8 (Windows 10; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:54169/foo.js\",\"headers\":{\"host\":\"localhost:54169\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/18.20.8 (Windows 10; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (windows-latest, 20)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:56970/foo.js","headers":{"host":"localhost:56970","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/20.19.4 (Windows 10; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:56970/foo.js\",\"headers\":{\"host\":\"localhost:56970\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/20.19.4 (Windows 10; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (macos-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (macos-latest, 14)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (macos-latest, 20)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 20)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 18)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 18)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 22)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 22)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14.19.3)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14.19.3)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520