Repository navigation
Tune Helix partitioning/payload - #54512
Merged
Merged
Conversation
…Analyzers multiplier
- Replace TargetRid.StartsWith('osx-arm64') with TargetOS/TargetArchitecture
condition for clearer, more explicit platform detection
- Increase NetAnalyzers MethodLimitMultiplier from 5 to 10, reducing its
Windows partitions from ~41 to ~21 work items (targeting 5min/item)
Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tunes Helix unit-test work item partitioning by making macOS arm64 detection more explicit and reducing over-partitioning for NetAnalyzers tests.
Changes:
- Uses
TargetOSandTargetArchitectureinstead of parsingTargetRidfor macOS arm64 partition sizing. - Increases NetAnalyzers
MethodLimitMultiplierfrom 5 to 10 to create fewer, larger Helix work items.
MichaelSimons
force-pushed
the
michaelsimons/musical-lamp
branch
from
June 2, 2026 15:16
2d6ba49 to
807b836
Compare
MichaelSimons
force-pushed
the
michaelsimons/musical-lamp
branch
from
June 2, 2026 18:57
807b836 to
da7bf60
Compare
mmitche
reviewed
Jun 2, 2026
mmitche
reviewed
Jun 2, 2026
MichaelSimons
force-pushed
the
michaelsimons/musical-lamp
branch
from
June 2, 2026 19:42
da7bf60 to
c337950
Compare
Separate large installer archives (.zip, .tar.gz, .rpm, .deb) from the shared correlation payload that all Helix work items download. Instead: - NuGet packages are staged to a filtered directory (HelixNuGetPayload) and used as the d/.nuget correlation payload - Installer archives are staged to HelixInstallerArchives and included only in EndToEnd.Tests work items via the generic AdditionalPayloadDir metadata mechanism - At runtime, a pre-command copies the archives from the work item payload into the correlation payload's d/.nuget directory so test path resolution remains unchanged This reduces the shared payload by ~500MB (SDK .zip + .tar.gz), saving download and unpack time for all work items except the 2 that actually need the archives. Co-authored-by: Copilot <[email protected]>
mmitche
approved these changes
Jun 3, 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
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.
Summary
Follow-up to #54502. Tuning changes for Helix work item partitioning and payload optimization:
1. Replace
TargetRid.StartsWith('osx-arm64')withTargetOS/TargetArchitectureClearer, more explicit platform detection using properties that are already available in the evaluation context.
2. Bump NetAnalyzers
MethodLimitMultiplierfrom 5 to 10NetAnalyzers was over-partitioned (41 work items on Windows with total time of ~104 min). Doubling the multiplier targets ~21 parts at ~5 min/item, saving ~20 work items on Windows alone.
3. Exclude installer archives from shared Helix correlation payload
Large installer archives in
ArtifactsShippingPackageswere included in thed/.nugetcorrelation payload downloaded by every Helix machine. These archives are only needed byEndToEnd.Tests.Changes:
HelixNuGetPayload) excluding archives, and used as thed/.nugetcorrelation payloadHelixInstallerArchives) and included only in EndToEnd.Tests work items via a genericAdditionalPayloadDirmetadata mechanism onSDKCustomXUnitProjectitemsd/.nugetdirectory so test path resolution is unchangedTotal correlation payload per Helix machine (wire size, before vs after):
All sizes below are wire cost (compressed zip/tar.gz as transmitted over the network). The correlation payload is downloaded once per machine and shared across all work items on that machine.
Installer files excluded from shared payload per platform:
.zip(280.5 MB),.tar.gz(214.8 MB),.exe(196.6 MB),.wixpdb(0.5 MB).tar.gz(178.4 MB).tar.gz(170.4 MB),.pkg(170.6 MB)The remaining ~67.8 MB across all platforms is the actual NuGet packages needed by tests.