Fix HTML logger parallel file collision with atomic file creation by nohwnd · Pull Request #15562 · microsoft/vstest (original) (raw)

AI review requested due to automatic review settings

March 24, 2026 07:04

Copilot AI review requested due to automatic review settings

March 24, 2026 07:17

@nohwnd

Replace lock-based file creation with atomic FileMode.CreateNew to prevent cross-process race conditions when multiple test processes generate HTML log files simultaneously.

Changes:

Fixes microsoft#15404

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

@nohwnd nohwnd added the 🚢 Ship it!

Add to PRs where owner approves automated PR, but cannot approve because they "wrote it".

label

Mar 24, 2026

Youssef1313

This was referenced

Mar 27, 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 }})