Skip to content

mysql

mysql #717

Triggered via push January 9, 2025 19:12
Status Failure
Total duration 2m 51s
Artifacts

main.yml

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

Annotations

10 errors and 2 warnings
tests/models/connection.test.ts > knex builder: tests/models/connection.test.ts#L41
AssertionError: expected 29 to be 52 // Object.is equality - Expected + Received - 52 + 29 ❯ tests/models/connection.test.ts:41:28
tests/models/persistence.test.ts > Persistence > #update(): tests/models/persistence.test.ts#L49
AssertionError: expected 'hoge' to be 'fuga' // Object.is equality - Expected + Received - fuga + hoge ❯ tests/models/persistence.test.ts:49:39
tests/models/persistence.test.ts > Persistence > #delete(): tests/models/persistence.test.ts#L65
AssertionError: expected 2 to be 1 // Object.is equality - Expected + Received - 1 + 2 ❯ tests/models/persistence.test.ts:65:26
tests/models/persistence.test.ts > Persistence > #destroy(): tests/models/persistence.test.ts#L79
AssertionError: expected 2 to be 1 // Object.is equality - Expected + Received - 1 + 2 ❯ tests/models/persistence.test.ts:79:26
tests/models/user.test.ts > User#tojson() > .all(): tests/models/user.test.ts#L32
AssertionError: expected 'hoge' to deeply equal 'fuga' - Expected + Received - fuga + hoge ❯ tests/models/user.test.ts:32:30
tests/models/user.test.ts > User#tojson() > .count(): tests/models/user.test.ts#L42
AssertionError: expected 1 to be +0 // Object.is equality - Expected + Received - 0 + 1 ❯ tests/models/user.test.ts:42:26
tests/models/user.test.ts > User#tojson() > .includes(): tests/models/user.test.ts#L59
AssertionError: expected [] to have a length of 2 but got +0 - Expected + Received - 2 + 0 ❯ tests/models/user.test.ts:59:36
tests/models/associations/collectionProxy.test.ts > #Collection() > #destroy(): 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 ❯ HasManyThroughAssociation.deleteAll packages/accel-record-core/dist/associations/hasManyThroughAssociation.js:30:9 ❯ HasManyThroughAssociation.destroyAll packages/accel-record-core/dist/associations/hasManyThroughAssociation.js:33:14 ❯ Collection.destroyAll packages/accel-record-core/dist/associations/collectionProxy.js:44:26 ❯ Proxy.destroy packages/accel-record-core/dist/persistence.js:110:27 ❯ HasManyAssociation.destroy packages/accel-record-core/dist/associations/hasManyAssociation.js:39:24 ❯ Collection.destroy packages/accel-record-core/dist/associations/collectionProxy.js:56:38 ❯ tests/models/associations/collectionProxy.test.ts:83:20
tests/models/associations/collectionProxy.test.ts > #Collection() > #replace(): packages/accel-record-core/dist/table/insert.js#L54
TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator)) ❯ 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/associations/collectionProxy.test.ts:88:21
tests/models/associations/collectionProxy.test.ts > #Collection() > replace with setter: 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/associations/collectionProxy.test.ts:98:21
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