Skip to content

chore: re-run go mod vendor to prune orphaned gateway-api types#4009

Merged
sowmyav27 merged 1 commit into
loft-sh:mainfrom
sowmyav27:vendor-gwapi
Jun 13, 2026
Merged

chore: re-run go mod vendor to prune orphaned gateway-api types#4009
sowmyav27 merged 1 commit into
loft-sh:mainfrom
sowmyav27:vendor-gwapi

Conversation

@sowmyav27

Copy link
Copy Markdown
Contributor

What issue type does this pull request address?
/kind bugfix

What does this pull request do? Which issues does it resolve?

#3996 pinned ReferenceGrant/TLSRoute/BackendTLSPolicy syncing to the v1 Gateway API versions but left the v1alpha2 / v1alpha3 / v1beta1 packages (vendored in fe771bb0) in vendor/ without any importer. go mod vendor prunes them, so the lint vendor-sync check (go mod tidy && go mod vendor then fail on diff) fails on every new PR against main (e.g. #4007, #4008). main itself is silently drifted because lint only runs on pull_request, not on pushes to main.

This PR just regenerates vendor/ (go mod tidy && go mod vendor), removing the 29 orphaned files + updating modules.txt. No go.mod / go.sum changes. 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 lint check need the equivalent go mod vendor regeneration on their own base.

none

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.
@sowmyav27 sowmyav27 requested a review from a team as a code owner June 12, 2026 17:59
@sowmyav27 sowmyav27 closed this Jun 12, 2026
@sowmyav27 sowmyav27 deleted the vendor-gwapi branch June 12, 2026 18:00
@sowmyav27 sowmyav27 restored the vendor-gwapi branch June 12, 2026 18:03
@sowmyav27 sowmyav27 reopened this Jun 12, 2026
@sowmyav27 sowmyav27 requested a review from zerbitx June 12, 2026 18:27
@sowmyav27 sowmyav27 merged commit cd1fc28 into loft-sh:main Jun 13, 2026
24 of 31 checks passed
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