Skip to content
Triggered via push January 9, 2025 18:57
Status Failure
Total duration 2m 54s
Artifacts

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
tests/models/query.test.ts > Query > findOrInitializeBy: packages/accel-record-core/dist/database.js#L108
TypeError: Cannot read properties of undefined (reading '0') ❯ formatByEngine packages/accel-record-core/dist/database.js:108:41 ❯ execSQL packages/accel-record-core/dist/database.js:97:12 ❯ Module.exec packages/accel-record-core/dist/database.js:82:12 ❯ Relation.load packages/accel-record-core/dist/relation/base.js:24:22 ❯ Relation.first packages/accel-record-core/dist/relation/query.js:35:60 ❯ Function.findBy packages/accel-record-core/dist/query.js:187:40 ❯ Function.findOrInitializeBy packages/accel-record-core/dist/query.js:38:27 ❯ tests/models/query.test.ts:57:22
tests/models/query.test.ts > Query > updateAll: packages/accel-record-core/dist/table/insert.js#L65
TypeError: Cannot read properties of undefined (reading 'id') ❯ InsertManager.getLastInsertId packages/accel-record-core/dist/table/insert.js:65:14 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:51:68 ❯ InsertManager.insert packages/accel-record-core/dist/table/insert.js:16:14 ❯ Proxy.createRecord packages/accel-record-core/dist/persistence.js:149:33 ❯ Proxy.createOrUpdate packages/accel-record-core/dist/persistence.js:129:40 ❯ Proxy.save packages/accel-record-core/dist/persistence.js:66:26 ❯ Function.create packages/accel-record-core/dist/persistence.js:29:22 ❯ Object.create packages/accel-record-factory/dist/index.js:21:26 ❯ packages/accel-record-factory/dist/index.js:27:61
tests/models/query.test.ts > Query > .exists(): packages/accel-record-core/dist/relation/base.js#L28
TypeError: rows.map is not a function ❯ Relation.load packages/accel-record-core/dist/relation/base.js:28:30 ❯ Relation.first packages/accel-record-core/dist/relation/query.js:35:60 ❯ Relation.exists packages/accel-record-core/dist/relation/query.js:83:21 ❯ Function.exists packages/accel-record-core/dist/query.js:106:27 ❯ tests/models/query.test.ts:78:17
tests/models/query.test.ts > Query > .isEmpty(): packages/accel-record-core/dist/relation/base.js#L28
TypeError: rows.map is not a function ❯ Relation.load packages/accel-record-core/dist/relation/base.js:28:30 ❯ Relation.first packages/accel-record-core/dist/relation/query.js:35:60 ❯ Relation.exists packages/accel-record-core/dist/relation/query.js:83:21 ❯ Relation.isEmpty packages/accel-record-core/dist/relation/query.js:90:22 ❯ Function.isEmpty packages/accel-record-core/dist/query.js:113:27 ❯ tests/models/query.test.ts:84:17
tests/models/query.test.ts > Query > .count(): packages/accel-record-core/dist/relation/calculations.js#L14
TypeError: Cannot convert undefined or null to object ❯ Relation.count packages/accel-record-core/dist/relation/calculations.js:14:30 ❯ Function.count packages/accel-record-core/dist/query.js:120:27 ❯ tests/models/query.test.ts:90:17
tests/models/query.test.ts > Query > .order(): packages/accel-record-core/dist/table/insert.js#L65
TypeError: Cannot read properties of undefined (reading 'id') ❯ InsertManager.getLastInsertId packages/accel-record-core/dist/table/insert.js:65:14 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:51:68 ❯ InsertManager.insert packages/accel-record-core/dist/table/insert.js:16:14 ❯ Proxy.createRecord packages/accel-record-core/dist/persistence.js:149:33 ❯ Proxy.createOrUpdate packages/accel-record-core/dist/persistence.js:129:40 ❯ Proxy.save packages/accel-record-core/dist/persistence.js:66:26 ❯ Function.create packages/accel-record-core/dist/persistence.js:29:22 ❯ Object.create packages/accel-record-factory/dist/index.js:21:26 ❯ tests/models/query.test.ts:96:11
tests/models/query.test.ts > Query > .offset(): packages/accel-record-core/dist/table/insert.js#L65
TypeError: Cannot read properties of undefined (reading 'id') ❯ InsertManager.getLastInsertId packages/accel-record-core/dist/table/insert.js:65:14 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:51:68 ❯ InsertManager.insert packages/accel-record-core/dist/table/insert.js:16:14 ❯ Proxy.createRecord packages/accel-record-core/dist/persistence.js:149:33 ❯ Proxy.createOrUpdate packages/accel-record-core/dist/persistence.js:129:40 ❯ Proxy.save packages/accel-record-core/dist/persistence.js:66:26 ❯ Function.create packages/accel-record-core/dist/persistence.js:29:22 ❯ Object.create packages/accel-record-factory/dist/index.js:21:26 ❯ tests/models/query.test.ts:103:11
tests/models/query.test.ts > Query > .limit(): packages/accel-record-core/dist/table/insert.js#L65
TypeError: Cannot read properties of undefined (reading 'id') ❯ InsertManager.getLastInsertId packages/accel-record-core/dist/table/insert.js:65:14 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:51:68 ❯ InsertManager.insert packages/accel-record-core/dist/table/insert.js:16:14 ❯ Proxy.createRecord packages/accel-record-core/dist/persistence.js:149:33 ❯ Proxy.createOrUpdate packages/accel-record-core/dist/persistence.js:129:40 ❯ Proxy.save packages/accel-record-core/dist/persistence.js:66:26 ❯ Function.create packages/accel-record-core/dist/persistence.js:29:22 ❯ Object.create packages/accel-record-factory/dist/index.js:21:26 ❯ tests/models/query.test.ts:109:11
tests/models/query.test.ts > Query > .where: packages/accel-record-core/dist/relation/base.js#L28
TypeError: rows.map is not a function ❯ Relation.load packages/accel-record-core/dist/relation/base.js:28:30 ❯ tests/models/query.test.ts:115:41
tests/models/query.test.ts > Query > .whereNot(): packages/accel-record-core/dist/table/insert.js#L65
TypeError: Cannot read properties of undefined (reading 'id') ❯ InsertManager.getLastInsertId packages/accel-record-core/dist/table/insert.js:65:14 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:51:68 ❯ InsertManager.insert packages/accel-record-core/dist/table/insert.js:16:14 ❯ Proxy.createRecord packages/accel-record-core/dist/persistence.js:149:33 ❯ Proxy.createOrUpdate packages/accel-record-core/dist/persistence.js:129:40 ❯ Proxy.save packages/accel-record-core/dist/persistence.js:66:26 ❯ Function.create packages/accel-record-core/dist/persistence.js:29:22 ❯ Object.create packages/accel-record-factory/dist/index.js:21:26 ❯ tests/models/query.test.ts:127:11
build (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636