ci: normalize maintained source coverage#416
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
This PR updates CI and documentation so repository coverage metrics reflect maintained source (excluding build output and generated files) and enforces an explicit 95% Codecov coverage floor, aligning with issue #412.
Changes:
- Update
codecov.ymlto ignorebin/**,obj/**, and*.g.cs, and add explicit 95% project/patch status targets. - Apply the same maintained-source file filters to CI’s ReportGenerator step.
- Update quality gate docs to use the solution-level coverage command and document the maintained-source ReportGenerator command.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
docs/guides/quality-gates.md |
Updates local coverage and report-generation instructions to match CI and maintained-source filtering. |
codecov.yml |
Adds maintained-source ignores and enforces 95% project/patch coverage targets. |
.github/workflows/ci.yml |
Extends ReportGenerator file filters to exclude obj/, bin/, and *.g.cs from published CI coverage summaries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results 12 files 12 suites 6m 54s ⏱️ Results for commit e082009. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #416 +/- ##
==========================================
+ Coverage 89.63% 95.69% +6.06%
==========================================
Files 551 551
Lines 44183 44183
Branches 6357 6357
==========================================
+ Hits 39604 42282 +2678
+ Misses 2051 1901 -150
+ Partials 2528 0 -2528
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔍 PR Validation ResultsVersion: `` ✅ Validation Steps
📊 ArtifactsDry-run artifacts have been uploaded and will be available for 7 days. This comment was automatically generated by the PR validation workflow. |
Code Coverage |
Closes #412.
Normalizes repository coverage to maintained source and adds explicit 95% Codecov project/patch targets.
Changes:
bin/**,obj/**, and generated*.g.csbuild output in CodecovLocal validation: