Insert app.config into VS RocksteadyCLI and switch insertion to main#15736
Merged
nohwnd merged 5 commits intomicrosoft:mainfrom May 5, 2026
Merged
Insert app.config into VS RocksteadyCLI and switch insertion to main#15736nohwnd merged 5 commits intomicrosoft:mainfrom
nohwnd merged 5 commits intomicrosoft:mainfrom
Conversation
- Change insertion source branch from rel/18.7 to main (parameter default + schedule trigger) - After roslyn-tools creates the insertion PR, push src/vstest.console/app.config to the PR branch at src/vset/Agile/TestPlatform/RocksteadyCLI/App.config in the VS repo - Parse PR ID from roslyn-tools output to target the correct branch - Auto-detect whether the file needs 'add' or 'edit' changeType - Gracefully skip if PR ID can't be extracted (e.g. no-change insertion) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the VS insertion pipeline to target the main branch by default and extends the insertion automation to copy src/vstest.console/app.config into the VS repo at src/vset/Agile/TestPlatform/RocksteadyCLI/App.config after an insertion PR is created.
Changes:
- Switch insertion defaults and scheduled insertion branch from
rel/18.7tomain. - Capture
roslyn-toolsoutput to extract the created insertion PR ID. - Add an Azure DevOps REST push that updates
RocksteadyCLI/App.configon the insertion PR’s source branch (skipping when no PR ID is found).
- Reorder regex: match /pullrequest/(\d+) URL first to avoid grabbing timestamps from PR titles - Remove the fallback 'Pull Request #N' pattern that was matching build numbers like 20260505100709 - Error out (exit 1) instead of warning when app.config push fails - Add rocket emoji to step display names - Set DOTNET_NOLOGO and DOTNET_SKIP_FIRST_TIME_EXPERIENCE Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
HEAD is not supported by AzDO items API, causing the check to always throw and default to 'add'. Switch to GET with $format=json and flip the logic: default to 'add', set 'edit' on success. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The file always exists in VS repo — we're overwriting it. The existence check was causing false negatives and using 'add' incorrectly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
nohwnd
commented
May 5, 2026
drognanar
approved these changes
May 5, 2026
This was referenced May 6, 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.
Switch insertion from
rel/18.7tomainand pushsrc/vstest.console/app.configinto VS atsrc/vset/Agile/TestPlatform/RocksteadyCLI/App.configon every insertion PR.roslyn-tools
--insert-devdiv-source-filesis dead code so we push the file ourselves via AzDO API after the PR is created.