Skip to content

codecov snippet: scope 'never gating' to Codecov's advisory statuses - #282

Merged
ptr727 merged 1 commit into
developfrom
fix/codecov-comment-accuracy
Jul 12, 2026
Merged

codecov snippet: scope 'never gating' to Codecov's advisory statuses#282
ptr727 merged 1 commit into
developfrom
fix/codecov-comment-accuracy

Conversation

@ptr727

@ptr727 ptr727 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

The canonical codecov.yml comment said 'Coverage is reported and trended, never gated', which is misleading: Python repos gate coverage via pytest fail_under. Scope the claim to Codecov's advisory statuses (true in every tier). Surfaced by Copilot on aiopurpleair #27; the two Python repos in flight already carry the reworded comment.

The old comment 'Coverage is reported and trended, never gated' reads as absolute,
but a repo can enforce a coverage floor separately (Python repos gate via pytest
fail_under). Scope the claim to Codecov's statuses, which are advisory in every tier.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 12, 2026 00:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Codecov configuration snippet comment to accurately scope the "never gating" claim to Codecov's coverage statuses (which are configured as advisory via informational: true), avoiding confusion with coverage gating that can occur elsewhere (e.g., test runners enforcing thresholds).

Changes:

  • Reword the header comment to clarify that only Codecov's coverage status checks are advisory and non-blocking.

@ptr727
ptr727 merged commit 36baa01 into develop Jul 12, 2026
7 checks passed
@ptr727
ptr727 deleted the fix/codecov-comment-accuracy branch July 12, 2026 02:10
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.

2 participants