Skip to content

Swap out Win11 for Win-VS2022 in CI #61743

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Swap out Win11 for Win-VS2022 in CI #61743

wants to merge 2 commits into from

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Apr 29, 2025

There have been zero test failures out of 1.5 million tests ran on the Win-VS2022 queue over the past month, while the Win11 queue has been very flaky (92 test failures out of 3.2 million over the same period). We originally moved the VS2022 queue over to the helix matrix due to flakiness caused by dotnet/dnceng#3844, but that hasn't repro'd in aspnetcore at all over the past 30 days.

This change would restore coverage for the NativeAOT tests in PR CI, but would remove coverage for a fair number of IIS & HttpSys tests that get skipped on the VS2022 queue. Therefore, I'm also turning on the helix-matrix PR for tests touching those folders.

As an example, our flakiest test over the past 30 days has been Microsoft.AspNetCore.Components.Test.ComponentBaseTest.RendersAfterParametersSetAndInitAsyncTasksAreCompleted, which failed 5 times in 108 runs on the Win11 queue, but passed in all 59 of its runs on the VS2022 queue.

@wtgodbe wtgodbe added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 29, 2025
@wtgodbe wtgodbe requested a review from a team as a code owner April 29, 2025 21:26
@wtgodbe wtgodbe requested a review from halter73 April 29, 2025 21:26
Copy link
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

@wtgodbe wtgodbe requested a review from Copilot April 29, 2025 22:40
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

This PR updates the CI configuration to swap out Win11 for Win-VS2022 and restore coverage for NativeAOT tests while including a helix-matrix trigger for IIS and HttpSys test changes.

  • Updated the .azure/pipelines/helix-matrix.yml to include a PR trigger for the main branch.
  • Added path filters to run the helix-matrix for IIS and HttpSys related changes.
Files not reviewed (1)
  • eng/targets/Helix.Common.props: Language not supported

Comment on lines 9 to 10
- src/Servers/IIS/*
- src/Servers/HttpSys/*
Copy link
Preview

Copilot AI Apr 29, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider using a recursive wildcard (e.g., '**') if the intent is to capture all nested changes under 'src/Servers/IIS'.

Suggested change
- src/Servers/IIS/*
- src/Servers/HttpSys/*
- src/Servers/IIS/**
- src/Servers/HttpSys/**

Copilot uses AI. Check for mistakes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

those could be wrong of course .. most of the ilasm sources are in the base folder anyway

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

@jkoritzinsky who did that *

Copy link
Member Author

Choose a reason for hiding this comment

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

I tested it out, dotnet/runtime#115170 did trigger the ilasm job with only a change to a nested file

Copy link
Member Author

Choose a reason for hiding this comment

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

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