Skip to content

chore: bump go-coldbrew dependencies to latest versions#22

Merged
ankurs merged 3 commits intomasterfrom
chore/bump-coldbrew-deps
Mar 26, 2026
Merged

chore: bump go-coldbrew dependencies to latest versions#22
ankurs merged 3 commits intomasterfrom
chore/bump-coldbrew-deps

Conversation

@ankurs
Copy link
Copy Markdown
Member

@ankurs ankurs commented Mar 26, 2026

Summary

  • Bump all go-coldbrew dependencies in cookiecutter template to latest versions
  • core v0.1.33, errors v0.2.5, log v0.2.7, interceptors v0.1.12, options v0.2.6, tracing v0.1.0

Test plan

  • Generate a project from template and verify it builds

Summary by CodeRabbit

  • Chores
    • Updated Go module dependencies to newer versions for improved stability, security, and compatibility.

core v0.1.33, errors v0.2.5, log v0.2.7, interceptors v0.1.12,
options v0.2.6, tracing v0.1.0, hystrixprometheus v0.1.2.

Includes Phase 4 migration (providers/prometheus, SupportPackageIsVersion1
sentinels).
Copilot AI review requested due to automatic review settings March 26, 2026 04:20
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d3c229c1-d48d-4c4f-a7c1-01aa0d088a84

📥 Commits

Reviewing files that changed from the base of the PR and between 2e0075c and a48f37a.

📒 Files selected for processing (1)
  • {{cookiecutter.app_name}}/go.mod

📝 Walkthrough

Walkthrough

This PR updates the Go module dependencies by removing several direct requirements and pinning newer versions of core packages including go-coldbrew modules and google.golang.org libraries, while restructuring the indirect dependency graph across tooling, protobuf, and tracing-related packages.

Changes

Cohort / File(s) Summary
Go Module Dependencies
{{cookiecutter.app_name}}/go.mod
Removes direct dependencies (boumenot/gocover-cobertura, bufbuild/buf, golangci-lint, mockery, golang.org/x/vuln) and updates go-coldbrew packages to newer pinned versions. Updates google.golang.org packages (genproto, grpc, protobuf) and restructures indirect dependencies including buf.build, connectrpc, OpenTelemetry, and linting tooling. Removes golang.org/x/vuln from tool() block.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • PR #20: Both PRs modify the project's golangci-lint usage and configuration in go.mod/tools.
  • PR #19: Both PRs update go.mod dependency versions, bumping many of the same modules (go-coldbrew packages, google.golang.org/*, OpenTelemetry-related modules).

Suggested reviewers

  • fajran
  • vestor
  • kevinjom
  • svetha-cvl

Poem

🐰 Dependencies dance in versions new,
Go-coldbrew brews a stronger brew,
Tools refined and buffers bright,
Module graph now shining right! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: bumping go-coldbrew dependencies to latest versions, which is the primary objective of the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-coldbrew-deps

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the cookiecutter Go template to use newer versions of the go-coldbrew framework modules, keeping generated services aligned with the latest upstream releases.

Changes:

  • Bump github.com/go-coldbrew/{core,errors,log} to newer versions.
  • Bump indirect go-coldbrew dependencies (interceptors, options, tracing, and hystrixprometheus) to newer versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread {{cookiecutter.app_name}}/go.mod Outdated
ankurs added 2 commits March 26, 2026 12:27
…w v0.1.33

Regenerated the complete go.mod from a clean go mod tidy run.
Bumps buf to v1.66.1, coldbrew core to v0.1.33, and all transitive
dependencies to their resolved versions. Removes stale deps
(go-grpc-prometheus, NYTimes/gziphandler, etc.).

Tested locally: go mod download + go tool buf generate works without
'updates to go.mod needed' error.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread {{cookiecutter.app_name}}/go.mod
@ankurs ankurs requested a review from Copilot March 26, 2026 06:34
@ankurs ankurs merged commit 0d1d3c9 into master Mar 26, 2026
13 checks passed
@ankurs ankurs deleted the chore/bump-coldbrew-deps branch March 26, 2026 06:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

github.com/go-coldbrew/log v0.2.7
github.com/kelseyhightower/envconfig v1.4.0
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10
github.com/stretchr/testify v1.11.1
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

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

main.go imports github.com/grpc-ecosystem/grpc-gateway/v2/runtime, but github.com/grpc-ecosystem/grpc-gateway/v2 is no longer required anywhere in go.mod. This will force go to rewrite go.mod/go.sum during builds (or fail under -mod=readonly) and makes the template’s dependency list incomplete. Add grpc-gateway/v2 back as a direct requirement (or run go mod tidy after ensuring the template still builds) so the module graph matches the code imports.

Suggested change
github.com/stretchr/testify v1.11.1
github.com/stretchr/testify v1.11.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0

Copilot uses AI. Check for mistakes.
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