Skip to content
Triggered via push January 9, 2025 19:00
Status Failure
Total duration 2m 50s
Artifacts

main.yml

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

Annotations

5 errors and 2 warnings
tests/models/query.test.ts > Query > #findInBatches(): 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 ❯ InsertManager.insert packages/accel-record-core/dist/table/insert.js:15:27 ❯ 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:219:13
tests/models/model/validation.test.ts > uniqueness by scope: 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 ❯ Module.execSQL packages/accel-record-core/dist/database.js:97:12 ❯ Function.rollbackNestableTransaction packages/accel-record-core/dist/transaction.js:64:13 ❯ Function.clean packages/accel-record-core/dist/testUtils.js:7:15 ❯ tests/vitest.setup.ts:74:19
tests/models/model/validation.test.ts > custom: 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 ❯ UniquenessValidator.validate packages/accel-record-core/dist/validation/validator/uniqueness.js:18:89 ❯ Proxy.validates packages/accel-record-core/dist/model/validations.js:113:78 ❯ Proxy.validateAttributes tests/models/validateSample.ts:34:10 ❯ Proxy.runValidations packages/accel-record-core/dist/model/validations.js:63:14 ❯ Proxy.isValid packages/accel-record-core/dist/model/validations.js:28:14 ❯ tests/models/model/validation.test.ts:164:17
tests/models/model/validation.test.ts > validatesWith: 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 ❯ UniquenessValidator.validate packages/accel-record-core/dist/validation/validator/uniqueness.js:18:89 ❯ Proxy.validates packages/accel-record-core/dist/model/validations.js:113:78 ❯ Proxy.validateAttributes tests/models/validateSample.ts:34:10 ❯ Proxy.runValidations packages/accel-record-core/dist/model/validations.js:63:14 ❯ Proxy.isValid packages/accel-record-core/dist/model/validations.js:28:14 ❯ tests/models/model/validation.test.ts:176:17
build (22.x)
Process completed with exit code 1.
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