Skip to content

Tune Helix partitioning: TargetOS/TargetArchitecture and NetAnalyzers multiplier#54512

Open
MichaelSimons wants to merge 1 commit into
mainfrom
michaelsimons/musical-lamp
Open

Tune Helix partitioning: TargetOS/TargetArchitecture and NetAnalyzers multiplier#54512
MichaelSimons wants to merge 1 commit into
mainfrom
michaelsimons/musical-lamp

Conversation

@MichaelSimons
Copy link
Copy Markdown
Member

Summary

Follow-up to #54502. Two tuning changes for Helix work item partitioning:

  1. *Replace \TargetRid.StartsWith('osx-arm64')\ with \TargetOS/\TargetArchitecture* — clearer, more explicit platform detection using properties that are already available in the evaluation context.

  2. Bump NetAnalyzers \MethodLimitMultiplier\ from 5 to 10 — NetAnalyzers 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.

Projected Impact (Windows)

Metric Before After
NetAnalyzers work items ~41 ~21
Total work items saved ~20

This is additive to the 62% reduction achieved in #54502.

…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 <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 29, 2026 19:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 TargetOS and TargetArchitecture instead of parsing TargetRid for macOS arm64 partition sizing.
  • Increases NetAnalyzers MethodLimitMultiplier from 5 to 10 to create fewer, larger Helix work items.

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.

2 participants