microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.42k stars 2.58k forks source link

[Question]: vstest@2 vs vstest@3 #19927

Open quasarea opened 1 month ago

quasarea commented 1 month ago

Task name

vstest

Task version

No response

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

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 11

Question

Hi,

What is going on with vstest task versioning? It seems that they are two separate versions existing and in support at the same time. In last 6 months vstest@2 got:

while vstest@3 got:

Issues like https://github.com/microsoft/azure-pipelines-tasks/pull/19488 are still existing on @3 while being solved on @2. The @3 was created over 2 years ago, so there can be a lot of discrepancies between those tasks.

Should I abandon @3 and go with @2 as it seems better looked after, or what is the actual purpose of @3?

quasarea commented 1 month ago

Once downgraded to @2 I started to get

##[warning]New V2 version of task publishing code coverage results is available to all our customers now. We highly recommend to stop using the V1 version and migrate to V2 version (https://learn.microsoft.com/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2). For more details, see - https://devblogs.microsoft.com/devops/new-pccr-task.

so another discrepancy