Repository navigation
ci: pin Codecov patch target at 85% - #221
Merged
Merged
Conversation
Without a codecov.yml, the patch target was dev's current coverage. It rose with every well-tested merge and failed refactors that touched untested code (PR CodeWithMa#220 hit an unchosen 90.16% bar). The patch check now has a fixed 85% target. The project check keeps its auto target with 0.5% slack, so small drops after deleting code do not fail a PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@CodeWithMaBot is attempting to deploy a commit to the Ma's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Why
Codecov's patch target is a moving number nobody chose. The repo has no
codecov.yml, so the patch target defaults todev's coverage at the time a PR is opened. That bar rises with every well-tested merge, and it fails cleanup PRs that rewrite old untested code. #220 failed against a 90.16% target that came out of that default.What
codecov.ymlsets two status checks:autotarget with a 0.5% threshold, so a small drop in overall coverage, such as after deleting well-covered code, does not fail a PR.Verification
curl --data-binary @codecov.yml https://codecov.io/validatereturnsValid!.🤖 Generated with Claude Code