ci: exclude generated/boilerplate packages from coverage#3354
Conversation
Exclude packages that inflate coverage metrics without representing testable application logic: - dapi-grpc: generated gRPC bindings - dashpay-contract, dpns-contract, feature-flags-contract, keyword-search-contract, masternode-reward-shares-contract, token-history-contract, wallet-utils-contract, withdrawals-contract, data-contracts: JSON schema definitions with only auto-generated load_* boilerplate - rs-platform-version: large const version tables, not logic - simple-signer: thin test-only wrapper This focuses the coverage % on the actual application code (dpp, drive, drive-abci, sdk, dapi, etc.) where coverage improvements matter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ 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 Tip CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.Add a .trivyignore file to your project to customize which findings Trivy reports. |
Issue being fixed or feature implemented
Coverage metrics are diluted by packages that contain no testable application logic — generated gRPC bindings, JSON schema boilerplate, version const tables, etc. These inflate the denominator without being meaningful coverage targets.
What was done?
Added the following to
.codecov.ymlignore list:dapi-grpcdashpay-contractdata-contractsdpns-contractfeature-flags-contractkeyword-search-contractmasternode-reward-shares-contracttoken-history-contractwallet-utils-contractwithdrawals-contractrs-platform-versionsimple-signerThis focuses the project coverage % on actual application code (dpp, drive, drive-abci, sdk, dapi, etc.).
How Has This Been Tested?
Codecov config change only — no code changes.
Breaking Changes
None.
Checklist:
🤖 Generated with Claude Code