fix(deployment-operator): remediate image vulnerabilities - #4067
Conversation
There was a problem hiding this comment.
This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:
| Name | Details |
|---|---|
| 💬 Prompt | Create exactly one PR that remediates vulnerabilities for only the deployment-operator image ghcr.io/pluralsh/deployment-operator:sha-36ca088.... |
| 🔗 Run history | View run history |
Soffi AI SummaryThis PR remediates image vulnerabilities in the deployment-operator and upgrades the Go toolchain across all service images in the monorepo. The core motivation is security: several Go dependencies in the deployment-operator had known CVEs, and the Go builder image itself was outdated. Direct dependencies ChangesDeployment-operator vulnerability remediation
Go 1.26.6 builder upgrade across all services
Updated: 2026-08-28 01:55 UTC |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Greptile SummaryThe PR updates the deployment-operator’s builder and workspace to Go 1.26.6 and refreshes its module graph to remediate image vulnerabilities.
Confidence Score: 5/5The PR appears safe to merge, with no concrete changed-code failure identified. The builder, module, and workspace versions remain aligned, and the dependency refresh did not establish a reachable regression or newly introduced vulnerable execution path.
|
| Filename | Overview |
|---|---|
| go/deployment-operator/Dockerfile | Updates the build-stage Go image from 1.26.5 to 1.26.6 without changing the runtime image or build flow. |
| go/deployment-operator/go.mod | Aligns the Go directive and upgrades Trivy, Velero, and their resolved transitive dependencies; no actionable compatibility or reachability defect was found. |
| go/deployment-operator/go.sum | Refreshes checksums consistently with the module graph changes. |
| go/go.work | Aligns the workspace Go directive with the deployment-operator module and builder toolchain. |
Reviews (1): Last reviewed commit: "fix(deployment-operator): remediate imag..." | Re-trigger Greptile
|
you SHOULD update all images to go 1.26.6, not revert dumbass |
Scope
Remediates vulnerabilities for the deployment-operator image only. Changes are limited to its Docker builder input, Go module metadata, and the Go workspace version needed for its CI/test commands. No GitOps manifests, image tags/references, Helm CLI version, or other service images were changed.
Vulnerability remediation
golang:1.26.6-alpine3.23;go.modandgo.workdirectives updated to 1.26.6.oras.land/oras-go/v2google.golang.org/grpcgolang.org/x/textgolang.org/x/netgithub.com/vmware-tanzu/velerogithub.com/containerd/containerdgithub.com/aquasecurity/trivygo getused exact Trivy and Velero target versions, followed bygo mod tidy; relatedgo.mod/go.sumtransitive refreshes are Go MVS consequences of those direct upgrades rather than a broad dependency update.Test Plan
Test Environment: https://console.plrldemo.onplural.sh/cd/clusters/a1748282-ce8b-48ab-ae7e-326e74fce04e/services/f3f89a54-d1a7-4bc8-9152-daa07ede918d/components
Presence decisions
deployment-agentplus the Dockerfile-downloaded Helm CLI only.go list -deps ./cmd/agentandgo version -mon the built final binary confirm all listed Go components are in the production agent closure at the versions above; there are no intentionally excluded scanner findings.v3.21.2+g1259634: it is a separately downloaded Dockerfile binary, independent ofhelm.sh/helm/v3, and is not implicated by these findings.Validation
docker build --file go/deployment-operator/Dockerfile --tag deployment-operator-vuln-remediation:local ./gocompleted successfully (production-equivalent Docker build; initial uncached run timed out at 15 minutes during compilation, cached retry passed)./workspace/deployment-agent, user65532:65532, Helmv3.21.2+g1259634.go version -mon the final agent reported Go 1.26.6 and all remediated component versions.go mod tidy -diff(Go 1.26.6,GOWORK=off) andgit diff --check.go test -run "^$" -tags=cache ./cmd/agent ./internal/controller ./pkg/controller/restore ./pkg/harness/security/trivypassed in a Go 1.26.6 container with CGO enabled.make testwas attempted twice. The first attempt identified the workspace Go directive mismatch fixed here. The retry was blocked before test execution by container VCS stamping (error obtaining VCS status: exit status 128) and gotestsum reporting no Go files. CI/full envtest should re-run where normal Git metadata is available.