chore: re-run go mod vendor to prune orphaned gateway-api types#4009
Merged
Conversation
loft-sh#3996 pinned ReferenceGrant/TLSRoute/BackendTLSPolicy syncing to the v1 Gateway API versions but left the v1alpha2/v1alpha3/v1beta1 packages (vendored in fe771bb) without an importer. go mod vendor prunes them, so the lint vendor-sync check fails on every new PR against main. Regenerate vendor/ to remove the 29 orphaned files.
zerbitx
approved these changes
Jun 12, 2026
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.
What issue type does this pull request address?
/kind bugfix
What does this pull request do? Which issues does it resolve?
#3996pinned ReferenceGrant/TLSRoute/BackendTLSPolicy syncing to the v1 Gateway API versions but left thev1alpha2/v1alpha3/v1beta1packages (vendored infe771bb0) invendor/without any importer.go mod vendorprunes them, so thelintvendor-sync check (go mod tidy && go mod vendorthen fail on diff) fails on every new PR againstmain(e.g. #4007, #4008).mainitself is silently drifted becauselintonly runs onpull_request, not on pushes tomain.This PR just regenerates
vendor/(go mod tidy && go mod vendor), removing the 29 orphaned files + updatingmodules.txt. Nogo.mod/go.sumchanges.go build ./...passes against the pruned vendor.Please provide a short message that should be published in the vcluster release notes
NONE
What else do we need to know?
Vendor-only change. Backport PRs to release branches that fail the same
lintcheck need the equivalentgo mod vendorregeneration on their own base.