Skip to content

Fix unused dependencies on type filters for buf generate#3695

Merged
emcfarlane merged 2 commits intomainfrom
ed/fixFilterUnusedDeps
Mar 25, 2025
Merged

Fix unused dependencies on type filters for buf generate#3695
emcfarlane merged 2 commits intomainfrom
ed/fixFilterUnusedDeps

Conversation

@emcfarlane
Copy link
Contributor

This fixes unused dependencies when a type filter is applied for buf generate. The unused deps are validated when unmarshalling an image here. For a filtered image there are no unused deps as all unused are pruned. Test have been updated to capture the validation.

The fix has also been applied in #3624 .

@emcfarlane emcfarlane requested review from doriable and jhump March 18, 2025 13:44
@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 25, 2025, 3:06 PM

@emcfarlane emcfarlane merged commit 854a19b into main Mar 25, 2025
10 checks passed
@emcfarlane emcfarlane deleted the ed/fixFilterUnusedDeps branch March 25, 2025 15:10
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