docs: finalize domain-test-checklist + session log + roadmap (test safety net, 100% coverage)
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m48s

This commit is contained in:
Bas van Rossem
2026-07-23 15:40:49 +02:00
parent a53a253f91
commit 472fcf82b8
3 changed files with 97 additions and 8 deletions

View File

@@ -5,16 +5,17 @@ When you change a domain, its box must still hold (or you update this list on pu
Baseline established 2026-07-22 (see plan `2026-07-22-per-domain-test-safety-net`).
Tracked as Plane epic **SL-70**.
## Coverage baseline (Phase A, 2026-07-22)
## Coverage: baseline (Phase A) → final (Phase C), 2026-07-22
| Workspace | % Stmts | % Branch | % Funcs | % Lines |
| --------- | ------- | -------- | ------- | ------- |
| api | 96.94 | 74.29 | 100 | 96.94 |
| worker | 89.62 | 87.42 | 70.58 | 89.62 |
| admin | 92.43 | 84.91 | 78.75 | 92.43 |
| Workspace | Stmts (before → after) | Branch (before → after) | Funcs (before → after) | Tests (before → after) |
| --------- | ---------------------- | ----------------------- | ---------------------- | ---------------------- |
| api | 96.94 → **100** | 74.29 → **100** | 100 → **100** | 103 → **175** |
| worker | 89.62 → **100** | 87.42 → **100** | 70.58 → **100** | 30 → **79** |
| admin | 92.43 → **100** | 84.91 → **100** | 78.75 → **100** | 50 → **129** |
Target after the sweep: near-100% per domain; remaining uncovered lines annotated
`/* c8 ignore next -- <reason> */`, not left silent.
All three workspaces reach **100%** statements/branches/functions/lines. Genuinely
unreachable/defensive lines are annotated `/* c8 ignore next -- <reason> */` (never left silent).
No bugs were found during the sweep — every added test locks in already-correct behavior.
<!-- Phase B appends one "## <domain>" section per domain below. -->