🔧 chore(renovate): let renovate tidy go.sum itself - #323
Merged
Conversation
Both Go dependency PRs this round arrived with stale go.sum entries and failed preflight's `go mod tidy && git diff --exit-code go.sum`: #319 kubernetes packages v0.36.3 -- 16 stale lines #322 go minor and patch -- same failure Renovate updates go.mod and appends the new hashes but does not remove the superseded ones unless asked. postUpdateOptions gomodTidy makes it run `go mod tidy` after each update, so these PRs arrive green instead of needing a hand-pushed fixup commit every time. Applies to every gomod-managed group, so it also covers the kubernetes and future go groups, not just the one that happened to fail today.
konih
enabled auto-merge (rebase)
August 19, 2026 16:56
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
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.



Both Go dependency PRs this round failed
preflightthe same way, ongo mod tidy && git diff --exit-code go.sum:v0.36.2lines left ingo.sumRenovate updates
go.modand appends the new hashes, but does not remove the superseded onesunless asked to.
postUpdateOptions: ["gomodTidy"]makes it rungo mod tidyafter each update,so these PRs arrive green instead of needing a hand-pushed fixup commit every time.
It applies to every gomod-managed group, so it covers the kubernetes group and any future Go group
too — not just the one that happened to fail today.
This does not fix the other class of failure seen in #322, where
cel-go v0.31.0added a methodto the
cel.Programinterface and broke a test stub. That one is a genuine source change andcorrectly requires a human-authored commit; no config option should paper over it.