Skip to content

fix(deps): bump Go to 1.27.4, grpc-health-probe v0.4.63 and cosign v3.1.4 - #2510

Merged
muscariello merged 4 commits into
mainfrom
chore/go-1.27.4
Nov 18, 2026
Merged

muscariello merged 4 commits into
mainfrom
chore/go-1.27.4

Conversation

@muscariello

@muscariello muscariello commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Moves dir to Go 1.27.4 and unblocks the Renovate go-patches (#2507) and zot (#2508) PRs. With this in a release, the dir-apiserver and dir-reconciler images in agntcy/dir-staging scan clean.

Changes

Commit Change
fix(deps): bump Go to 1.27.4 … go 1.27.3 → 1.27.4 in all 8 modules, GO_VERSION, setup-go in the workflows and the build-dirctl action; golang:1.27.4-bookworm (4fa7c968…) in the cli, server and reconciler Dockerfiles (including the cel-helper stage); grpc-health-probe v0.4.63 (1d6cc571…)
fix(deps): bump cosign to v3.1.4 and drop the crypto11 replace cosign v3.1.4, sigstore (+ kms/aws, azure, gcp, hashivault) v1.11.3; remove replace github.com/ThalesIgnite/crypto11 => github.com/eclipse-keypont/crypto11 v1.6.8 from cli, client, reconciler, server, tests and samples/ard-over-ads
chore(renovate): group the Go version with the golang image new Go toolchain group (matchDepNames: go, golang); # renovate: annotation on GO_VERSION
docs CHANGELOG entry under Unreleased → Security

Why these go together

  • Go 1.27.4 fixes stdlib CVE-2026-97054, the only finding Trivy still reports on the v1.9.0 images: in apiserver, reconciler, /bin/grpc-health-probe and skill-scanner-cel-go. grpc-health-probe v0.4.61 was built with 1.27.3; v0.4.63 scans clean.
  • Renovate has both halves but opens them as separate branches: renovate/go-1.x waits for the schedule, and renovate/golang-1.x sits in "Pending Status Checks" (dashboard Dependency Dashboard #1172). Neither builds alone: a go directive newer than the builder image fails go mod download, as chore(deps): update dependency go to v1.27.4 - autoclosed oidc-gateway#124 shows. The Renovate commit groups them from now on.
  • crypto11: cosign v3.1.4 requires github.com/eclipse-keypont/crypto11 directly. With the old replace mapping ThalesIgnite to the same module, go get fails with "used for two different module paths". That's the renovate/artifacts, Lint and License failure on chore(deps): update go patches #2507 and chore(deps): update zot #2508. crypto11 now resolves to eclipse-keypont/crypto11 v1.6.8, the code the replace already pointed at. The other go.mod changes are cosign v3.1.4's and sigstore v1.11.3's minimum versions: cloud KMS SDKs, google.golang.org/api v0.310.0, logrus v1.10.2, and gitlab.com/gitlab-org/api/client-go → /v3.

After this merges, Renovate rebases #2507 down to the remaining patches (buf, ugorji, yaml), and #2508's artifact step should pass.

Verification

  • go mod tidy is a no-op on all 8 modules after the changes. go build ./... and go vet ./... pass in all 8 (CGO_ENABLED=0). go test ./... passes in api (7 packages), utils (8), client (12), server (32), reconciler (15) and cli (33).

  • govulncheck ./...: client and reconciler are clean. server and cli report only GO-2024-3218 (go-libp2p-kad-dht), which has no fixed version and predates this change.

  • linux/amd64 builds of apiserver (server/cmd), reconciler and dirctl report go1.27.4. trivy rootfs --scanners vuln --ignore-unfixed on them finds 0.

  • trivy image ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.63 finds 0.

  • renovate-config-validator --strict (43.89.5, the pinned version) passes.

  • I couldn't build the images locally (no Docker daemon); the Build / Image jobs cover the Dockerfile changes.

Follow-ups

  • Patch release (v1.9.1), then bump dir-staging applications/dir/dev to it.

Go 1.27.4 fixes stdlib CVE-2026-97054, the last finding Trivy reports on
the dir-apiserver and dir-reconciler v1.9.0 images (apiserver, reconciler,
grpc-health-probe and the rebuilt skill-scanner cel-go helper).

- go directive 1.27.3 -> 1.27.4 in all eight modules
- GO_VERSION, setup-go versions in the workflows and the build-dirctl action
- golang:1.27.4-bookworm builder image (digest 4fa7c968) in the cli,
  server and reconciler Dockerfiles, including the cel-helper stage
- grpc-health-probe v0.4.61 -> v0.4.63 (digest 1d6cc571), which scans clean

Renovate splits the go directive and the golang image into separate
branches, and neither builds without the other, so they move together here.

Signed-off-by: Luca Muscariello <[email protected]>
cosign v3.1.4 imports github.com/eclipse-keypont/crypto11 directly, so the
`replace github.com/ThalesIgnite/crypto11 => github.com/eclipse-keypont/crypto11`
workaround now maps two module paths to one and `go get` fails with "used
for two different module paths". That is what fails the Lint, License and
renovate/artifacts checks on the go-patches (#2507) and zot (#2508)
Renovate PRs.

- github.com/sigstore/cosign/v3 v3.1.3 -> v3.1.4
- github.com/sigstore/sigstore (and kms/aws, azure, gcp, hashivault)
  v1.11.0 -> v1.11.3
- remove the crypto11 replace from cli, client, reconciler, server, tests
  and samples/ard-over-ads; crypto11 now resolves to
  github.com/eclipse-keypont/crypto11 v1.6.8 directly, the same code the
  replace pointed at

The other go.mod changes are the minimum versions cosign v3.1.4 and
sigstore v1.11.3 require (cloud KMS SDKs, google.golang.org/api,
logrus, gitlab client-go v3).

Signed-off-by: Luca Muscariello <[email protected]>
Renovate opened the go directive (renovate/go-1.x) and the golang Docker
image (renovate/golang-1.x) as separate branches. Neither builds without
the other: a go directive newer than the builder image fails
`go mod download` with "go.mod requires go >= ...", which is how the
Go 1.27.4 bump stalled.

- add a "Go toolchain" group matching depName go and golang
- annotate GO_VERSION in Taskfile.vars.yml so Renovate keeps it in step

Signed-off-by: Luca Muscariello <[email protected]>
@muscariello
muscariello requested a review from a team as a code owner November 18, 2026 14:42
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Nov 18, 2026
@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@muscariello
muscariello added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 0da5cac Nov 18, 2026
37 checks passed
@muscariello
muscariello deleted the chore/go-1.27.4 branch November 18, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants