Repository navigation
Parallelize ApiDiff unit tests - #55944
Merged
Evangelink merged 1 commit intoSep 9, 2026
Merged
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. |
Contributor
There was a problem hiding this comment.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Note
This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.
Member
Author
Local before/after benchmarkNo comparable clean result on my Windows machine using the SDK repo test runner.
Single local run; timings can vary with machine load, but this gives a direct before/after signal on this machine. |
JeremyKuhne
approved these changes
Sep 9, 2026
Evangelink
enabled auto-merge (squash)
September 9, 2026 05:42
Member
Author
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. |
Evangelink
had a problem deploying
to
copilot-pat-pool
September 9, 2026 08:14 — 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.
Microsoft.DotNet.ApiDiff.Testscurrently runs serially despite having isolated per-test state, which unnecessarily lengthens validation.This opts the project into MSTest method-level parallelization after auditing all 19 test classes and 173 methods. Tests use per-instance state, unique temporary directories, read-only shared inputs, and stateless shared rewriters, so no resource locks are required.
Validation: the focused 173-test suite passed four consecutive runs with 32 method-level workers (170 passed, 3 existing skips, 0 failed).