-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Reduce helix queue fan-out for library tests on PR builds #126168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -71,9 +71,12 @@ jobs: | |||||||||
|
|
||||||||||
| - ${{ if or(ne(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true))}}: | ||||||||||
| # inner and outer loop CoreCLR (general set) | ||||||||||
| # Primary distro for all builds | ||||||||||
| - (Ubuntu.2604.Amd64.Open)AzureLinux.3.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-26.04-helix-amd64 | ||||||||||
| - (AzureLinux.3.0.Amd64.Open)AzureLinux.3.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-helix-amd64 | ||||||||||
| - (Centos.10.Amd64.Open)AzureLinux.3.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-10-helix-amd64 | ||||||||||
| # Additional distros on rolling builds for broader coverage | ||||||||||
| - ${{ if eq(variables['isRollingBuild'], true) }}: | ||||||||||
|
||||||||||
| - ${{ if eq(variables['isRollingBuild'], true) }}: | |
| - ${{ if or(eq(variables['isRollingBuild'], true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}: |
Copilot
AI
Mar 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same issue here: the extra Windows queues are conditional only on variables['isRollingBuild'], so jobParameters.includeAllPlatforms: true won’t re-enable Server2022/Win11 (or the outerloop RS5 queue) on PR builds. That changes the meaning of includeAllPlatforms for consumers that use it to force full coverage.
Recommend conditioning these additional queues on or(isRollingBuild, includeAllPlatforms) instead of isRollingBuild alone.
Copilot
AI
Mar 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The additional Browser WASM Windows queue is now gated only on variables['isRollingBuild'], so jobParameters.includeAllPlatforms: true won’t re-enable Server2022 on PR runs.
If includeAllPlatforms is intended to force full coverage regardless of PR vs non-PR, consider using or(isRollingBuild, includeAllPlatforms) here too.
| # Additional Windows version on rolling builds | |
| - ${{ if eq(variables['isRollingBuild'], true) }}: | |
| # Additional Windows version on rolling builds or when all platforms are requested | |
| - ${{ if or(eq(variables['isRollingBuild'], true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments say “rolling builds”, but in this repo
isRollingBuild(fromeng/pipelines/libraries/variables.yml) is defined as “not a PullRequest build” (notIn(Build.Reason, 'PullRequest')). That means these extra queues will run for any non-PR build reason (including manual/CI), not just the scheduled rolling builds.To avoid confusion for future maintainers, consider rewording these comments to match the actual condition (e.g. “non-PR builds”).