Repository navigation
ci: pass --coverage-settings as an absolute path - #52
Conversation
Microsoft.Testing.Extensions.CodeCoverage 18.12.0 (bumped on 2026-10-07) rejects a relative
settings path ("Provided settings file doesn't exist or is invalid"), so the coverage job has
failed on main since. Use ${{ github.workspace }}, the form PanoramicData.NugetManagement's
CoverageSettingsPathEditor produces.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | Report missing for 7d244a71 |
| Diff coverage | ✅ ∅ diff coverage |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (7d244a7) Report Missing Report Missing Report Missing Head commit (b0b43a7) 206 135 65.53% Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#52) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
No merge-blocking issues were identified. Codacy reports the PR as up to standards. The required end-to-end verification that the absolute coverage settings path is accepted and coverage is generated has not been demonstrated.
Test suggestions
- Run the CI coverage command with the absolute coverage.config path and verify that the settings file is accepted and coverage is generated.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Run the CI coverage command with the absolute coverage.config path and verify that the settings file is accepted and coverage is generated.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
The
coveragejob has failed onmainsince 2026-10-07 with:Cause
Microsoft.Testing.Extensions.CodeCoveragewas bumped 18.11.2 -> 18.12.0 by a governance remediation commit (297f75d). 18.12.0 rejects a relative--coverage-settingspath (it resolves it against the test host, not the repo root) but accepts an absolute one.coverage.configitself is fine: reproduced locally, the same file is accepted by absolute path and rejected by relative path.Change
--coverage-settings ${{ github.workspace }}/coverage.config, the formPanoramicData.NugetManagement'sCoverageSettingsPathEditorproduces.Checked
Reproduced the rejection locally with 18.12.0, and confirmed the absolute path is accepted. The coverage job on this PR is the real confirmation.
🤖 Generated with Claude Code