Add windows-2025 GitHub runner support for builds and tests#5325
Open
Copilot wants to merge 4 commits into
Open
Add windows-2025 GitHub runner support for builds and tests#5325Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Co-authored-by: guhetier <15261469+guhetier@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add windows-2025 in github runners (build + tests)
Add windows-2025 GitHub runner support for builds and tests
Aug 5, 2025
Collaborator
|
Do not change occurences of "windows-latest". Only add "windows-2025" when "windows-2022" is used and windows-2019 was used before support was removed. |
guhetier
reviewed
Oct 10, 2025
Collaborator
|
@copilot address all comments on the PR |
Co-authored-by: guhetier <15261469+guhetier@users.noreply.github.com>
Contributor
Author
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5325 +/- ##
==========================================
- Coverage 86.58% 85.50% -1.08%
==========================================
Files 59 59
Lines 18331 18621 +290
==========================================
+ Hits 15872 15922 +50
- Misses 2459 2699 +240 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
This PR adds comprehensive support for GitHub's new
windows-2025runners across the MSQuic CI/CD pipeline, enabling builds and tests to run on the latest Windows environment.Overview
GitHub recently introduced
windows-2025runner images, and this change updates our workflows to utilize these new runners while maintaining backward compatibility with existingwindows-2022runners.Changes Made
Build Workflows:
build.ymlto includewindows-2025in the build matrix alongsidewindows-2022for both regular and official buildsstress.ymlwithwindows-2025configurations for stress testing builds and executiondotnet-test.ymlsupport for .NET interop testing onwindows-2025Workflows Preserved with
windows-latest:Following the principle of only adding
windows-2025wherewindows-2022was explicitly used (andwindows-2019was previously supported), the following workflows remain unchanged withwindows-latest:cargo.yml- Rust/Cargo builds continue usingwindows-latestcheck-clog.yml- CLOG validation remains onwindows-latestcheck-dotnet.yml- .NET validation remains onwindows-latestnetperf.yml- Performance testing continues usingwindows-latestplugins.yml- Plugin builds for WinDbg extensions and QuicTrace remain onwindows-latestwan-perf.yml- WAN performance testing continues usingwindows-latestTechnical Approach
The implementation adds
windows-2025as additional matrix options rather than replacingwindows-2022, ensuring:windows-2022) are updated, while workflows usingwindows-latestremain unchanged to track GitHub's defaultExceptions
Some workflows intentionally remain on
windows-2022:windows-2025doesn't currently support kernel driver developmentValidation
All modified YAML workflow files have been validated for syntax correctness, and the changes maintain full backward compatibility while extending support to the new runner environment.
Fixes #5242.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.