Skip to content

Merging internal commits for release/9.0.0 - #1760

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

Merging internal commits for release/9.0.0#1760
dotnet-bot wants to merge 7 commits into
release/9.0.0from
internal-merge-9.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:52
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 during URL normalization and update unit tests with corrected SSH URL formats.

#### PR Summary
This PR fixes a bug where invalid URIs caused exceptions during URL normalization and updates test cases to use the correct Azure Repos SSH URL format (v3 path structure).

- `GitOperations.cs`: Added try-catch block in `GetUriFromGitUrl` to return null instead of throwing exceptions for invalid URIs
- `GitOperationsTests.cs`: Added test cases for relative paths that produce invalid URIs
- `TranslateRepositoryUrlsTests.cs`: Updated SSH URL format in test data from legacy `_ssh` path format to modern `v3` path structure with correct account/project/repo hierarchy
<!-- 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