Skip to content

feat: supports uuid column #28

feat: supports uuid column

feat: supports uuid column #28

Triggered via pull request November 2, 2025 16:27
Status Failure
Total duration 3m 42s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test/query/query.test.ts > query kysely ('mssql'): packages/fumadb/test/shared.ts#L431
Error: Failed to connect to localhost:1433 - Could not connect (sequence) ❯ ../../node_modules/.pnpm/[email protected]/node_modules/tarn/dist/PendingOperation.js:14:27 ❯ MssqlDriver.acquireConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/mssql/mssql-driver.js:38:16 ❯ RuntimeDriver.acquireConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28 ❯ DefaultConnectionProvider.provideConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28 ❯ DefaultQueryExecutor.executeQuery ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16 ❯ SelectQueryBuilderImpl.execute ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24 ❯ resetDB test/shared.ts:431:20 ❯ test/query/query.test.ts:214:5
test/query/query.test.ts > query kysely ('cockroachdb'): packages/fumadb/test/shared.ts#L409
{ stack: 'AggregateError: \n' + ' at /home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js:45:11\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at PostgresDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:21:24)\n' + ' at RuntimeDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' + ' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' + ' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' + ' at SelectQueryBuilderImpl.execute (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24)\n' + ' at resetDB (/home/runner/work/fumadb/fumadb/packages/fumadb/test/shared.ts:409:20)\n' + ' at /home/runner/work/fumadb/fumadb/packages/fumadb/test/query/query.test.ts:214:5\n' + ' at file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:26257\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:26257', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 26257, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:26257\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:26257', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 26257, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'AggregateError', toString: 'Function<toString>', stacks: [ { method: '', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js', line: 45, column: 11 }, { method: 'PostgresDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js', line: 21, column: 24 }, { method: 'RuntimeDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js', line: 44, column: 28 }, { method: 'DefaultConnectionProvider.provideConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js', line: 8, column: 28 }, { method: 'DefaultQueryExecutor.executeQuery', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js', line: 34, column: 16 }, { method: 'SelectQueryBuilderImpl.execute', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js', line: 317, column: 24 }, { method: 'resetDB', file: '/hom
test/query/query.test.ts > query kysely ('postgresql'): packages/fumadb/test/shared.ts#L409
{ stack: 'AggregateError: \n' + ' at /home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js:45:11\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at PostgresDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:21:24)\n' + ' at RuntimeDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' + ' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' + ' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' + ' at SelectQueryBuilderImpl.execute (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24)\n' + ' at resetDB (/home/runner/work/fumadb/fumadb/packages/fumadb/test/shared.ts:409:20)\n' + ' at /home/runner/work/fumadb/fumadb/packages/fumadb/test/query/query.test.ts:214:5\n' + ' at file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:5434\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:5434', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5434, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:5434\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:5434', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 5434, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'AggregateError', toString: 'Function<toString>', stacks: [ { method: '', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js', line: 45, column: 11 }, { method: 'PostgresDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js', line: 21, column: 24 }, { method: 'RuntimeDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js', line: 44, column: 28 }, { method: 'DefaultConnectionProvider.provideConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js', line: 8, column: 28 }, { method: 'DefaultQueryExecutor.executeQuery', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js', line: 34, column: 16 }, { method: 'SelectQueryBuilderImpl.execute', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js', line: 317, column: 24 }, { method: 'resetDB', file: '/home/runn
test/migrate.test.ts > MongoDB migration using 'from-schema': packages/fumadb/test/migrate.test.ts#L165
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ test/migrate.test.ts:165:11
test/migrate.test.ts > generate migration: 'mssql' using 'from-schema': packages/fumadb/test/shared.ts#L431
Error: Failed to connect to localhost:1433 - Could not connect (sequence) ❯ ../../node_modules/.pnpm/[email protected]/node_modules/tarn/dist/PendingOperation.js:14:27 ❯ MssqlDriver.acquireConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/mssql/mssql-driver.js:38:16 ❯ RuntimeDriver.acquireConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28 ❯ DefaultConnectionProvider.provideConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28 ❯ DefaultQueryExecutor.executeQuery ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16 ❯ SelectQueryBuilderImpl.execute ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24 ❯ resetDB test/shared.ts:431:20 ❯ test/migrate.test.ts:121:5
test/migrate.test.ts > generate migration: 'mssql' using 'from-database': packages/fumadb/test/shared.ts#L431
Error: Failed to connect to localhost:1433 - Could not connect (sequence) ❯ ../../node_modules/.pnpm/[email protected]/node_modules/tarn/dist/PendingOperation.js:14:27 ❯ MssqlDriver.acquireConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/mssql/mssql-driver.js:38:16 ❯ RuntimeDriver.acquireConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28 ❯ DefaultConnectionProvider.provideConnection ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28 ❯ DefaultQueryExecutor.executeQuery ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16 ❯ SelectQueryBuilderImpl.execute ../../node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24 ❯ resetDB test/shared.ts:431:20 ❯ test/migrate.test.ts:121:5
test/migrate.test.ts > generate migration: 'cockroachdb' using 'from-schema': packages/fumadb/test/shared.ts#L409
{ stack: 'AggregateError: \n' + ' at /home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js:45:11\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at PostgresDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:21:24)\n' + ' at RuntimeDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' + ' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' + ' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' + ' at SelectQueryBuilderImpl.execute (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24)\n' + ' at resetDB (/home/runner/work/fumadb/fumadb/packages/fumadb/test/shared.ts:409:20)\n' + ' at /home/runner/work/fumadb/fumadb/packages/fumadb/test/migrate.test.ts:121:5\n' + ' at file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:26257\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:26257', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 26257, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:26257\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:26257', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 26257, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'AggregateError', toString: 'Function<toString>', stacks: [ { method: '', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js', line: 45, column: 11 }, { method: 'PostgresDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js', line: 21, column: 24 }, { method: 'RuntimeDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js', line: 44, column: 28 }, { method: 'DefaultConnectionProvider.provideConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js', line: 8, column: 28 }, { method: 'DefaultQueryExecutor.executeQuery', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js', line: 34, column: 16 }, { method: 'SelectQueryBuilderImpl.execute', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js', line: 317, column: 24 }, { method: 'resetDB', file: '/home/ru
test/migrate.test.ts > generate migration: 'cockroachdb' using 'from-database': packages/fumadb/test/shared.ts#L409
{ stack: 'AggregateError: \n' + ' at /home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js:45:11\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at PostgresDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:21:24)\n' + ' at RuntimeDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' + ' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' + ' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' + ' at SelectQueryBuilderImpl.execute (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24)\n' + ' at resetDB (/home/runner/work/fumadb/fumadb/packages/fumadb/test/shared.ts:409:20)\n' + ' at /home/runner/work/fumadb/fumadb/packages/fumadb/test/migrate.test.ts:121:5\n' + ' at file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:26257\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:26257', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 26257, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:26257\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:26257', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 26257, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'AggregateError', toString: 'Function<toString>', stacks: [ { method: '', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js', line: 45, column: 11 }, { method: 'PostgresDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js', line: 21, column: 24 }, { method: 'RuntimeDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js', line: 44, column: 28 }, { method: 'DefaultConnectionProvider.provideConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js', line: 8, column: 28 }, { method: 'DefaultQueryExecutor.executeQuery', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js', line: 34, column: 16 }, { method: 'SelectQueryBuilderImpl.execute', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js', line: 317, column: 24 }, { method: 'resetDB', file: '/home/ru
test/migrate.test.ts > generate migration: 'postgresql' using 'from-schema': packages/fumadb/test/shared.ts#L409
{ stack: 'AggregateError: \n' + ' at /home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js:45:11\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at PostgresDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:21:24)\n' + ' at RuntimeDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' + ' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' + ' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' + ' at SelectQueryBuilderImpl.execute (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24)\n' + ' at resetDB (/home/runner/work/fumadb/fumadb/packages/fumadb/test/shared.ts:409:20)\n' + ' at /home/runner/work/fumadb/fumadb/packages/fumadb/test/migrate.test.ts:121:5\n' + ' at file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:5434\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:5434', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5434, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:5434\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:5434', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 5434, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'AggregateError', toString: 'Function<toString>', stacks: [ { method: '', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js', line: 45, column: 11 }, { method: 'PostgresDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js', line: 21, column: 24 }, { method: 'RuntimeDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js', line: 44, column: 28 }, { method: 'DefaultConnectionProvider.provideConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js', line: 8, column: 28 }, { method: 'DefaultQueryExecutor.executeQuery', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js', line: 34, column: 16 }, { method: 'SelectQueryBuilderImpl.execute', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js', line: 317, column: 24 }, { method: 'resetDB', file: '/home/runner/w
test/migrate.test.ts > generate migration: 'postgresql' using 'from-database': packages/fumadb/test/shared.ts#L409
{ stack: 'AggregateError: \n' + ' at /home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js:45:11\n' + ' at processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + ' at PostgresDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:21:24)\n' + ' at RuntimeDriver.acquireConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' + ' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' + ' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' + ' at SelectQueryBuilderImpl.execute (file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:317:24)\n' + ' at resetDB (/home/runner/work/fumadb/fumadb/packages/fumadb/test/shared.ts:409:20)\n' + ' at /home/runner/work/fumadb/fumadb/packages/fumadb/test/migrate.test.ts:121:5\n' + ' at file:///home/runner/work/fumadb/fumadb/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:5434\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:5434', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5434, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:5434\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:5434', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 5434, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'AggregateError', toString: 'Function<toString>', stacks: [ { method: '', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected][email protected]/node_modules/pg-pool/index.js', line: 45, column: 11 }, { method: 'PostgresDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js', line: 21, column: 24 }, { method: 'RuntimeDriver.acquireConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/runtime-driver.js', line: 44, column: 28 }, { method: 'DefaultConnectionProvider.provideConnection', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/driver/default-connection-provider.js', line: 8, column: 28 }, { method: 'DefaultQueryExecutor.executeQuery', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-executor/query-executor-base.js', line: 34, column: 16 }, { method: 'SelectQueryBuilderImpl.execute', file: '/home/runner/work/fumadb/fumadb/node_modules/.pnpm/[email protected]/node_modules/kysely/dist/esm/query-builder/select-query-builder.js', line: 317, column: 24 }, { method: 'resetDB', file: '/home/runner/w
test
Failed to restore: Cache service responded with 400