Skip to content

chore(renovate): stop proposing major bumps of indirect deps - #1173

Merged
batmac merged 1 commit into
mainfrom
renovate-mute-indirect-majors
Aug 22, 2026
Merged

chore(renovate): stop proposing major bumps of indirect deps#1173
batmac merged 1 commit into
mainfrom
renovate-mute-indirect-majors

Conversation

@batmac

@batmac batmac commented Aug 22, 2026

Copy link
Copy Markdown
Owner

In Go a major version is part of the import path, so bumping one means editing import statements inside the module that requires it. For an indirect dependency that module is not this repo — and nothing in ccat imports these packages — so the update can never be actioned here. gomodTidy would revert it anyway.

The dependency dashboard (#10) has been offering four of them every week:

suggestion why it is impossible
go.yaml.in/yaml/v2v3.0.5 go.yaml.in/yaml/v3 v3.0.5 is already in go.mod — both are pulled in by different parents
gopkg.in/yaml.v2v3.0.1 same: gopkg.in/yaml.v3 v3.0.1 is already there
github.com/google/go-github/v86v90 indirect, owned by go-selfupdate
gitlab.com/gitlab-org/api/client-gov2 indirect

Minor and patch updates for indirect deps still flow through the existing go indirect dependencies group, so transitive security fixes are unaffected. Validated with renovate-config-validator v44.

🤖 Generated with Claude Code

In Go a major version is part of the import path, so bumping one means
editing import statements inside the module that requires it. For an
indirect dependency that module is not this repo, and nothing here
imports these packages, so the update is not actionable.

The dashboard has been offering four of them every week:
go.yaml.in/yaml/v2 -> v3 and gopkg.in/yaml.v2 -> v3 (both v3 modules are
already in go.mod alongside their v2 counterparts, pulled in by
different parents), plus go-github/v86 -> v90 and gitlab client-go -> v2.
gomodTidy would revert any of them.

Minor and patch updates for indirect deps still flow through the
existing group, so transitive fixes are unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@batmac
batmac enabled auto-merge (squash) August 22, 2026 22:06
@batmac
batmac merged commit c236627 into main Aug 22, 2026
24 checks passed
@batmac
batmac deleted the renovate-mute-indirect-majors branch August 22, 2026 22:09
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