Skip to content

Revert "feat(internal/repometadata): assign Transport in FromLibrary"#5019

Merged
JoeWang1127 merged 1 commit intomainfrom
revert-4916-fix/repometadata-transport-4877
Apr 2, 2026
Merged

Revert "feat(internal/repometadata): assign Transport in FromLibrary"#5019
JoeWang1127 merged 1 commit intomainfrom
revert-4916-fix/repometadata-transport-4877

Conversation

@JoeWang1127
Copy link
Copy Markdown
Contributor

Reverts #4916 since the pull request to update sources in google-cloud-rust failed: googleapis/google-cloud-rust#5245

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the Transport field from the shared RepoMetadata struct and its default population logic, updating associated tests and samples. The field's population is now handled specifically within the Java librarian implementation. A review comment identifies a redundant call to serviceconfig.Find in the Java implementation, which introduces inefficiency by repeating a lookup already performed by the shared repometadata package.

@JoeWang1127 JoeWang1127 marked this pull request as ready for review April 2, 2026 17:40
@JoeWang1127 JoeWang1127 requested a review from a team as a code owner April 2, 2026 17:40
@JoeWang1127 JoeWang1127 enabled auto-merge (squash) April 2, 2026 17:41
@JoeWang1127 JoeWang1127 merged commit 4dcd45b into main Apr 2, 2026
31 of 32 checks passed
@JoeWang1127 JoeWang1127 deleted the revert-4916-fix/repometadata-transport-4877 branch April 2, 2026 17:42
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