Skip to content

CP-46909: Batch Dependabot dependency updates - #982

Merged
amfelso merged 3 commits into
developfrom
CP-46909-dependency-batch
Aug 27, 2026
Merged

CP-46909: Batch Dependabot dependency updates#982
amfelso merged 3 commits into
developfrom
CP-46909-dependency-batch

Conversation

@amfelso

@amfelso amfelso commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Batches 18 of the open Dependabot dependency PRs onto one branch.

Root-module bumps fail format and generate, because format tidies all three modules and a root bump also rewrites tests/go.sum, which Dependabot doesn't commit. One tidy commit fixes all of them.

  • c6c0ae14 — Go module bumps across /, /tests and /.tools, then make format generate
  • ac762dfbdocker/setup-buildx-action → v4.3.0, renovatebot/github-action → v46.2.2
  • 962c8c65distroless/static-debian12:debug digest → e60a053

Supersedes #952, #953, #958, #959, #960, #962, #964, #966, #968, #970, #971, #973, #974, #976, #977, #978, #979, #981.

Left for separate PRs: #972, #969, #967, #957, #954 fail for reasons unrelated to tidiness. #975 and #980 are the /tests halves of #972 and #969, so they move with them.

Validation

make build, make test (65 packages, 0 failures) and make generate all clean locally. lint and analyze don't run on macOS here, so CI covers those.

🤖 Generated with Claude Code

amfelso and others added 3 commits August 26, 2026 16:37
Dependabot opened a batch of dependency PRs against this repo. Every bump
scoped to the root module fails the `format` and `generate` CI jobs, while
the identical bump scoped to /tests passes.

Root Cause:

tests/go.mod carries `replace github.com/cloudzero/cloudzero-agent => ../`,
so the tests module resolves the root module from the local path. The
`format` target runs `go mod tidy` in /, /.tools and /tests, so bumping a
dependency in the root module also rewrites tests/go.mod and tests/go.sum.
Dependabot only commits files for the module it is updating, so CI diffs
the tree afterwards and fails on the untidied files.

Batching the bumps onto one branch and running the tidy once clears this
for all of them, and avoids each merge invalidating the go.sum of every
branch still open.

Functional Requirements:

1. Root module dependencies must be current.

   Bumped k8s.io/api and k8s.io/apimachinery to v0.36.4,
   github.com/stretchr/testify to v1.12.1,
   github.com/parquet-go/parquet-go to v0.32.0,
   github.com/minio/minio-go/v7 to v7.3.0,
   github.com/launchdarkly/go-jsonstream/v3 to v3.1.2,
   google.golang.org/protobuf to the v1.36.12 release (off the
   pseudo-version), and github.com/shirou/gopsutil/v4 to v4.26.7.

2. Tests module dependencies must be current.

   Bumped k8s.io/api, k8s.io/apimachinery and k8s.io/client-go to
   v0.36.4, github.com/stretchr/testify to v1.12.1, and
   github.com/testcontainers/testcontainers-go to v0.44.0.

3. Tools module dependencies must be current.

   Bumped honnef.co/go/tools to v0.8.1 and helm.sh/helm/v3 to v3.21.4.
   helm v3.21.4 imports ProtonMail/go-crypto/openpgp from pkg/provenance,
   which needs new .tools/go.sum entries.

4. All three modules must be tidy so `format` and `generate` pass.

   Ran `make format generate`. No Go source needed reformatting and no
   generated artifact changed, so the only diff is the go.mod and go.sum
   churn above.

Validation:

- `make build` produces all 10 binaries.
- `make test` passes: 65 packages, 0 failures.
- `make generate` leaves the tree clean.
- logrus, prometheus/prometheus and moby/go-archive are deliberately left
  at their current versions. Those bumps fail for reasons unrelated to
  module tidiness and are handled separately.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Picks up the Dependabot bumps for the two pinned actions in the workflows.

Functional Requirements:

1. docker/setup-buildx-action must move from v4.2.0 to v4.3.0.

   Updated both pins in .github/workflows/docker-build.yml. The action is
   pinned by commit SHA with the version in a trailing comment, so the SHA
   and the comment are both updated.

2. renovatebot/github-action must move from v46.2.1 to v46.2.2.

   Updated the tag pin in .github/workflows/renovate.yml.

Validation:

- `make format` leaves both workflow files unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The certs stage in docker/Dockerfile pins
gcr.io/distroless/static-debian12:debug by digest. Upstream republished the
tag, so the pin moves to the current build.

Functional Requirements:

1. The pinned digest must track the current upstream :debug image.

   Updated the sha256 digest on the certs stage in docker/Dockerfile from
   869bb6d to e60a053.

Validation:

- The digest is only consumed by the container build, so `make build` is
  unaffected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@amfelso amfelso added the dependencies Pull requests that update a dependency file label Aug 26, 2026
@amfelso amfelso changed the title CP-46909: Batch low-risk Dependabot dependency updates CP-46909: Batch Dependabot dependency updates Aug 26, 2026
@amfelso
amfelso marked this pull request as ready for review August 26, 2026 20:44
@amfelso
amfelso requested a review from a team as a code owner August 26, 2026 20:44
@greptile-apps

greptile-apps Bot commented Aug 26, 2026

Copy link
Copy Markdown

Greptile Summary

This PR batches dependency updates across the runtime, test, and tooling Go modules, updates two GitHub Actions, and refreshes the distroless image digest.

  • Updates runtime and transitive Go dependencies, including Kubernetes, MinIO, Parquet, and networking packages.
  • Updates testcontainers and Kubernetes dependencies in the test module.
  • Updates Helm and staticcheck in the tooling module.
  • Updates Docker Buildx, Renovate, and the distroless certificate-stage image.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code defect identified.

The dependency manifests and checksums are updated together, workflow and image changes retain their existing execution models, and the investigated compatibility and security leads did not establish a reachable failure introduced by this PR.

Important Files Changed

Filename Overview
go.mod Updates runtime dependencies and associated transitive versions; no concrete compatibility failure was established.
tests/go.mod Updates testcontainers, Kubernetes test dependencies, and transitives consistently with the regenerated checksum file.
.tools/go.mod Updates Helm and staticcheck tooling dependencies; no concrete Makefile or CI invocation incompatibility was found.
.github/workflows/docker-build.yml Updates both Docker Buildx references to the same immutable v4.3.0 commit.
.github/workflows/renovate.yml Updates Renovate from one mutable release tag to another without changing workflow permissions or credential flow.
docker/Dockerfile Refreshes the immutable distroless debug image digest used as the certificate source stage.

Reviews (1): Last reviewed commit: "CP-46909: Bump distroless base image dig..." | Re-trigger Greptile

@josephbarnett josephbarnett left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Fix the builds and I bet this will all work

@amfelso
amfelso merged commit a26bf4e into develop Aug 27, 2026
28 of 31 checks passed
@amfelso
amfelso deleted the CP-46909-dependency-batch branch August 27, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants