Skip to content

add .circleci/config.yml #710

add .circleci/config.yml

add .circleci/config.yml #710

Triggered via push January 9, 2025 18:55
Status Failure
Total duration 2m 55s
Artifacts

main.yml

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

Annotations

12 errors and 2 warnings
tests/models/query.test.ts > Query > updateAll: packages/accel-record-core/dist/database.js#L101
TypeError: Cannot read properties of undefined (reading 'command') ❯ formatByEngine packages/accel-record-core/dist/database.js:101:17 ❯ 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/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/database.js#L82
Error: Undefined binding(s) detected when compiling SELECT. Undefined column(s): [_id] query: select * from "User" where "_id" = ? limit ? ❯ QueryCompiler_PG.toSQL node_modules/knex/lib/query/querycompiler.js:112:13 ❯ QueryBuilder_PostgreSQL.toSQL node_modules/knex/lib/query/querybuilder.js:84:44 ❯ Module.exec packages/accel-record-core/dist/database.js:82:65 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:54:26 ❯ 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 > Query > .offset(): packages/accel-record-core/dist/database.js#L82
Error: Undefined binding(s) detected when compiling SELECT. Undefined column(s): [_id] query: select * from "User" where "_id" = ? limit ? ❯ QueryCompiler_PG.toSQL node_modules/knex/lib/query/querycompiler.js:112:13 ❯ QueryBuilder_PostgreSQL.toSQL node_modules/knex/lib/query/querybuilder.js:84:44 ❯ Module.exec packages/accel-record-core/dist/database.js:82:65 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:54:26 ❯ 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 > Query > .limit(): packages/accel-record-core/dist/database.js#L82
Error: Undefined binding(s) detected when compiling SELECT. Undefined column(s): [_id] query: select * from "User" where "_id" = ? limit ? ❯ QueryCompiler_PG.toSQL node_modules/knex/lib/query/querycompiler.js:112:13 ❯ QueryBuilder_PostgreSQL.toSQL node_modules/knex/lib/query/querybuilder.js:84:44 ❯ Module.exec packages/accel-record-core/dist/database.js:82:65 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:54:26 ❯ 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 > 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/database.js#L82
Error: Undefined binding(s) detected when compiling SELECT. Undefined column(s): [_id] query: select * from "User" where "_id" = ? limit ? ❯ QueryCompiler_PG.toSQL node_modules/knex/lib/query/querycompiler.js:112:13 ❯ QueryBuilder_PostgreSQL.toSQL node_modules/knex/lib/query/querybuilder.js:84:44 ❯ Module.exec packages/accel-record-core/dist/database.js:82:65 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:54:26 ❯ 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 > Query > .whereRaw(): packages/accel-record-core/dist/database.js#L82
Error: Undefined binding(s) detected when compiling SELECT. Undefined column(s): [_id] query: select * from "User" where "_id" = ? limit ? ❯ QueryCompiler_PG.toSQL node_modules/knex/lib/query/querycompiler.js:112:13 ❯ QueryBuilder_PostgreSQL.toSQL node_modules/knex/lib/query/querybuilder.js:84:44 ❯ Module.exec packages/accel-record-core/dist/database.js:82:65 ❯ InsertManager.retriveInsertedAttributes packages/accel-record-core/dist/table/insert.js:54:26 ❯ 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/relation/batches.test.ts > #findInBatches(): tests/models/relation/batches.test.ts#L24
AssertionError: expected [ 'bar', 'baz' ] to deeply equal [ 'foo', 'bar' ] - Expected + Received Array [ - "foo", "bar", + "baz", ] ❯ tests/models/relation/batches.test.ts:24:41
build (20.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