Repository navigation
Restore only runners used by compatibility tests - #16619
Merged
Azat Mukhametshin (azat-msft) merged 6 commits intoNov 18, 2026
Merged
Azat Mukhametshin (azat-msft) merged 6 commits into
Azat Mukhametshin (azat-msft) merged 6 commits into
Conversation
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Leading spaces before MostDownloaded produce an invalid XPath, causing VSTestConsole compatibility data generation to fail instead of running the remaining cases.
1 open issue
What changed in this PR
Removes the LegacyStable tier from VSTest’s compatibility matrix, stopping the associated 15.9.2 platform package restores and intentionally dropping coverage for the oldest SDK and MSTest versions.
Changes:
- Removes LegacyStable version properties and compatibility restore entries.
- Removes LegacyStable from the shared matrix lists.
- Updates a comment’s example asset path to use PreviousStable.
| File | Description |
|---|---|
test/Microsoft.TestPlatform.TestUtilities/IntegrationTestEnvironment.cs |
Updates the example path in a comment; no behavior change. |
test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs |
Removes LegacyStable from platform and MSTest restore lists. |
test/Microsoft.TestPlatform.TestUtilities/AcceptanceTestBase.cs |
Removes LegacyStable from compatibility matrix constants. |
eng/Versions.props |
Removes the MSTest 1.4.0 and VSTest 15.9.2 version properties. |
Review effort: Balanced
This reverts commit 6bc4167.
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Azat Mukhametshin (azat-msft)
marked this pull request as ready for review
November 9, 2026 09:23
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Azat Mukhametshin (azat-msft)
enabled auto-merge (squash)
November 17, 2026 15:26
Jan Krivanek (JanKrivanek)
approved these changes
Nov 18, 2026
Azat Mukhametshin (azat-msft)
merged commit Nov 18, 2026
170ed84
into
microsoft:main
34 checks passed
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a draft
Description
Compatibility setup restored runner packages for every testhost version, including unused
Microsoft.TestPlatform.CLI15.9.2 flagged by GHSA-5crp-9r3c-p9vr and GHSA-8rfx-6mr3-5jh3.Derive runner restores from the versions selected by
CompatibilityMatrixAttribute. This skips unusedMicrosoft.TestPlatformand.CLIpackages without maintaining an exclusion range. Keep all testhost and MSTest versions, includingMicrosoft.NET.Test.Sdk15.9.2 and MSTest 1.4.0, and all test rows unchanged.Related issue
Security report for
microsoft.testplatform.cliintest/TestAssets/Tools/Tools.csproj.