Skip to content

chore: use target 0% for codecov/patch - #510

Merged
xdustinface merged 1 commit into
v0.42-devfrom
chore/codecov-patch-target
Mar 10, 2026
Merged

xdustinface merged 1 commit into
v0.42-devfrom
chore/codecov-patch-target

Conversation

@xdustinface

@xdustinface xdustinface commented Mar 10, 2026 •

Copy link
Copy Markdown
Collaborator

While the informational: true was unblocking merges the target/threshold still causing the check to show as failed/red which is misleading. With this the patch coverage should become truly informational.

Summary by CodeRabbit

  • Chores
    • Updated code coverage configuration settings to refine how coverage targets are evaluated.

While the `informational: true` was unblocking merges the `target`/`threshold` still causing the check to show as failed/red which is misleading. With this the patch coverage should become truly informational.
@coderabbitai

coderabbitai Bot commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 751f8dfb-e328-4a55-8993-fddc2933eb06

📥 Commits

Reviewing files that changed from the base of the PR and between 98988cc and 585287a.

📒 Files selected for processing (1)
  • .codecov.yml

📝 Walkthrough

Walkthrough

The pull request modifies the .codecov.yml configuration file, specifically updating the patch/default coverage target settings. It replaces a dynamic auto-target configuration with a 2% threshold and informational flag with a simplified fixed 0% coverage target.

Changes

Cohort / File(s) Summary
Configuration Updates
.codecov.yml
Changed patch/default coverage validation from auto-target with 2% threshold and informational flag to a fixed 0% target, simplifying patch coverage requirements.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • dashpay/rust-dashcore#506: Modifies the same .codecov.yml patch.default settings, adjusting coverage validation behavior in a related configuration context.

Suggested reviewers

  • QuantumExplorer

Poem

🐰 Hops of joy for config's grace,
Coverage targets now more base,
Zero percent, no threshold dance,
Simpler rules for quality's chance! 🎯

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately describes the main change: setting the codecov/patch target to 0%, which aligns with the primary modification in .codecov.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/codecov-patch-target

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@xdustinface
xdustinface requested a review from ZocoLini March 10, 2026 16:13
@codecov

codecov Bot commented Mar 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.84%. Comparing base (98988cc) to head (585287a).
⚠️ Report is 3 commits behind head on v0.42-dev.

Additional details and impacted files
@@              Coverage Diff              @@
##           v0.42-dev     #510      +/-   ##
=============================================
- Coverage      66.86%   66.84%   -0.02%     
=============================================
  Files            313      313              
  Lines          64775    64775              
=============================================
- Hits           43314    43302      -12     
- Misses         21461    21473      +12     
Flag Coverage Δ *Carryforward flag
core 74.93% <ø> (ø)
dash-network 74.92% <ø> (ø) Carriedforward from 98988cc
dash-network-ffi 34.74% <ø> (ø) Carriedforward from 98988cc
dash-spv 68.18% <ø> (ø) Carriedforward from 98988cc
dash-spv-ffi 34.74% <ø> (ø) Carriedforward from 98988cc
dashcore 74.92% <ø> (ø) Carriedforward from 98988cc
dashcore-private 74.92% <ø> (ø) Carriedforward from 98988cc
dashcore-rpc 19.92% <ø> (ø) Carriedforward from 98988cc
dashcore-rpc-json 19.92% <ø> (ø) Carriedforward from 98988cc
dashcore_hashes 74.92% <ø> (ø) Carriedforward from 98988cc
ffi 35.98% <ø> (ø)
key-wallet 65.69% <ø> (ø) Carriedforward from 98988cc
key-wallet-ffi 34.74% <ø> (ø) Carriedforward from 98988cc
key-wallet-manager 65.69% <ø> (ø) Carriedforward from 98988cc
rpc 19.92% <ø> (ø)
spv 80.91% <ø> (-0.10%) ⬇️
wallet 65.69% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.
see 3 files with indirect coverage changes

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

@ZocoLini ZocoLini left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I never used this tool but I trust your change ;D

@xdustinface
xdustinface merged commit 949e556 into v0.42-dev Mar 10, 2026
52 checks passed
@xdustinface
xdustinface deleted the chore/codecov-patch-target branch March 10, 2026 17:02
ZocoLini pushed a commit that referenced this pull request Mar 10, 2026
While the `informational: true` was unblocking merges the `target`/`threshold` still causing the check to show as failed/red which is misleading. With this the patch coverage should become truly informational.
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