mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 19:02:17 +03:00
check:vitest-exclusions — a file in vitest.config.ts's exclude list is a test that does not run, indistinguishable from one that does not exist except that it looks like coverage. 62 files accumulated behind '// #8618 — pre-existing failure', while #8618 itself was closed on 2026-08-11 and the list grew from 45 to 62. The gate requires every exclusion to name a tracker and to appear in config/quality/vitest-exclusions.json with its measured status, so growth is a reviewable diff in a dedicated file. It does not re-run the tests — that is a periodic job, and the inventory records when each was last measured. check-new-key-coverage — sibling of check-ui-value-drift. That one catches a rewritten English value leaving stale translations; this one catches a new English key that some locales never received. check-ui-keys-coverage cannot: it is a percentage floor per locale, and 11 absent keys out of ~13,000 leaves it at 99.9%. Proven retroactively against the real incident — with BASE_REF set before the Phase 3 merge it flags all 11 canvas keys across exactly the nine EU locales that missed them, plus 3 keys from other features with the same problem. Both are diff-aware against the merge base, so pre-existing gaps stay frozen and neither needed a migration. Both wired into ci.yml and documented in docs/architecture/QUALITY_GATES.md, with 14 tests covering the pure cores. Refs #13204