Skip to content

Enable safe test parallelization across SDK test assemblies - #56015

Closed
Evangelink wants to merge 19 commits into
mainfrom
dev/amauryleve/parallel-test-pr
Closed

Enable safe test parallelization across SDK test assemblies#56015
Evangelink wants to merge 19 commits into
mainfrom
dev/amauryleve/parallel-test-pr

Conversation

@Evangelink

@Evangelink Evangelink commented Aug 29, 2026

Copy link
Copy Markdown
Member

Note

This combined draft has been superseded by smaller, independent PRs aligned with CODEOWNERS. Please review the replacement PR for the relevant area instead.

Replacement PRs

Area / owner Replacement
Core SDK and CLI tests #56036
Pack and restore (@dotnet/nuget-team) #56027
TemplateEngine (@dotnet/templating-engine-maintainers) #56032
Compatibility tools (@dotnet/area-infrastructure-libraries) #56030
Containers (@dotnet/sdk-container-builds-maintainers) #56033
Blazor and static web assets (@dotnet/aspnet-blazor-eng) #56029
Razor (@dotnet/razor-tooling) #56035
Web SDK publish tasks (@vijayrkn) #56037
Run-file (@dotnet/run-file) #56038
dotnet test parser (@dotnet/dotnet-testing) #56031
Workload manifest reader (@dotnet/net-sdk-workload-contributors) #56034
ILLink (@dotnet/illink) #56026
NetAnalyzers (@dotnet/dotnet-analyzers) #56028

Performance/setup work remains separately tracked by standalone PR #56016.

Validation context

The combined branch was audited across process globals, environment/current-directory/console state, static caches, shared paths, ports/daemons, and fixtures/data rows. Its final-scope Razor-fixed iteration completed in 5,426.805s versus 14,445.996s at baseline (62.43% faster), with the same expected 10 failing projects, 0 timeouts, and 116 primary-runner failures. Each replacement remains draft while its area-specific validation and review are completed.

Evangelink and others added 15 commits August 29, 2026 11:16
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run the audited task test projects at class-level parallel scope and serialize classes that mutate process-wide current directory or environment state.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use class-level MSTest parallelization while keeping process-current-directory writers in the serial tail.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Audit and isolate process-wide test state before enabling class-level MSTest parallelization.

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

Copilot-Session: ddac1b22-140c-4585-9b63-32d4dce29ae7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ddac1b22-140c-4585-9b63-32d4dce29ae7
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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

Copilot-Session: ddac1b22-140c-4585-9b63-32d4dce29ae7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ddac1b22-140c-4585-9b63-32d4dce29ae7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ddac1b22-140c-4585-9b63-32d4dce29ae7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ddac1b22-140c-4585-9b63-32d4dce29ae7
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.

1 participant