From b4f735d09a8e5373ba6444c370f1b9f5917e213e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20M=C3=A9ndez?= Date: Sat, 26 Sep 2026 09:27:43 +0000 Subject: [PATCH] Raise the coverage threshold to 100, the measured number tests/coverage.sh is on the default branch since pull request #1 and measures 19 of 19 checks of tests/source-date-epoch.sh on share/product.mk, 100 percent (make has no line tool). The workflow now enforces that number and COVERAGE.md records it as the measured baseline. --- .github/workflows/tests.yml | 8 ++++---- COVERAGE.md | 10 +++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 14f095f..86b6707 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,6 @@ -# Coverage gate for fab. Threshold 0: nothing is measured on master -# (COVERAGE.md; tests/regtest.sh is a root-and-network harness). tests/coverage.sh -# arrives with feat/source-date-epoch; raise the threshold when it merges. +# Coverage gate: 100 percent, the number tests/coverage.sh measures on this +# branch (COVERAGE.md, "measured baseline"). Only ever raised (decision 0006). +# The check is "tests / coverage". name: tests on: pull_request: @@ -10,4 +10,4 @@ jobs: tests: uses: keel-linux/.github/.github/workflows/test-shell.yml@main with: - threshold: 0 + threshold: 100 diff --git a/COVERAGE.md b/COVERAGE.md index 4e96df0..4d51d81 100644 --- a/COVERAGE.md +++ b/COVERAGE.md @@ -4,7 +4,15 @@ Measured on 2026-09-24 against upstream master (d7a314d), following the project decision 0003 (90 percent floor per repository, 95 percent for every file our changes touch). -## Baseline: 0 percent, nothing measured +## Measured baseline on the default branch: 100 percent (2026-09-26) + +Pull request #1 merged on 2026-09-26 (merge commit e79be43) and brought +`tests/coverage.sh` with it: 19 of 19 checks of tests/source-date-epoch.sh on share/product.mk, 100 percent (make has no line tool). The gate in +`.github/workflows/tests.yml` is set to 100, the measured number rounded +down, and is only ever raised. The sections that follow record the state +before the merge. + +## Baseline before the merge: 0 percent, nothing measured `tests/` holds `regtest.sh` (77 lines), `override.sh`, `parseopts.py` and `ptyfork.py`: a regression harness that expects a fab checkout at a hard