Repository navigation
Conversation
…data deriveRepoMetadata did not copy sharedMetadata.IssueTracker into Java's repoMetadata struct, so removing issue_tracker_override dropped issue_tracker from .repo-metadata.json instead of falling back to sdk.yaml or the upstream service config. For googleapis#6689
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces an IssueTracker field to the repoMetadata struct to support tracking issue reporting URLs. The corresponding tests in internal/librarian/java/repometadata_test.go have been updated to include this field, and a new test case has been added to verify the IssueTrackerOverride functionality. I have no feedback to provide.
zhumin8
marked this pull request as ready for review
November 24, 2026 21:03
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.
Copy
sharedMetadata.IssueTrackerinto Java'srepoMetadatastruct inderiveRepoMetadata.Previously,
deriveRepoMetadataomittedIssueTrackerwhen constructingrepoMetadata, so Java only populatedissue_trackerwhenjava.issue_tracker_overridewas set. Removing redundant overrides caused.repo-metadata.jsonto dropissue_trackerinstead of falling back tosdk.yamlor the upstream service config.Expected impact (Java only): on the next
librarian generate --allingoogle-cloud-java, 160 libraries currently missingissue_trackerwill populate it in.repo-metadata.json(34 fromsdk.yaml, including the 23 tidied in googleapis/google-cloud-java#14544, and 126 from googleapis service configs), while 0 existingissue_trackervalues will change or be removed.For #6689