Skip to content

🔧 chore(renovate): let renovate tidy go.sum itself - #323

Merged
konih merged 1 commit into
mainfrom
chore/renovate-gomod-tidy
Aug 19, 2026
Merged

🔧 chore(renovate): let renovate tidy go.sum itself#323
konih merged 1 commit into
mainfrom
chore/renovate-gomod-tidy

Conversation

@konih

@konih konih commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Both Go dependency PRs this round failed preflight the same way, on
go mod tidy && git diff --exit-code go.sum:

PR update symptom
#319 kubernetes packages → v0.36.3 16 stale v0.36.2 lines left in go.sum
#322 go minor and patch same

Renovate updates go.mod and appends the new hashes, but does not remove the superseded ones
unless asked to. 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.

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.0 added a method
to the cel.Program interface and broke a test stub. That one is a genuine source change and
correctly requires a human-authored commit; no config option should paper over it.

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
konih enabled auto-merge (rebase) August 19, 2026 16:56
@konih
konih merged commit a9ab00c into main Aug 19, 2026
31 checks passed
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@konih
konih deleted the chore/renovate-gomod-tidy branch August 19, 2026 17:02
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant