Skip to content

ci: ratchet the e2e source-region floor to 95 - #1201

Merged
mrbobbytables merged 1 commit into
cncf:mainfrom
mrbobbytables:e2e-source-regions-floor-95
Oct 8, 2026
Merged

mrbobbytables merged 1 commit into
cncf:mainfrom
mrbobbytables:e2e-source-regions-floor-95

Conversation

@mrbobbytables

Copy link
Copy Markdown
Member

Summary

Completes the last open criterion of #1079: re-derive the --check-source-regions floor in .github/workflows/ci.yml from the corrected number, now that PR #1163 (merged) folds the crossing-region source-map drift the issue measured. This is the workflow edit the Hive lane could not push.

Evidence

Full local run of the e2e coverage pipeline at current main (29fd4d8): npm run build:e2e:coverage, e2e-coverage-run.mjs init, npm run test:e2e:coverage (340 passed, 0 failed), seal, e2e-coverage-report.mjs --input <dir> --build build:

src files | 100.00 | 95.22 | 2099/2099 lines | 438/460 regions

#1079's completion criteria, checked against this run:

Changes

Following the established ratchet pattern (measured 91.63 → floor 91 in #1105), the floor becomes floor(95.22) = 95, updated everywhere the value is pinned, in the same change as tests/e2e-coverage-gate.test.mjs instructs:

  • .github/workflows/ci.yml: --check-source-regions 91 → 95
  • tests/e2e-coverage-gate.test.mjs: FLOORS, fixture staleness guards, provenance comment
  • tests/workflow-scripts.test.mjs: the gating-job assertion and its provenance comment
  • CONTRIBUTING.md: the local-reproduction recipe

Validation

  • npm run test:unit:coverage:check: passes (0 failures)
  • node tests/tools/e2e-coverage-report.mjs --input <run> --build build --check-source 100 --check-source-regions 95 --require-source-files: exit 0 against the local run

Residue (not blocking)

useFocusTrap.js line 51 — the fourth same-shape region recorded in #1079's comment — still reports uncovered (file at 90.48% regions, lines 35 and 51) after #1163's fold, so its drift pair is not a strict crossing. It is inside the 95 floor's headroom and separable; noting it on #1079 before close.

Closes #1079

The last completion criterion of cncf#1079: re-derive --check-source-regions
from the corrected number after cncf#1163 folded the crossing-region
source-map drift the issue measured.

A full local run of the pipeline (build:e2e:coverage, 340 passing specs,
seal, report) at main measures source regions at 95.22% (438/460), up
from the 80.98% that set the current floor of 91's predecessor. The
three regions cncf#1079 proved executed (MemberProfile.js 10 and 15,
MemberCard.js 75) now fold, and MemberDirectory/index.js 31/34/40/43
are covered for real since cncf#1060 merged.

Following the established ratchet pattern (measured 91.63 -> floor 91
in cncf#1105), the floor becomes floor(95.22) = 95. Updated in the same
change, as tests/e2e-coverage-gate.test.mjs instructs: the workflow
gate, the FLOORS guard and its fixtures, the workflow-scripts gating
assertion, and the CONTRIBUTING.md recipe.

Closes cncf#1079

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant