Skip to content

Split helix into subsets #62644

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

Merged
merged 4 commits into from
Jul 10, 2025
Merged

Split helix into subsets #62644

merged 4 commits into from
Jul 10, 2025

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Jul 9, 2025

Split our helix tests into 2 separate jobs (subset 1 and subset 2). Doing so cuts about 15 minutes off of total PR CI execution time.

@github-actions github-actions bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jul 9, 2025
@wtgodbe
Copy link
Member Author

wtgodbe commented Jul 9, 2025

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@wtgodbe wtgodbe marked this pull request as ready for review July 10, 2025 17:54
@wtgodbe wtgodbe requested review from a team and captainsafia as code owners July 10, 2025 17:54
@wtgodbe wtgodbe changed the title Try splitting helix into subsets Split helix into subsets Jul 10, 2025
@wtgodbe
Copy link
Member Author

wtgodbe commented Jul 10, 2025

Confirmed that the total test count is the same as it used to be

@danmoseley danmoseley requested a review from Copilot July 10, 2025 23:00
Copy link
Contributor

@Copilot 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

Splits Helix test projects into two subsets to parallelize test execution and reduce total CI time by ~15 minutes.

  • Refactor eng/Build.props to remove direct test project includes and introduce ProjectsWithTestsSubset1/2 item groups with HelixSubset conditions.
  • Update documentation in docs/AddingNewProjects.md to instruct maintainers on adding new projects to the new subsets.
  • Modify both private and public Azure pipelines to add two separate Helix x64 jobs (Subset 1 and Subset 2) and adjust artifact naming.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
eng/Build.props Extract test projects into two conditional subsets
docs/AddingNewProjects.md Clarify where to add new projects given the subset split
.azure/pipelines/ci.yml Define Helix_x64_Subset_1 and Helix_x64_Subset_2 jobs
.azure/pipelines/ci-public.yml Mirror subset jobs for public CI with correct HelixSubset parameter

@wtgodbe wtgodbe merged commit 9f85d05 into main Jul 10, 2025
29 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/HelixSubsets branch July 10, 2025 23:57
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview7 milestone Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants