Repository navigation
ci: lower the coverage floors and drop the README coverage gate - #48
Merged
Merged
Conversation
The unit floor moves from 75 lines / 80 functions / 75 statements to 70 for all three, with branches unchanged at 60. The crate's per-module floor moves from 75 to 70. Both are backstops against a module nobody tested and sit well under real coverage, so an ordinary change cannot trip them. CI no longer checks that the README's Testing section matches a real run. That step failed a build whenever a test was added, because the test count must match exactly, and whenever coverage moved by more than a point, on changes that had nothing wrong with them. The section is regenerated at release, and coverage:readme:check is still there to run by hand.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gives the coverage gates room so an ordinary change cannot trip them.
bun run coverage:readme:checkis still there to run by hand.AGENTS.md,CLAUDE.mdand the crate documents state the new numbers.The same change is open in all sixteen extension repos.
vitest.config.tsandci.ymlare held byte-identical across them, so these merge together.Verified locally: lint, typecheck, unit tests with coverage, the agent-files check, and
check:fleetandcheck:doc-pathsfrom the site.