Simplify vs-insertion pipelines: remove obsolete rel/dX.Y branch logic#13409
Merged
MichalPavlik merged 6 commits intomainfrom Mar 20, 2026
Merged
Simplify vs-insertion pipelines: remove obsolete rel/dX.Y branch logic#13409MichalPavlik merged 6 commits intomainfrom
MichalPavlik merged 6 commits intomainfrom
Conversation
… auto always maps to main Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
…e triggers Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
JanProvaznik
March 18, 2026 14:18
View session
JanProvaznik
approved these changes
Mar 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR simplifies the VS insertion pipeline definitions by removing obsolete rel/dX.Y targeting logic now that insertions should no longer map vsX.Y branches to rel/dX.Y branches in VS.
Changes:
- Hard-code auto insertion target to
mainand reduceTargetBranchparameter options. - Remove legacy
InsertPackagePropsValuesbranch-condition logic invs-insertion.yml. - Remove experimental
exp/vsX.Ybranch regex detection so auto-triggered experimental insertions always targetmain.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
azure-pipelines/vs-insertion.yml |
Simplifies auto target branch selection and removes legacy servicing-branch PackageProps logic. |
azure-pipelines/vs-insertion-experimental.yml |
Reduces target branch options and removes version-detection logic for auto-triggered runs. |
You can also share your feedback on Copilot code review. Take the survey.
MichalPavlik
approved these changes
Mar 19, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This was referenced Mar 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.
Context
The VS repo no longer uses
rel/dX.Ytarget branches. All insertions frommainandvs*servicing branches should targetmainin VS. TheAutoInsertTargetBranchhad a ~30-line conditional mapping eachvsX.Y→rel/dX.Ythat is now dead code.Changes Made
vs-insertion.yml:AutoInsertTargetBranchconditional chain withvalue: 'main'— auto always targets mainTargetBranchparameter toauto/main/rel/insiders/rel/stablevs*resource trigger (MSBuild still has those branches)InsertPackagePropsValuesconditional for old servicing branches (17.xMicrosoft.Build.Engine/Conversion.Coreadditions, 17.10/17.12/17.14 PackageProps logic)vs-insertion-experimental.yml:TargetBranchparameter tomain/rel/insiders/rel/stableexp/vsX.Yregex detection — auto-triggered builds always targetmainTesting
Pipeline YAML only — no code changes.
Notes
The
$propsarray construction is retained even thoughInsertPackagePropsValuesis always unset, in case it's needed for future servicing.