SG-43838 Make Codecov checks advisory with 80% threshold#1109
Merged
Conversation
Coverage checks now use informational: true so CI is never blocked by coverage. Patch and project checks only flag below 80% coverage, with a 1% threshold on project to suppress noise from small changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1109 +/- ##
=======================================
Coverage 79.45% 79.46%
=======================================
Files 206 206
Lines 21007 21007
=======================================
+ Hits 16692 16694 +2
+ Misses 4315 4313 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
3 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Codecov configuration so coverage status checks become advisory (non-blocking) while still highlighting meaningful coverage drops below an 80% target.
Changes:
- Adds
coverage.statusconfiguration for bothprojectandpatchchecks. - Marks both checks as
informational: trueso coverage warnings don’t fail CI. - Sets
target: 80%for both checks and addsthreshold: 1%for project coverage to reduce noise from small fluctuations.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
julien-lang
approved these changes
Jul 6, 2026
carlos-villavicencio-adsk
approved these changes
Jul 6, 2026
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.
Summary
informational: trueon both project and patch Codecov checks so CI is never blocked by coverage warningstarget: 80%on both checks — Codecov only annotates when coverage genuinely drops below 80%threshold: 1%on the project check to suppress noise from small changesContext
The previous configuration had no
coverage.statussection, so Codecov was using its defaults: patch check requires 100% of new lines covered, and failures block CI. This meant a PR adding 3 lines of code with 1 uncovered line would fail CI with a 66% coverage warning — despite the uncovered line being untestable or trivial.With these changes:
Test plan
Jira: SG-43838
🤖 Generated with Claude Code