Update MCP to reuse branch for SDK generation#12110
Merged
Merged
Conversation
smw-ms
requested review from
benbp,
jeo02,
l0lawrence,
maririos,
praveenkuttappan,
richardpark-msft,
samvaity,
scbedd and
timovv
as code owners
September 16, 2025 20:07
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the SDK generation workflow to reuse existing branch information from related SDK pull requests. The changes enable the system to identify and use an existing SDK repository branch when generating SDKs, instead of always defaulting to the main branch.
- Adds logic to extract SDK pull request information from release plans and use the associated branch for SDK generation
- Updates the SDK generation pipeline to accept and use a configurable SDK repository branch parameter
- Updates test mocks and method signatures to support the new optional branch parameter
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| SpecWorkFlowTool.cs | Implements logic to extract SDK PR branch from release plan and pass it to the pipeline |
| DevOpsService.cs | Adds optional sdkRepoBranch parameter to SDK generation pipeline method and template |
| SpecWorkFlowToolTests.cs | Updates test mocks to include the new optional branch parameter |
| MockDevOpsService.cs | Updates mock interface to match the new method signature |
3 tasks
benbp
approved these changes
Sep 17, 2025
maririos
reviewed
Sep 17, 2025
praveenkuttappan
left a comment
Member
There was a problem hiding this comment.
Overall looks fine. Minor changes required to remove default branch name.
…olTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
smw-ms
force-pushed
the
reuse-branch-for-sdk-generation
branch
from
September 18, 2025 21:14
7b64884 to
fb04383
Compare
smw-ms
requested review from
MaryGao,
haolingdong-msft,
msyyc and
tadelesh
as code owners
September 18, 2025 21:14
maririos
approved these changes
Sep 18, 2025
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.
No description provided.