Skip to content

Add parent entity field to entity creation and edit flows #2121

Add parent entity field to entity creation and edit flows

Add parent entity field to entity creation and edit flows #2121

GitHub Actions / JUnit Test Report failed Mar 5, 2025 in 0s

524 tests run, 522 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 38 in node_modules/.pnpm/jscodeshift@17.1.2_@babel+preset-env@7.24.7_@babel+core@7.26.8_/node_modules/jscodeshift/parser/ts.js

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.merge A from B

update or delete on table "entity" violates foreign key constraint "entity_alias_entity_id_entity_id_fk" on table "entity_alias"
Raw output
error: update or delete on table "entity" violates foreign key constraint "entity_alias_entity_id_entity_id_fk" on table "entity_alias"
  ../../node_modules/.pnpm/pg@8.13.0/node_modules/pg/lib/client.js:535:17
  src/worker/jobs/mergeEntity.ts:109:5
  NodePgSession.transaction ../../node_modules/.pnpm/drizzle-orm@0.39.3_@opentelemetry+api@1.9.0_@types+pg@8.11.6_pg@8.13.0/node_modules/src/node-postgres/session.ts:193:19
  Module.mergeEntity [as default] src/worker/jobs/mergeEntity.ts:39:3
  src/worker/jobs/mergeEntity.test.ts:38:3

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 317, severity: 'ERROR', code: '23503', detail: 'Key (id)=(1) is still referenced from table "entity_alias".', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'entity_alias', column: undefined, dataType: undefined, constraint: 'entity_alias_entity_id_entity_id_fk', file: 'ri_triggers.c', line: '2612', routine: 'ri_ReportViolation' }

Check failure on line 6 in node_modules/.pnpm/jscodeshift@17.1.2_@babel+preset-env@7.24.7_@babel+core@7.26.8_/node_modules/jscodeshift/parser/ts.js

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.lists tags

duplicate key value violates unique constraint "bottle_alias_name_idx"
Raw output
error: duplicate key value violates unique constraint "bottle_alias_name_idx"
  ../../node_modules/.pnpm/pg@8.13.0/node_modules/pg/lib/client.js:535:17
  src/lib/test/fixtures.ts:398:5
  NodePgSession.transaction ../../node_modules/.pnpm/drizzle-orm@0.39.3_@opentelemetry+api@1.9.0_@types+pg@8.11.6_pg@8.13.0/node_modules/src/node-postgres/session.ts:193:19
  Module.Bottle src/lib/test/fixtures.ts:320:10
  src/trpc/routes/userTagList.test.ts:6:19

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 265, severity: 'ERROR', code: '23505', detail: 'Key (lower(name::text))=(knockando 18-year-old american single malt) already exists.', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'public', table: 'bottle_alias', column: undefined, dataType: undefined, constraint: 'bottle_alias_name_idx', file: 'nbtinsert.c', line: '666', routine: '_bt_check_unique' }