Skip to content

chore(librarian): remove samples/generated_samples/snippet_metadata_from preserve_regex#14469

Merged
parthea merged 1 commit intomainfrom
dont-preserve-snippet-metadata
Sep 18, 2025
Merged

chore(librarian): remove samples/generated_samples/snippet_metadata_from preserve_regex#14469
parthea merged 1 commit intomainfrom
dont-preserve-snippet-metadata

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Sep 18, 2025

This commit fixes a regression where snippet_metadata files, such as packages/google-cloud-video-live-stream/samples/generated_samples/snippet_metadata_google.cloud.video.livestream.v1.json, were not being updated during generation (e.g., in PR #14465).

The root cause was the inclusion of samples/generated_samples/snippet_metadata_ in the preserve_regex list. While this regex was initially used to reduce diffs during the transition from OwlBot to Librarian, it inadvertently prevented necessary updates to the generated snippet metadata.

@parthea parthea requested a review from a team September 18, 2025 18:44
@parthea parthea requested a review from a team as a code owner September 18, 2025 18:44
@parthea parthea requested a review from vchudnov-g September 18, 2025 18:44
@parthea parthea merged commit 6524f37 into main Sep 18, 2025
24 checks passed
@parthea parthea deleted the dont-preserve-snippet-metadata branch September 18, 2025 18:51
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