Skip to content

docs: describe the coverage the CI enforces, and record the line coverage in the ratchet - #579

Merged
ogorzalka merged 1 commit into
developfrom
docs/coverage-reality
Nov 2, 2026
Merged

ogorzalka merged 1 commit into
developfrom
docs/coverage-reality

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

The README, CONTRIBUTING and CLAUDE.md said the unit tests require 100% coverage. Nothing enforces that: the CI runs pest --coverage without --min, and the line coverage it reports is 53.0% (7127 of 13448 lines on b0cc545). What the CI does enforce is the type coverage, at 98% (composer test:type-coverage).

  • The three files now say so: type coverage 98% (enforced), line coverage tracked.
  • .harness.json records coverage: 53 in the ratchet, so the Harness fails a change that lowers the line coverage (tolerance 0.05 point). The Harness already measures it: its last run on develop reports Line coverage (%) recorded - measured 53 new.

.harness.json is protected (QA-02): this change was decided by the owner.

@ogorzalka
ogorzalka merged commit 0a3119a into develop Nov 2, 2026
20 checks passed
@ogorzalka
ogorzalka deleted the docs/coverage-reality branch November 2, 2026 16:19
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