repl: fix dedup comparing normalized line against raw history #5771
test-shared.yml
on: pull_request
Build slim tarball
3m 2s
Matrix: build
Annotations
2 errors
|
aarch64-darwin: with shared libraries
Process completed with exit code 2.
|
|
aarch64-darwin: with shared libraries:
test/client-proxy/test-https-proxy-request-invalid-char-in-url.mjs#L97
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Set(7) {
- Set(6) {
{
+ error: Error: read ECONNRESET
+ at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
+ code: 'ECONNRESET',
+ errno: -54,
+ syscall: 'read'
+ },
+ source: 'client response for connect'
+ },
+ {
headers: {
host: 'localhost:54701'
},
method: 'CONNECT',
url: 'localhost:54701'
at Immediate.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-22096631850a-slim/test/client-proxy/test-https-proxy-request-invalid-char-in-url.mjs:97:18)
at Immediate._onImmediate (/Users/runner/work/_temp/node-v26.0.0-nightly2026-04-22096631850a-slim/test/common/index.js:508:15)
at process.processImmediate (node:internal/timers:504:21) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: Set(7) {
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
error: Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
},
source: 'client response for connect'
}
},
expected: Set(6) {
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
},
{
method: 'CONNECT',
url: 'localhost:54701',
headers: { host: 'localhost:54701' }
}
},
operator: 'deepStrictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
--- stdout ---
[Upstream server] responding to request for '/carriage-return-in-host'
[Proxy client] Received response from server for 'https://local\rhost:54701/carriage-return-in-host': Response for '/carriage-return-in-host'
[Proxy client] #1 closed request for: 'https://local\rhost:54701/carriage-return-in-host'
[Upstream server] responding to request for '/newline-in-host'
[Upstream server] responding to request for '/newline-in-port'
[Upstream server] responding to request for '/crlf-in-port'
[Upstream server] responding to request for '/crlf-in-host'
[Upstream server] responding to request for '/carriage-return-in-port'
[Proxy client] Received response from server for 'https://local\nhost:54701/newline-in-host': Response for '/newline-in-host'
[Proxy client] #2 closed request for: 'https://local\nhost:54701/newline-in-host'
[Proxy client] Received response from server for 'https://localhost:5\n4701/newline-in-port': Response for '/newline-in-port'
[Proxy client] #3 closed request for: 'https://localhost:5\n4701/newline-in-port'
[Proxy client] Received response from server for 'https://localhost:5\r\n4701/crlf-in-port': Response for '/crlf-in-port'
[Proxy client] #4 closed request for: 'https://localhost:5\r\n4701/crlf-in-port'
[Proxy client] Received response from server for 'https://local\r\nhost:54701/crlf-in-host': Response for '/crlf-in-host'
[Proxy client] #5 closed request for: 'h
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
tarballs
|
50.3 MB |
sha256:4d11d67716cc02553b3d6a17392f545dc2087c11c60275dd35c10453d3d66da6
|
|