Skip to content

chore(deps): bump the go group with 2 updates (fix 1020) - #1021

Merged
frewilhelm merged 7 commits into
open-component-model:mainfrom
frewilhelm:fix-1020
Oct 19, 2026
Merged

frewilhelm merged 7 commits into
open-component-model:mainfrom
frewilhelm:fix-1020

Conversation

@frewilhelm

@frewilhelm frewilhelm commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does

Fixes the failing checks from the dependabot go group bump (originally #1020).

  • Hold sigs.k8s.io/kustomize/api (and kyaml) at v0.21.2. The v0.21.3 bump pulled a newer k8s.io/kube-openapi built on structured-merge-diff/v7, which clashes with the pinned apimachinery v0.37.1 (still on v6) and broke the build/test/e2e compile (cannot use ...v7/schema.TypeDef as ...v6/schema.TypeDef). Reverting drops smd/v7 and rolls kube-openapi back to the v6-compatible build. Moving the k8s stack to smd/v7 is a separate, deliberate upgrade.
  • Bump golangci-lint v2.11.2 to v2.14.0. The pinned linter was built with go1.26 and panicked on the go1.27 toolchain (package requires newer Go version go1.27). v2.14.0 is built with go1.27.
  • Pin the golangci-lint install script to the version tag instead of master. master is a stale branch whose install.sh uses an unanchored checksum grep, so it matched the new *.tar.gz.sbom.json release asset and failed verification. The version-tagged script uses an anchored grep and installs cleanly.
  • Disable exhaustruct_v5 and apply linter autofixes. v2.14.0 renamed exhaustruct (already disabled here) to exhaustruct_v5, so linters.default: all re-enabled it and surfaced 202 findings; disabling it under the new name restores the repo's existing intent. The remaining new checks (modernize/embedlit, gofumpt) are autofixed across 9 files with no behavior change.
  • Bump the go directive to 1.27.2 for the toolchain security patches. CI uses setup-go with go-version-file under GOTOOLCHAIN=local, so the directive is what pins the toolchain used in CI and release builds.

Verified locally: go build ./..., go vet ./..., go mod verify, and golangci-lint run all pass; the e2e suite now compiles.

dependabot Bot and others added 4 commits October 11, 2026 15:03
---
updated-dependencies:
- dependency-name: ocm.software/ocm
  dependency-version: 0.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: sigs.k8s.io/kustomize/api
  dependency-version: 0.21.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
@frewilhelm
frewilhelm marked this pull request as ready for review October 12, 2026 07:30
@frewilhelm
frewilhelm requested a review from a team as a code owner October 12, 2026 07:30
@frewilhelm frewilhelm changed the title chore(deps): bump the go group with 2 updates (fix 1020 chore(deps): bump the go group with 2 updates (fix 1020) Oct 12, 2026
@frewilhelm
frewilhelm merged commit 488da86 into open-component-model:main Oct 19, 2026
9 checks passed
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.

2 participants