Skip to content

Update legacy MSTest adapter for remoting lifetime fix - #16635

Merged
Azat Mukhametshin (azat-msft) merged 1 commit into
microsoft:mainfrom
nohwnd:nohwnd-bump-extensions-remoting-fix
Nov 6, 2026
Merged

Azat Mukhametshin (azat-msft) merged 1 commit into
microsoft:mainfrom
nohwnd:nohwnd-bump-extensions-remoting-fix

Conversation

@nohwnd

Copy link
Copy Markdown
Member

Description

Update Microsoft.Internal.TestPlatform.Extensions from 18.9.0-preview-1-12127-198 to 18.14.0-preview-1-12403-025. The new adapter keeps RecursiveDirectoryPath alive for its AppDomain's lifetime, fixing late assembly-load failures in long-running legacy MSTest runs.

I verified that the adapter in the built Microsoft.TestPlatform package has the InitializeLifetimeService override returning null. The dependency's recursive symbol check passed with zero failures and 80 passed or ignored files. Public symbol lookup did not resolve the adapter symbols; the authenticated archive check passed.

eng/expected-dll-frameworks.json was regenerated from a clean Release build. Package file counts did not change.

Validation:

  • .\build.cmd -c Release -pack: passed.
  • .\build.cmd -c Debug -pack: passed.
  • powershell.exe -NoProfile -ExecutionPolicy Bypass -File R:\eng\build.ps1 -test -c Release -integrationTest -filter "FullyQualifiedName~ListExtensionsTests|FullyQualifiedName~DiscoverMstestV1TestsWithAndOperatorTrait": passed, 9 tests. R: was a temporary mapping of this worktree to avoid the .NET Framework path-length limit. Earlier runs failed because of leftover SDKs from the release branch and the long worktree path; the final run passed after correcting the local environment.

Related issue

No public issue. This imports the legacy MSTest remoting lifetime fix from the dependency.

  • I have ensured that there is a previously discussed and approved issue.

🤖

Copilot AI balanced review requested due to automatic review settings November 4, 2026 15:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the adapter package update and related framework-classification changes.

No open issues 🎉

What changed in this PR

Updates the legacy MSTest adapter shipped with VSTest to import a remoting lifetime fix that prevents late assembly-load failures in long-running test runs.

Changes:

  • Upgrades Microsoft.Internal.TestPlatform.Extensions from 18.9.0-preview-1-12127-198 to 18.14.0-preview-1-12403-025.
  • Refreshes four MediaRecorder model framework classifications from none to netframework; package file counts remain unchanged.
File Description
eng/​Versions.props Pins the updated internal extensions package containing the adapter fix.
eng/​expected-dll-frameworks.json Updates framework expectations for packaged MediaRecorder model assemblies.

Review effort: Balanced

@azat-msft
Azat Mukhametshin (azat-msft) merged commit 0ebb2ca into microsoft:main Nov 6, 2026
21 checks passed
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.

3 participants