Skip to content

feat: PostgreSQL sink backend #10430

feat: PostgreSQL sink backend

feat: PostgreSQL sink backend #10430

Triggered via pull request August 27, 2026 07:44
@dcoricdcoric
synchronize #1687
feat/postgres
Status Failure
Total duration 6m 59s
Artifacts

ci.yml

on: pull_request
Matrix: build-ubuntu
build result
15s
build result
Fit to window
Zoom out
Zoom in

Annotations

54 errors
build-ubuntu (24.x, 6.0)
Process completed with exit code 1.
test/db/postgres/users.integration.test.ts > PostgreSQL Users Integration Tests > findUser > finds a user by username (case-insensitive): test/db/postgres/users.integration.test.ts#L65
AssertionError: expected undefined to be 'findme' // Object.is equality - Expected: "findme" + Received: undefined ❯ test/db/postgres/users.integration.test.ts:65:32
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > is idempotent — re-running migrations does not duplicate the version row: test/db/postgres/schemaMigrations.integration.test.ts#L74
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:74:53
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > creates schema_migrations and the app tables and records version 1: test/db/postgres/schemaMigrations.integration.test.ts#L42
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:42:53
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > permission JSONB > keeps other users intact when removing one: test/db/postgres/repo.integration.test.ts#L160
AssertionError: expected undefined to deeply equal [ 'bob' ] - Expected: [ "bob", ] + Received: undefined ❯ test/db/postgres/repo.integration.test.ts:160:37
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > createRepo > persists the row and stamps a generated _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > authorise > authorises a push and resets cancel/reject flags: src/db/postgres/pushes.ts#L191
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ getPush src/db/postgres/pushes.ts:191:18 ❯ test/db/postgres/pushes.integration.test.ts:196:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '18', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > writeAudit > upserts an existing action: test/db/postgres/pushes.integration.test.ts#L71
AssertionError: expected undefined to be false // Object.is equality - Expected: false + Received: undefined ❯ test/db/postgres/pushes.integration.test.ts:71:34
build-ubuntu (24.x, 8.0)
Process completed with exit code 1.
test/db/postgres/users.integration.test.ts > PostgreSQL Users Integration Tests > createUser > lowercases username and email on insert: test/db/postgres/users.integration.test.ts#L56
AssertionError: expected undefined to be 'createuser' // Object.is equality - Expected: "createuser" + Received: undefined ❯ test/db/postgres/users.integration.test.ts:56:31
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > is idempotent — re-running migrations does not duplicate the version row: test/db/postgres/schemaMigrations.integration.test.ts#L74
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:74:53
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > creates schema_migrations and the app tables and records version 1: test/db/postgres/schemaMigrations.integration.test.ts#L42
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:42:53
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by url exactly: test/db/postgres/repo.integration.test.ts#L69
AssertionError: expected undefined to be 'https://example.com/url-test.git' // Object.is equality - Expected: "https://example.com/url-test.git" + Received: undefined ❯ test/db/postgres/repo.integration.test.ts:69:26
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > createRepo > persists the row and stamps a generated _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > writeAudit > strips _id from action before saving: src/db/postgres/pushes.ts#L210
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ writeAudit src/db/postgres/pushes.ts:210:3 ❯ test/db/postgres/pushes.integration.test.ts:86:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > writeAudit > upserts an existing action: test/db/postgres/pushes.integration.test.ts#L71
AssertionError: expected undefined to be false // Object.is equality - Expected: false + Received: undefined ❯ test/db/postgres/pushes.integration.test.ts:71:34
build-ubuntu (22.x, 7.0)
Process completed with exit code 1.
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > is idempotent — re-running migrations does not duplicate the version row: test/db/postgres/schemaMigrations.integration.test.ts#L74
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:74:53
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > creates schema_migrations and the app tables and records version 1: test/db/postgres/schemaMigrations.integration.test.ts#L42
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:42:53
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by url exactly: test/db/postgres/repo.integration.test.ts#L69
AssertionError: expected undefined to be 'https://example.com/url-test.git' // Object.is equality - Expected: "https://example.com/url-test.git" + Received: undefined ❯ test/db/postgres/repo.integration.test.ts:69:26
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > authorise > authorises a push and resets cancel/reject flags: src/db/postgres/pushes.ts#L191
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ getPush src/db/postgres/pushes.ts:191:18 ❯ test/db/postgres/pushes.integration.test.ts:196:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '18', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > getPush > retrieves a push by id: src/db/postgres/pushes.ts#L210
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ writeAudit src/db/postgres/pushes.ts:210:3 ❯ test/db/postgres/pushes.integration.test.ts:98:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
build-ubuntu (22.x, 6.0)
Process completed with exit code 1.
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > is idempotent — re-running migrations does not duplicate the version row: test/db/postgres/schemaMigrations.integration.test.ts#L74
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:74:53
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > creates schema_migrations and the app tables and records version 1: test/db/postgres/schemaMigrations.integration.test.ts#L42
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:42:53
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:73:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > createRepo > persists the row and stamps a generated _id: src/db/postgres/repo.ts#L90
error: relation "repos" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 104, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > getPushes > does not leak _id: src/db/postgres/pushes.ts#L183
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ getPushes src/db/postgres/pushes.ts:183:18 ❯ test/db/postgres/pushes.integration.test.ts:162:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '18', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > getPush > retrieves a push by id: test/db/postgres/pushes.integration.test.ts#L101
AssertionError: expected undefined to be 'get-push-test' // Object.is equality - Expected: "get-push-test" + Received: undefined ❯ test/db/postgres/pushes.integration.test.ts:101:26
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > writeAudit > strips _id from action before saving: src/db/postgres/pushes.ts#L210
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ writeAudit src/db/postgres/pushes.ts:210:3 ❯ test/db/postgres/pushes.integration.test.ts:86:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
build-ubuntu (24.x, 7.0)
Process completed with exit code 1.
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > is idempotent — re-running migrations does not duplicate the version row: test/db/postgres/schemaMigrations.integration.test.ts#L74
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:74:53
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > creates schema_migrations and the app tables and records version 1: test/db/postgres/schemaMigrations.integration.test.ts#L42
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:42:53
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > permission JSONB > adds a user without duplication: test/db/postgres/repo.integration.test.ts#L117
AssertionError: expected undefined to deeply equal [ 'alice' ] - Expected: [ "alice", ] + Received: undefined ❯ test/db/postgres/repo.integration.test.ts:117:37
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:73:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > createRepo > persists the row and stamps a generated _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > deletePush > deletes a push by id: src/db/postgres/pushes.ts#L210
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ writeAudit src/db/postgres/pushes.ts:210:3 ❯ test/db/postgres/pushes.integration.test.ts:173:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > getPush > retrieves a push by id: src/db/postgres/pushes.ts#L210
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ writeAudit src/db/postgres/pushes.ts:210:3 ❯ test/db/postgres/pushes.integration.test.ts:98:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
build-ubuntu (22.x, 8.0)
Process completed with exit code 1.
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > is idempotent — re-running migrations does not duplicate the version row: test/db/postgres/schemaMigrations.integration.test.ts#L74
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:74:53
test/db/postgres/schemaMigrations.integration.test.ts > PostgreSQL Schema Migration Integration Tests > creates schema_migrations and the app tables and records version 1: test/db/postgres/schemaMigrations.integration.test.ts#L42
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 2 ] - Expected + Received [ 1, 2, + 3, ] ❯ test/db/postgres/schemaMigrations.integration.test.ts:42:53
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > permission JSONB > adds a user without duplication: test/db/postgres/repo.integration.test.ts#L117
AssertionError: expected undefined to deeply equal [ 'alice' ] - Expected: [ "alice", ] + Received: undefined ❯ test/db/postgres/repo.integration.test.ts:117:37
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > permission JSONB > starts with empty arrays: test/db/postgres/repo.integration.test.ts#L103
AssertionError: expected undefined to deeply equal [] - Expected: [] + Received: undefined ❯ test/db/postgres/repo.integration.test.ts:103:37
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:73:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > createRepo > persists the row and stamps a generated _id: src/db/postgres/schemaMigrations.ts#L145
error: relation "schema_migrations" does not exist ❯ node_modules/pg/lib/client.js:694:17 ❯ runMigrations src/db/postgres/schemaMigrations.ts:145:22 ❯ connect src/db/postgres/helper.ts:126:3 ❯ query src/db/postgres/helper.ts:134:16 ❯ createRepo src/db/postgres/repo.ts:90:18 ❯ test/db/postgres/repo.integration.test.ts:48:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 116, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '21', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > getPushes > does not leak _id: src/db/postgres/pushes.ts#L210
error: relation "pushes" does not exist ❯ node_modules/pg-pool/index.js:45:11 ❯ writeAudit src/db/postgres/pushes.ts:210:3 ❯ test/db/postgres/pushes.integration.test.ts:138:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { length: 105, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', routine: 'parserOpenTable' }
build-windows
Process completed with exit code 1.
test/db/postgres/helper.test.ts > PostgreSQL - helper > getSessionStore > throws when no connection is configured — no MemoryStore fallback: test/db/postgres/helper.test.ts#L323
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ test/db/postgres/helper.test.ts:323:39
build result
Process completed with exit code 1.