Draft PR to test CI/test workflows #18
test.yml
on: pull_request
test-node-18
32s
test-node-lts
35s
Annotations
16 errors and 2 warnings
tests/ws.test.ts > WebSocket connections and queries > WebSockets query results match pg/TCP query results, using pool.connect():
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ tests/ws.test.ts:53:37
|
tests/ws.test.ts > WebSocket connections and queries > pool.query() over WebSockets:
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ Cn.query dist/npm/index.mjs:1411:63
❯ Cn.query dist/npm/index.mjs:1627:35
❯ tests/ws.test.ts:76:35
|
tests/ws.test.ts > WebSocket connections and queries > pool.query() with poolQueryViaFetch:
dist/npm/index.mjs#L1553
NeonDbError: Error connecting to database: TypeError: fetch failed
❯ execute dist/npm/index.mjs:1553:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { severity: undefined, code: undefined, detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: undefined, line: undefined, routine: undefined, sourceError: { stack: 'TypeError: fetch failed\n at node:internal/deps/undici/undici:12618:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at execute (/home/runner/work/serverless/serverless/dist/npm/index.mjs:1552:15)', message: 'fetch failed', cause: { stack: 'Error: connect ECONNREFUSED ::1:443\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)', message: 'connect ECONNREFUSED ::1:443', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, constructor: 'Function<TypeError>', name: 'TypeError', toString: 'Function<toString>' } }
|
tests/ws.test.ts > WebSocket connections and queries > pool.query() with poolQueryViaFetch but also a listener that prevents fetch:
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ Cn.query dist/npm/index.mjs:1411:63
❯ Cn.query dist/npm/index.mjs:1627:35
❯ tests/ws.test.ts:106:41
|
tests/ws.test.ts > WebSocket connections and queries > client.query():
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:118:18
|
tests/ws.test.ts > WebSocket connections and queries > client.query() with pipelined connect (yes, no) x coalesced writes (yes, no):
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:134:24
|
tests/ws.test.ts > WebSocket connections and queries > client.query() with custom WebSocket proxy and subtls:
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:156:18
|
test-node-18
Process completed with exit code 1.
|
tests/ws.test.ts > WebSocket connections and queries > WebSockets query results match pg/TCP query results, using pool.connect():
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ tests/ws.test.ts:53:37
|
tests/ws.test.ts > WebSocket connections and queries > pool.query() over WebSockets:
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ Cn.query dist/npm/index.mjs:1411:63
❯ Cn.query dist/npm/index.mjs:1627:35
❯ tests/ws.test.ts:76:35
|
tests/ws.test.ts > WebSocket connections and queries > pool.query() with poolQueryViaFetch:
dist/npm/index.mjs#L1553
NeonDbError: Error connecting to database: TypeError: fetch failed
❯ execute dist/npm/index.mjs:1553:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { severity: undefined, code: undefined, detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: undefined, line: undefined, routine: undefined, sourceError: { stack: 'TypeError: fetch failed\n at node:internal/deps/undici/undici:13484:13\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at execute (/home/runner/work/serverless/serverless/dist/npm/index.mjs:1552:15)', message: 'fetch failed', cause: { stack: 'AggregateError: \n at internalConnectMultiple (node:net:1128:18)\n at afterConnectMultiple (node:net:1693:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:443\n at createConnectionError (node:net:1656:14)\n at afterConnectMultiple (node:net:1686:16)', message: 'connect ECONNREFUSED ::1:443', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:443\n at createConnectionError (node:net:1656:14)\n at afterConnectMultiple (node:net:1686:16)', message: 'connect ECONNREFUSED 127.0.0.1:443', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', constructor: 'Function<AggregateError>', name: 'AggregateError', message: '', toString: 'Function<toString>' }, constructor: 'Function<TypeError>', name: 'TypeError', toString: 'Function<toString>' } }
|
tests/ws.test.ts > WebSocket connections and queries > pool.query() with poolQueryViaFetch but also a listener that prevents fetch:
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ Cn.query dist/npm/index.mjs:1411:63
❯ Cn.query dist/npm/index.mjs:1627:35
❯ tests/ws.test.ts:106:41
|
tests/ws.test.ts > WebSocket connections and queries > client.query():
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:118:18
|
tests/ws.test.ts > WebSocket connections and queries > client.query() with pipelined connect (yes, no) x coalesced writes (yes, no):
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:134:24
|
tests/ws.test.ts > WebSocket connections and queries > client.query() with custom WebSocket proxy and subtls:
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:156:18
|
test-node-lts
Process completed with exit code 1.
|
test-node-18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-node-lts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|