Include pipeline run link in generated azure-sdk-for-net upgrade PR#10829
Merged
Conversation
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add pipeline run link in generated upgrade PR for Emitter
Include pipeline run link in generated azure-sdk-for-net upgrade PR
May 28, 2026
jorgerangel-msft
approved these changes
May 28, 2026
JoshLove-msft
approved these changes
May 28, 2026
commit: |
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.
PRs auto-created by the C# emitter publish pipeline in
azure-sdk-for-net(e.g. Azure/azure-sdk-for-net#59504) had no link back to the Azure DevOps pipeline run that produced them, making traceability painful.Changes
packages/http-client-csharp/eng/scripts/Submit-AzureSdkForNetPr.ps1— added an optional-PipelineRunUrlparameter. When supplied, it renders as an extra bullet under the existing Details section using the same$(if (...) { @"..."@ })pattern already used for the optional regen sections; when omitted (e.g. local runs) the PR body is unchanged.packages/http-client-csharp/eng/pipeline/publish.yml— composed the URL from built-in ADO variables (System.CollectionUri/System.TeamProject/Build.BuildId) to match the shape from the issue (https://dev.azure.com/azure-sdk/<project>/_build/results?buildId=<id>&view=results), exposed it as$(PipelineRunUrl), and passed it through to the script.Resulting PR body excerpt