Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: PublishCodeCoverageResults@2 incorrect coverage reports #20882

Open
3 of 7 tasks
RussKie opened this issue Feb 25, 2025 · 0 comments
Open
3 of 7 tasks

[BUG]: PublishCodeCoverageResults@2 incorrect coverage reports #20882

RussKie opened this issue Feb 25, 2025 · 0 comments

Comments

@RussKie
Copy link
Member

RussKie commented Feb 25, 2025

New issue checklist

Task name

PublishCodeCoverageResults

Task version

2

Issue Description

The generated reports contain incorrect coverage information.

E.g., according to the report, Microsoft.Extensions.AI is covered as follows:

Image

...however, the cobertura file has completely different stats:

Image

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=961795&view=logs&j=8cf0092d-1f6c-522b-3c27-9f632d33f4f3&t=b92e38fc-0165-5b68-b32b-2eef48c1a225

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

build.ubuntu.2004.amd64.open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants