chore(ci): code coverage reporter - #319
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/elements/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe change configures merged Vitest coverage reporting, generates Cobertura XML, uploads coverage for eligible CI runs, tracks coverage outputs, and adds plot and scene label rules. ChangesCoverage reporting pipeline
Project label rules
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant ProjectTests as project test:coverage tasks
participant CoverageGenerator as generateCoverageReport
participant CIWorkflow as GitHub Actions CI
participant CodeQuality as GitHub Code Quality
ProjectTests->>CoverageGenerator: provide coverage-final.json files
CoverageGenerator->>CIWorkflow: write coverage/cobertura.xml
CIWorkflow->>CodeQuality: upload TypeScript coverage
Merge Risk: ⚪ Minimal · up to The coverage pipeline and CI upload wiring have no confirmed failure, so this change is mergeable with normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 5 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
5073fd3 to
e43e75e
Compare
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/vitestThe overall line coverage in commit 9b14a2c in the Show a line coverage summary of the most covered files.
Updated |
e43e75e to
b983eea
Compare
| "ci-profile.test.js", | ||
| "coverage-projects.js", | ||
| "coverage.js", | ||
| "coverage.test.js", |
There was a problem hiding this comment.
Proactively adding this reference to coverage.test.js for a follow-up, or is the file missing?
There was a problem hiding this comment.
Fixed, it was dead code
Signed-off-by: Cory Rylan <crylan@nvidia.com>
b983eea to
9b14a2c
Compare
|
🎉 This issue has been resolved in version 2.8.0 🎉 |
Summary by CodeRabbit
New Features
Documentation
Chores