Repository navigation
Drop unconditional --roll-forward Major for Helix MTP work items - #17124
Merged
Evangelink merged 2 commits intoJul 20, 2026
Merged
Evangelink merged 2 commits into
Evangelink merged 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses #17000 by preventing Helix xUnit v3 / MTP work items from unconditionally rolling forward to a major .NET runtime, which can mask missing runtimes and silently reduce multi-TFM coverage.
Changes:
- Removed unconditional
--roll-forward Majorfrom thedotnet execcommand emitted byCreateXUnitV3WorkItems. - Added an in-code comment explaining why roll-forward is intentionally not specified and linking to the tracked issue.
Show a summary per file
| File | Description |
|---|---|
| src/Microsoft.DotNet.Helix/Sdk/CreateXUnitV3WorkItems.cs | Drops unconditional major roll-forward from the generated Helix work item command and documents rationale. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
Fixes dotnet#17000. A blanket --roll-forward Major could silently run a net8.0 assembly on a net9.0 runtime when the matching runtime was missing, masking failures and causing silent loss of multi-TFM coverage. Let the runtime default apply instead. Co-authored-by: Copilot App <[email protected]> Copilot-Session: d63e3ee3-85f8-447a-ac73-857d94390919
Evangelink
force-pushed
the
dev/amauryleve/fix-helix-roll-forward-major
branch
from
July 15, 2026 16:01
82eca1b to
453c264
Compare
…mmand Addresses review feedback: GeneratedCommandHasExpectedShape asserted the command started with 'dotnet exec --roll-forward Major', which would fail after dropping the roll-forward. Now asserts it starts with 'dotnet exec ' and does not contain '--roll-forward'. Co-authored-by: Copilot App <[email protected]> Copilot-Session: d63e3ee3-85f8-447a-ac73-857d94390919
ViktorHofer
approved these changes
Jul 20, 2026
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.
Fixes #17000.
Problem
In
CreateMTPWorkItemsthe emitted Helix work item command unconditionally passed--roll-forward Major:A blanket
Majorroll-forward can silently run anet8.0assembly on anet9.0runtime when the matching runtime is missing. That masks a missing runtime and causes silent loss of multi-TFM coverage — failures look green because the assembly happily runs on a newer runtime instead of failing fast.Change
Dropped
--roll-forward Majorfrom thedotnet execcommand so each work item runs on the runtime matching its target framework, letting the runtime default apply (per @Youssef1313's direction on the issue). Added an explanatory comment referencing the issue.The legacy
CreateXUnitWorkItemstask keeps its own conditional roll-forward logic; the issue is scoped to the MTP path, so that was left untouched.cc @Youssef1313 @ilyas1974