Repository navigation
fix(deps): bump Go to 1.27.4, grpc-health-probe v0.4.63 and cosign v3.1.4 - #2510
Merged
Merged
Conversation
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]>
Signed-off-by: Luca Muscariello <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ramizpolic
approved these changes
Nov 18, 2026
This was referenced Nov 18, 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.
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
fix(deps): bump Go to 1.27.4 …go1.27.3 → 1.27.4 in all 8 modules,GO_VERSION,setup-goin the workflows and thebuild-dirctlaction;golang:1.27.4-bookworm(4fa7c968…) in the cli, server and reconciler Dockerfiles (including thecel-helperstage); grpc-health-probe v0.4.63 (1d6cc571…)fix(deps): bump cosign to v3.1.4 and drop the crypto11 replacereplace github.com/ThalesIgnite/crypto11 => github.com/eclipse-keypont/crypto11 v1.6.8from cli, client, reconciler, server, tests and samples/ard-over-adschore(renovate): group the Go version with the golang imagematchDepNames: go, golang);# renovate:annotation onGO_VERSIONdocsWhy these go together
apiserver,reconciler,/bin/grpc-health-probeandskill-scanner-cel-go. grpc-health-probe v0.4.61 was built with 1.27.3; v0.4.63 scans clean.renovate/go-1.xwaits for the schedule, andrenovate/golang-1.xsits in "Pending Status Checks" (dashboard Dependency Dashboard #1172). Neither builds alone: agodirective newer than the builder image failsgo 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.github.com/eclipse-keypont/crypto11directly. With the old replace mappingThalesIgniteto the same module,go getfails with "used for two different module paths". That's therenovate/artifacts, Lint and License failure on chore(deps): update go patches #2507 and chore(deps): update zot #2508. crypto11 now resolves toeclipse-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/apiv0.310.0, logrus v1.10.2, andgitlab.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 tidyis a no-op on all 8 modules after the changes.go build ./...andgo 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/amd64builds ofapiserver(server/cmd),reconcileranddirctlreportgo1.27.4.trivy rootfs --scanners vuln --ignore-unfixedon them finds 0.trivy image ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.63finds 0.renovate-config-validator --strict(43.89.5, the pinned version) passes.I couldn't build the images locally (no Docker daemon); the
Build / Imagejobs cover the Dockerfile changes.Follow-ups
applications/dir/devto it.