Skip to content

Remove leftover OpenCover and CodecovUploader tooling - #4129

Merged
AArnott merged 3 commits into
masterfrom
remove-opencover-leftovers
Oct 8, 2026
Merged

AArnott merged 3 commits into
masterfrom
remove-opencover-leftovers

Conversation

@AArnott

@AArnott AArnott commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Removes coverage tooling that nothing uses since #4105 retired Azure Pipelines and #4126 moved coverage to coverlet with a codecov-action upload.

  • Delete build/opencover-report.ps1 and its entry in StyleCopAnalyzers.sln. It ran OpenCover (no longer in .nuget/packages.config) against net452/net46 test assemblies that no longer exist.
  • Stop naming coverlet output after OpenCover in CI. The per-language Cobertura reports were still written to build/OpenCover.Reports/OpenCover.*.xml, the names left over from the Azure pipeline. They are now build/coverage/coverage.*.cobertura.xml, and the merge step's input pattern matches. .gitignore drops OpenCover.Reports/ and OpenCover.Symbols/ and ignores /build/coverage/ instead. The stale comments that pointed at the deleted build/test.yml are gone.
  • Remove the CodecovUploader package from .nuget/packages.config. Only Azure Pipelines used it. CI now uploads with codecov/codecov-action.

The coverlet arguments, the merged report and the Codecov upload are otherwise unchanged. The remaining mentions of OpenCover are comments explaining why Debug builds use portable PDBs and why the coverlet scope matches the old OpenCover filter.

build/opencover-report.ps1 ran OpenCover, which is no longer restored by .nuget/packages.config,
against net452/net46 test assemblies that no longer exist.
The coverage files are Cobertura reports from coverlet, but kept the OpenCover.Reports folder and
OpenCover.*.xml names from the retired Azure pipeline. Name them build/coverage and
coverage.*.cobertura.xml instead, and replace the OpenCover entries in .gitignore.
Azure Pipelines used it to upload coverage. CI now uploads with codecov/codecov-action.
@codecov

codecov Bot commented Oct 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.37%. Comparing base (29d8e71) to head (c26ecc1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4129   +/-   ##
=======================================
  Coverage   97.37%   97.37%           
=======================================
  Files        1060     1060           
  Lines      122746   122746           
  Branches     4172     4172           
=======================================
  Hits       119527   119527           
  Misses       2115     2115           
  Partials     1104     1104           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AArnott
AArnott marked this pull request as ready for review October 8, 2026 01:18
@AArnott
AArnott merged commit b991b4a into master Oct 8, 2026
23 checks passed
@AArnott
AArnott deleted the remove-opencover-leftovers branch October 8, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant