Repository navigation
Conversation
Contributor
|
I'm a bit reluctant to disable completely the independent go update. I think we should keep updating those until they are fixed or fix them manually (or with an AI agent). A compromise, it's to try to split the direct dependencies to the indirect ones into multiple PRs. {
"matchManagers": ["gomod"],
"groupName": "Go direct",
"constraintsFiltering": "strict",
"postUpdateOptions": ["gomodTidy"]
},
{
"matchManagers": ["gomod"],
"matchDepTypes": ["indirect"],
"groupName": "Go indirect",
"enabled": true
} |
Independent indirect updates can break coupled libraries and block otherwise compatible direct updates in a shared Go PR, as seen in bootc-dev/bootc-operator#280. Keep indirect updates visible for review in a separate group while filtering Go versions and tidying module changes. Assisted-by: AI Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
HarshwardhanPatil07
force-pushed
the
renovate/go-indirect-dependency-policy
branch
from
November 2, 2026 10:46
fb6d4d0 to
55d82be
Compare
HarshwardhanPatil07
requested review from
Johan-Liebert1,
cgwalters and
jeckersb
November 2, 2026 11:36
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Renovate configuration changes separating direct and indirect Go dependency updates.
No open issues 🎉
What changed in this PR
Separates Renovate’s direct and indirect Go dependency updates so an incompatible indirect upgrade does not block direct updates in the same grouped PR.
Changes:
- Creates separate
Go directandGo indirectgroups, keeping Go version, toolchain, and replacement updates in the direct group. - Adds strict constraint filtering and
gomodTidypost-update processing for Go module updates.
| File | Description |
|---|---|
renovate-shared-config.json |
Splits Go update groups and configures constraint filtering and module tidying. |
Review effort: Balanced
alicefr
approved these changes
Nov 4, 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.
Renovate currently groups direct and indirect Go updates in one PR. An incompatible indirect update, such as the kube-openapi revision in bootc-operator#280, can then block otherwise compatible direct updates.