Skip to content

fix(api): removed ProjectImage entity in favor of a join table between project and media #6044

fix(api): removed ProjectImage entity in favor of a join table between project and media

fix(api): removed ProjectImage entity in favor of a join table between project and media #6044

Triggered via pull request October 2, 2025 16:11
Status Failure
Total duration 4m 43s
Artifacts

api-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
test
Process completed with exit code 1.
src/routes/pages/__tests__/deleteManyPage.e2e.ts > DeleteManyPage route > delete many pages happy path: packages/@liexp/backend/lib/providers/orm/database.provider.js#L18
DBError: duplicate key value violates unique constraint "UQ_c626d5727165ae77d148007940d" ❯ ../../packages/@liexp/backend/lib/providers/orm/database.provider.js:18:16 ❯ ../../packages/@liexp/backend/lib/providers/orm/database.provider.js:32:24 ❯ ../../node_modules/fp-ts/lib/TaskEither.js:238:50 ❯ step ../../node_modules/fp-ts/lib/TaskEither.js:56:23 ❯ Object.throw ../../node_modules/fp-ts/lib/TaskEither.js:37:53 ❯ rejected ../../node_modules/fp-ts/lib/TaskEither.js:29:65 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 500, details: { kind: 'ServerError', status: '500', meta: [ 'QueryFailedError', 'QueryFailedError: duplicate key value violates unique constraint "UQ_c626d5727165ae77d148007940d"\n at PostgresQueryRunner.query (/home/runner/work/lies.exposed/lies.exposed/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at InsertQueryBuilder.execute (/home/runner/work/lies.exposed/lies.exposed/src/query-builder/InsertQueryBuilder.ts:164:33)\n at SubjectExecutor.executeInsertOperations (/home/runner/work/lies.exposed/lies.exposed/src/persistence/SubjectExecutor.ts:435:42)\n at SubjectExecutor.execute (/home/runner/work/lies.exposed/lies.exposed/src/persistence/SubjectExecutor.ts:137:9)\n at EntityPersistExecutor.execute (/home/runner/work/lies.exposed/lies.exposed/src/persistence/EntityPersistExecutor.ts:182:21)' ] } }
lint: services/api/src/flows/graphs/createFlowGraph.flow.ts#L125
Unexpected any. Specify a different type
lint: services/api/src/flows/graphs/createFlowGraph.flow.ts#L124
Unexpected any. Specify a different type
lint: services/api/src/flows/graphs/createFlowGraph.flow.ts#L123
Unexpected any. Specify a different type
lint: services/api/src/flows/graphs/createFlowGraph.flow.ts#L77
Unexpected any. Specify a different type
lint: services/api/src/flows/graphs/createFlowGraph.flow.ts#L43
Unexpected any. Specify a different type
lint: services/api/src/flows/graphs/createFlowGraph.flow.ts#L42
Unexpected any. Specify a different type
lint: services/api/src/flows/flow.types.ts#L9
Unexpected any. Specify a different type
lint: services/api/src/context/index.ts#L139
Unexpected any. Specify a different type
lint: services/api/src/context/index.ts#L113
Unexpected any. Specify a different type
lint: services/api/src/app/index.ts#L19
Unexpected any. Specify a different type