Skip to content

Add codecov threshold to unblock dependency update PRs#227

Merged
compscidr merged 2 commits intomainfrom
fix/codecov-threshold
Mar 15, 2026
Merged

Add codecov threshold to unblock dependency update PRs#227
compscidr merged 2 commits intomainfrom
fix/codecov-threshold

Conversation

@compscidr
Copy link
Owner

Summary

Coverage failures across open PRs

PR Coverage Drop
#225 (Gradle 9.4.0) 60.48% -1.02%
#224 (AGP 9.1.0) 61.35% -0.15%
#222 (Kotlin 2.3.10) 60.82% -0.68%
#214 (Compose UI Tooling 1.10.5) 61.25% -0.25%
#211 (NMCP 1.4.4) 60.86% -0.63%
#208 (Compose BOM 2026.03.00) 60.53% -0.68%

All are within the 2% threshold.

Test plan

  • Merge this PR
  • Rebase/retry the Renovate PRs — codecov/project should pass

🤖 Generated with Claude Code

Dependency update PRs (Renovate) cause minor coverage fluctuations
(0.15-1.02%) due to how different compiler/library versions affect
coverage measurement. Without a threshold, codecov/project blocks
these PRs even though no source code changed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 15, 2026 23:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a Codecov configuration to relax the codecov/project status check so dependency-only Renovate PRs aren’t blocked by small coverage fluctuations.

Changes:

  • Introduces .codecov.yml to allow up to a 2% project coverage drop.
  • Configures Codecov status checks for project (and also patch).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.59%. Comparing base (4f028fe) to head (a42a167).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #227      +/-   ##
============================================
- Coverage     62.07%   61.59%   -0.49%     
+ Complexity      235      229       -6     
============================================
  Files            15       15              
  Lines          2070     2070              
  Branches        315      315              
============================================
- Hits           1285     1275      -10     
- Misses          607      611       +4     
- Partials        178      184       +6     
Flag Coverage Δ
libunittests 61.59% <ø> (-0.49%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@compscidr compscidr merged commit 5bf8af5 into main Mar 15, 2026
3 checks passed
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