Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

Coverage was measured but not enforced—PRs could merge regardless of coverage drops.

Changes

Modified .codecov.yml to block PRs when coverage falls below 90%:

  • Project coverage: Changed from informational: true (report-only) to informational: false (blocking)
  • Target: Set explicit 90% threshold instead of auto
  • Threshold: Maintained 0% tolerance consistent with existing patch coverage enforcement

Both project (overall) and patch (changed lines) coverage checks now require ≥90% to pass.

Original prompt

This section details on the original issue you should resolve

<issue_title>[BUG] Low code coverage should block PR</issue_title>
<issue_description>## Expected Behavior
If code coverage for PR is <90%, PR should be blocked

Actual Behavior

Code coverages is measured, but not used.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: harsha-simhadri <5590673+harsha-simhadri@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix coverage threshold to block PRs below 90 percent Enforce 90% code coverage threshold on PRs Feb 10, 2026
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.

[BUG] Low code coverage should block PR

3 participants