Files
71872c9401 test(compare): cover dashboard and comparison edge cases (#30)
Summary:
- Add Happy DOM CompareView unit tests for the only-changes filter,
  picker apply state, empty aligned rows, and null versus zero score
  formatting.
- Extend comparison integration and controller tests for three-run
  file/id alignment, empty comparison rows, malformed run IDs,
  duplicate run IDs, and structured bad_request responses.
- Reject malformed or duplicate compare run IDs before repository
  lookup, and document the run UUID validation contract.

Rationale:
- SYM-37 called out compare coverage gaps across both the dashboard UI
  and /api/comparisons endpoint behavior.
- Duplicate run IDs previously deduped silently, which hid bad input and
  made the endpoint validation contract weaker than the ticket requires.

Tests:
- bun test tests/unit/dashboard/compare-view.test.tsx
- bun test tests/integration/server/comparisons.test.ts
- bun test tests/unit/server/comparison.test.ts
- bun run docs:validate
- bun run lint
- bun run typecheck
- bun run fast-feedback

Co-authored-by: Symphony Agent <[email protected]>
Co-authored-by: Codex <[email protected]>
2026-04-17 19:03:07 +02:00
..
2026-04-13 10:47:50 +02:00
2026-04-13 10:47:50 +02:00
2026-04-13 10:47:50 +02:00
2026-04-13 10:47:50 +02:00