Skip to content

Stop proposing kube-openapi digests on their own - #37

Merged
ecv merged 1 commit into
mainfrom
chore/skip-kube-openapi-digest
Nov 3, 2026
Merged

ecv merged 1 commit into
mainfrom
chore/skip-kube-openapi-digest

Conversation

@ecv

@ecv ecv commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Problem

Since #36 groups Go module updates per repository, one broken module fails the whole group. Every k8s.io/kube-openapi revision Renovate proposes now requires sigs.k8s.io/structured-merge-diff v7, but k8s.io/apimachinery v0.37 still builds against v6:

k8s.io/apimachinery@v0.37.2/pkg/util/managedfields/internal/typeconverter.go:51:61: cannot use typeSchema.Types (variable of type []"sigs.k8s.io/structured-merge-diff/v7/schema".TypeDef) as []"sigs.k8s.io/structured-merge-diff/v6/schema".TypeDef value in struct literal

14 repositories have a red Go modules group because of this, including milo, ipam, billing, activity and dns-operator. The 10 standalone kube-openapi digest PRs that failed the same way were already closed.

Change

Disable digest updates for k8s.io/kube-openapi in the org preset. Renovate rebuilds each group without it. go mod tidy still raises kube-openapi when the k8s.io modules move to a release that needs a newer revision, so the module is not frozen.

Validated with renovate-config-validator 44.206.2.

Every k8s.io/kube-openapi revision Renovate proposes now requires
structured-merge-diff v7, while k8s.io/apimachinery v0.37 still builds
against v6. The bump fails to compile, and since the Go modules group
landed it takes the whole per-repo group down with it: 14 groups fail on
this one module.

Key features/changes:
- Disable digest updates for k8s.io/kube-openapi in the org preset
- go mod tidy still moves it when the k8s.io modules move, since
  apimachinery names the revision it needs
@ecv
ecv requested review from kevwilliams and scotwells November 3, 2026 05:40
@ecv
ecv requested a review from a team as a code owner November 3, 2026 05:40

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the rule matches only digest updates for kube-openapi, so minor and patch grouping elsewhere is untouched and MVS still raises it with apimachinery.

@ecv
ecv merged commit 11928b6 into main Nov 3, 2026
4 checks passed
@ecv
ecv deleted the chore/skip-kube-openapi-digest branch November 3, 2026 08:16
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.

3 participants