From cd7d578e9ab1e01b5c2e58e8172bf97641783ef3 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Wed, 30 Sep 2026 23:13:43 -0400 Subject: [PATCH] test: move check-conformance's branch floor to where the file now stands The floors were measured before #838 and #840 merged. #838 added the release-wiring check to check-conformance.mjs, whose defensive branches (an unreadable workflow file, and the CLI dispatch in main) no test reaches, so the file's branch coverage moved from the measured 94% to 93.07% and main's scripts suite went red. Per the floors rule, the row moves to where the file stands now: 645 of 693 branches covered, less the two-branch allowance, is 92. --- scripts/coverage-floors.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coverage-floors.json b/scripts/coverage-floors.json index 884172ea3..998a003c8 100644 --- a/scripts/coverage-floors.json +++ b/scripts/coverage-floors.json @@ -1,6 +1,6 @@ { "scripts/auto-close-duplicates.mjs": { "lines": 50, "branches": 83, "functions": 66 }, - "scripts/check-conformance.mjs": { "lines": 70, "branches": 94, "functions": 79 }, + "scripts/check-conformance.mjs": { "lines": 70, "branches": 92, "functions": 79 }, "scripts/check-consumer-sbom.mjs": { "lines": 99, "branches": 88, "functions": 100 }, "scripts/check-pointer-urls.mjs": { "lines": 98, "branches": 86, "functions": 100 }, "scripts/check-security-txt-expiry.mjs": { "lines": 94, "branches": 84, "functions": 88 },