Build just once when tfms run in parallel by nohwnd · Pull Request #15465 · microsoft/vstest (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

nohwnd

merged 2 commits into

Mar 10, 2026

Conversation

@nohwnd

Description

Running dotnet test would trigger build of assets from two places at the same time, which does more work, and also fails occasionally when they run into each other.

Fix #15453

@nohwnd

Copilot AI review requested due to automatic review settings

March 9, 2026 16:24

Choose a reason for hiding this comment

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

Pull request overview

This PR prevents parallel dotnet test runs (across TFMs) from rebuilding/patching the same test assets concurrently by introducing a named mutex guarding the one-time build/setup work.

Changes:

@nohwnd

Evangelink

Youssef1313

This was referenced

May 26, 2026

This was referenced

Jun 16, 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

[ Show hidden characters]({{ revealButtonHref }})