Skip to content

Merging internal commits for release/8.0.0 - #1759

Open
dotnet-bot wants to merge 7 commits into
release/8.0.0from
internal-merge-8.0.0-2026-08-11-1924
Open

Merging internal commits for release/8.0.0#1759
dotnet-bot wants to merge 7 commits into
release/8.0.0from
internal-merge-8.0.0-2026-08-11-1924

Conversation

@dotnet-bot

Copy link
Copy Markdown
Contributor

No description provided.

tmat and others added 7 commits June 29, 2026 12:44
Removes support for V1 and V2 formats of AzureRepos SSH URLs. These formats rely on the user info being present in the URL.
#### AI description  (iteration 1)
#### PR Classification
Bug fix to handle invalid URI exceptions and update test cases to use correct Azure Repos SSH URL format.

#### PR Summary
This pull request fixes URI parsing errors and updates test cases to align with the correct Azure DevOps SSH URL format (v3 path structure). The changes prevent crashes when encountering malformed URIs and ensure tests reflect the actual expected URL patterns.

- `GitOperations.cs`: Added try-catch block around `builder.Uri` to return null instead of throwing exceptions for invalid URIs
- `TranslateRepositoryUrlsTests.cs`: Updated SSH URLs from legacy `_ssh` format to modern v3 format (e.g., `ssh://vs-ssh.visualstudio.com/v3/account/project/repo`)
- `GitOperationsTests.cs`: Changed expected results for invalid relative path URLs from malformed SSH URIs to null values
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
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.

2 participants