Repository navigation
Make dotnet test parser tests parallel-safe - #56031
Closed
Evangelink wants to merge 2 commits into
Closed
Evangelink wants to merge 2 commits into
Evangelink wants to merge 2 commits into
Conversation
Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
The dotnet.Tests parallelism opt-in and these analyzer-required locks now live together in dotnet#56036. Co-authored-by: Copilot App <[email protected]> Copilot-Session: b626e1af-2a85-4181-9294-76d18d1515bc
Evangelink
had a problem deploying
to
copilot-pat-pool
August 31, 2026 21:32 — with
GitHub Actions
Failure
This branch had an error being deployed
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.
Note
Superseded by #56036. The six
TestCommandParserTestsenvironment-variable resource locks are required by, and were transferred into, that PR'sdotnet.Testsproject-level parallel opt-in. This independent split was emptied and closed to avoid duplicate ownership.Summary
This is the independent
@dotnet/dotnet-testingCODEOWNERS split from #56015.It adds the narrowest process-global isolation needed by applying
ResourceLock(WellKnownResources.EnvironmentVariables)only to parser tests that mutate environment variables, while leaving unrelated tests eligible for parallel execution.10× benchmark results
The combined Razor-fixed branch was measured on the same machine under an exclusive benchmark lock. Each iteration ran the identical 54 affected projects sequentially through
scripts/RunTests.cs, with the same 90-minute per-project timeout and the same exclusion for the pre-existing hanging interruption test.All 10 changed iterations completed with zero timeouts and retained exactly the same 10-project local-environment/prerequisite failure set as all 10 baseline iterations; there were no new or resolved failing projects. These combined-branch measurements provide performance and stability context, not isolated attribution or a per-slice tests-passed claim.
The affected parser tests run within broader assemblies, so the fleet result is reported without assigning an isolated per-project speedup to this narrow resource-lock slice.