Skip to content

Add BAR build links to dependency PR descriptions#5227

Merged
premun merged 10 commits intomainfrom
copilot/fix-5226
Sep 1, 2025
Merged

Add BAR build links to dependency PR descriptions#5227
premun merged 10 commits intomainfrom
copilot/fix-5226

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Aug 29, 2025

Copilot AI and others added 2 commits August 29, 2025 09:35
Co-authored-by: premun <7013027+premun@users.noreply.github.com>
Co-authored-by: premun <7013027+premun@users.noreply.github.com>
Copilot AI changed the title [WIP] Add a BAR build link into dependency PR descriptions Add BAR build links to dependency PR descriptions Aug 29, 2025
Copilot AI requested a review from premun August 29, 2025 09:41
premun and others added 2 commits August 29, 2025 12:57
…ove duplicate test method

Co-authored-by: premun <7013027+premun@users.noreply.github.com>
Copilot AI requested a review from premun August 29, 2025 11:06
premun and others added 2 commits August 29, 2025 13:14
Co-authored-by: premun <7013027+premun@users.noreply.github.com>
Copilot AI requested a review from premun August 29, 2025 11:19
@premun premun marked this pull request as ready for review August 29, 2025 11:23
Copilot AI review requested due to automatic review settings August 29, 2025 11:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds BAR (Build Asset Registry) build links to dependency PR descriptions, enhancing the build information with direct links to the build visualization. The implementation includes converting repository URLs to appropriate slugs and generating enhanced build links that combine Azure DevOps build links with BAR build details.

Key changes:

  • Made GenerateCodeFlowPRDescription method asynchronous to support enhanced build link generation
  • Added comprehensive unit tests for enhanced build links with both GitHub and Azure DevOps repositories
  • Implemented repository URL to slug conversion utilities for BarViz URL generation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
PullRequestBuilder.cs Added async GetBarVizBuildLinkAsync method and repository URL slug conversion logic
PullRequestUpdater.cs Updated calls to GenerateCodeFlowPRDescription to handle async signature
PullRequestBuilderTests.cs Added comprehensive unit tests for enhanced build links with BAR details

adamzip
adamzip previously approved these changes Sep 1, 2025
@premun premun merged commit 23cc79a into main Sep 1, 2025
9 checks passed
@premun premun deleted the copilot/fix-5226 branch September 1, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants