From 582191d01463fa1979c7153c192449d27f9c0fcc Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 14 May 2026 09:03:45 +0200 Subject: [PATCH] docs(adr-013): set exact baseline to 75% (confirmed in CI) Co-Authored-By: Claude Sonnet 4.6 --- docs/adr/013-client-branches-coverage-threshold.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/adr/013-client-branches-coverage-threshold.md b/docs/adr/013-client-branches-coverage-threshold.md index a4058fa5..7086a0e1 100644 --- a/docs/adr/013-client-branches-coverage-threshold.md +++ b/docs/adr/013-client-branches-coverage-threshold.md @@ -8,12 +8,12 @@ ## Context -The browser-mode component test suite (`vitest.client-coverage.config.ts`) enforces Istanbul coverage thresholds across `lines`, `functions`, `branches`, and `statements`. The `branches` metric was set to 80%, but the codebase sits at approximately **75%** — below the gate — causing every CI run of `unit-tests` and `coverage-flake-probe` to fail on this check alone, even when all tests are green. +The browser-mode component test suite (`vitest.client-coverage.config.ts`) enforces Istanbul coverage thresholds across `lines`, `functions`, `branches`, and `statements`. The `branches` metric was set to 80%, but the codebase sits at **75%** — below the gate — causing every CI run of `unit-tests` and `coverage-flake-probe` to fail on this check alone, even when all tests are green. **Measured baseline (2026-05-14, branch `feat/issue-553-birpc-async-mock-factory`, head `2e6cc346`):** ``` -branches: ~75% (below the 80% gate — reason for this ADR) +branches: 75% (below the 80% gate — reason for this ADR) lines: ≥ 80% functions: ≥ 80% statements: ≥ 80%