Skip to content

Raise the coverage threshold to 99, the measured number - #2

Merged
marcos-mendez merged 1 commit into
masterfrom
chore/threshold-99
Sep 26, 2026
Merged

marcos-mendez merged 1 commit into
masterfrom
chore/threshold-99

Conversation

@marcos-mendez

Copy link
Copy Markdown
Collaborator

Problem: the gate in .github/workflows/tests.yml still says 0 (nothing measured) although tests/coverage.sh is on the default branch since pull request #1 (merge commit 994ecf4).

Diagnosis: the bootstrap threshold was a placeholder until a coverage script existed (docs/ci-cd.md section 3).

Fix: threshold 99, the number the script measures rounded down (tkldev-setup 185 of 186 lines under kcov, 99.46 percent, 63 bats); COVERAGE.md gets a measured baseline section with the date and merge commit. Never lowered from here (decision 0006).

Tests: the required check runs tests/coverage.sh with COVERAGE_THRESHOLD=99 on the merge ref of this pull request.

Serves BRIEF section 10 (tests and coverage enforced in GitHub) and org-plan section 3 step 5.

tests/coverage.sh is on the default branch since pull request #1 and
measures tkldev-setup 185 of 186 lines under kcov, 99.46 percent, 63 bats. The workflow now enforces that number and COVERAGE.md
records it as the measured baseline.
@marcos-mendez
marcos-mendez merged commit 698fcdd into master Sep 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant