canina/docs/audit/18-compiler-diagnostic-dispositions.md
2026-08-06 20:54:44 +03:30

1.9 KiB

Compiler Diagnostic Dispositions

  • Date: 2026-08-06
  • Compiler Command: cmd /c "backend\node_modules\.bin\tsc.cmd --noEmit -p backend\tsconfig.json"
  • Total Diagnostics Discovered: 6
  • Accounted For: 6
  • Unaccounted: 0

Reconciled Compiler Diagnostic Table

Diagnostic ID Error Code File & Line Message Summary Source Category Canonical Finding ID Disposition Required Validation
DIAG-001 TS2322 backend/prisma/seed.ts:54:7 Property slug missing in ProductCreateInput Seed Script TS-002 ACCEPTED_NEW_FINDING Add slug field to seed payload in seed.ts
DIAG-002 TS1272 backend/src/common/metrics.controller.ts:18:32 Type referenced in decorated signature must be imported with import type Production Controller TS-003 ACCEPTED_NEW_FINDING Refactor express Response import to import type { Response }
DIAG-003 TS2339 backend/src/pets/pets.controller.spec.ts:71:19 Property success does not exist on type { id: string, name: string... } Unit Spec Test TEST-001 REVISED_ORIGINAL Update spec assertion to match direct entity return
DIAG-004 TS2339 backend/src/settings/settings.controller.spec.ts:65:19 Property success does not exist on type { key: string, term: string... } Unit Spec Test TEST-001 REVISED_ORIGINAL Update spec assertion to match direct entity return
DIAG-005 TS18047 backend/src/users/users.controller.spec.ts:42:12 result is possibly null Unit Spec Test TEST-001 REVISED_ORIGINAL Add explicit null assertion check in spec
DIAG-006 TS2339 backend/src/users/users.controller.spec.ts:89:19 Property success does not exist on type { id: string, title: string... } Unit Spec Test TEST-001 REVISED_ORIGINAL Update spec assertion to match direct entity return