feat: PostgreSQL sink backend #10432
ci.yml
on: pull_request
Matrix: build-ubuntu
build-windows
7m 36s
build result
14s
Annotations
45 errors
|
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 > getRepos > returns the seeded repos:
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:88:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 > getRepo / getRepoByUrl / getRepoById > finds by name (lower-cased lookup):
test/db/postgres/repo.integration.test.ts#L62
AssertionError: expected undefined to be 'findme' // Object.is equality
- Expected:
"findme"
+ Received:
undefined
❯ test/db/postgres/repo.integration.test.ts:62:27
|
|
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#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:191: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 > getPushes > filters by authorised flag:
test/db/postgres/pushes.integration.test.ts#L157
AssertionError: expected undefined to be defined
❯ test/db/postgres/pushes.integration.test.ts:157:30
|
|
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > getPushes > orders pushes by timestamp DESC:
test/db/postgres/pushes.integration.test.ts#L151
AssertionError: expected [] to deeply equal [ 'push-authorised', 'push-b', …(1) ]
- Expected
+ Received
- [
- "push-authorised",
- "push-b",
- "push-a",
- ]
+ []
❯ test/db/postgres/pushes.integration.test.ts:151:19
|
|
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:
test/db/postgres/pushes.integration.test.ts#L88
AssertionError: expected null not to be null
❯ test/db/postgres/pushes.integration.test.ts:88:29
|
|
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > writeAudit > upserts an existing action:
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:68: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/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by name (lower-cased lookup):
test/db/postgres/repo.integration.test.ts#L62
AssertionError: expected undefined to be 'findme' // Object.is equality
- Expected:
"findme"
+ Received:
undefined
❯ test/db/postgres/repo.integration.test.ts:62:27
|
|
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 > cancel > cancels a push and resets authorise/reject flags:
test/db/postgres/pushes.integration.test.ts#L260
AssertionError: expected undefined to be false // Object.is equality
- Expected:
false
+ Received:
undefined
❯ test/db/postgres/pushes.integration.test.ts:260:35
|
|
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > deletePush > does not throw when deleting a non-existent push:
test/db/postgres/pushes.integration.test.ts#L179
AssertionError: promise rejected "error: relation "pushes" does not exist { …(15) }" instead of resolving
❯ test/db/postgres/pushes.integration.test.ts:179:46
Caused by: Caused by: error: relation "pushes" does not exist
❯ node_modules/pg-pool/index.js:45:11
❯ deletePush src/db/postgres/pushes.ts:197:3
❯ test/db/postgres/pushes.integration.test.ts:179: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 > strips _id from action before saving:
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:87:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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/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 > permission JSONB > applies the same invariant to canAuthorise:
test/db/postgres/repo.integration.test.ts#L145
AssertionError: expected undefined to deeply equal []
- Expected:
[]
+ Received:
undefined
❯ test/db/postgres/repo.integration.test.ts:145:42
|
|
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 > getRepos > returns the seeded repos:
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:88:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 > getRepo / getRepoByUrl / getRepoById > finds by name (lower-cased lookup):
test/db/postgres/repo.integration.test.ts#L62
AssertionError: expected undefined to be 'findme' // Object.is equality
- Expected:
"findme"
+ Received:
undefined
❯ test/db/postgres/repo.integration.test.ts:62:27
|
|
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 > orders pushes by timestamp DESC:
test/db/postgres/pushes.integration.test.ts#L151
AssertionError: expected [ 'push-authorised' ] to deeply equal [ 'push-authorised', 'push-b', …(1) ]
- Expected
+ Received
[
"push-authorised",
- "push-b",
- "push-a",
]
❯ test/db/postgres/pushes.integration.test.ts:151:19
|
|
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:
test/db/postgres/pushes.integration.test.ts#L88
AssertionError: expected null not to be null
❯ test/db/postgres/pushes.integration.test.ts:88:29
|
|
test/db/postgres/pushes.integration.test.ts > PostgreSQL Pushes Integration Tests > writeAudit > upserts an existing action:
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:68: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, 7.0)
Process completed with exit code 1.
|
|
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by _id:
test/db/postgres/repo.integration.test.ts#L77
AssertionError: expected undefined to be 'https://example.com/id-test.git' // Object.is equality
- Expected:
"https://example.com/id-test.git"
+ Received:
undefined
❯ test/db/postgres/repo.integration.test.ts:77:27
|
|
test/db/postgres/repo.integration.test.ts > PostgreSQL Repo Integration Tests > getRepo / getRepoByUrl / getRepoById > finds by name (lower-cased lookup):
test/db/postgres/repo.integration.test.ts#L62
AssertionError: expected undefined to be 'findme' // Object.is equality
- Expected:
"findme"
+ Received:
undefined
❯ test/db/postgres/repo.integration.test.ts:62:27
|
|
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:
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
|
|
build-ubuntu (24.x, 8.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):
src/db/postgres/users.ts#L106
error: relation "users" does not exist
❯ node_modules/pg-pool/index.js:45:11
❯ createUser src/db/postgres/users.ts:106:3
❯ test/db/postgres/users.integration.test.ts:63:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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/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/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 > 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, 6.0)
Process completed with exit code 1.
|
|
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 > writeAudit > writes an action to the database:
test/db/postgres/pushes.integration.test.ts#L58
AssertionError: expected null not to be null
❯ test/db/postgres/pushes.integration.test.ts:58:29
|
|
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.
|