ci: add codecov carryforward flag for shielded tests#3287
Conversation
Add two Codecov flags: - rust: main test coverage (always runs) - rust-shielded: ZK/shielded test coverage (carryforward: true) When a PR doesn't trigger ZK tests, Codecov carries forward the last known shielded coverage instead of treating it as zero. This fixes the misleading negative coverage diff on PRs that don't touch shielded code. Also adds coverage instrumentation (cargo-llvm-cov) to the ZK tests job and uploads with the rust-shielded flag. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughConfiguration updates to improve code coverage tracking: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v3.1-dev #3287 +/- ##
============================================
- Coverage 70.42% 68.28% -2.15%
============================================
Files 3293 3293
Lines 262598 262598
============================================
- Hits 184935 179314 -5621
- Misses 77663 83284 +5621
🚀 New features to boost your workflow:
|
Summary
.codecov.yml:rust— main test coverage (always runs, no carryforward)rust-shielded— ZK/shielded test coverage (carryforward: true)cargo-llvm-covinstrumentation to the ZK tests job withrust-shieldedflag uploadTest plan
rust-shieldedflag when they run🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes