Skip to content

Build(deps): Bump github.com/googleapis/gax-go/v2 from 2.16.0 to 2.21.0#1082

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/googleapis/gax-go/v2-2.21.0
Closed

Build(deps): Bump github.com/googleapis/gax-go/v2 from 2.16.0 to 2.21.0#1082
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/googleapis/gax-go/v2-2.21.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 6, 2026

Bumps github.com/googleapis/gax-go/v2 from 2.16.0 to 2.21.0.

Release notes

Sourced from github.com/googleapis/gax-go/v2's releases.

v2: v2.21.0

v2.21.0 (2026-04-01)

Features

  • update IsFeatureEnabled to not require EXPERIMENTAL (#497) (a2a329e3)

  • hook transport telemetry into gax.Invoke and record (#496) (d5310019)

v2: v2.20.0

v2.20.0 (2026-03-25)

Features

  • hook metric recording into gax.Invoke (#494) (1f3e9aef)

  • add TelemetryErrorInfo and ExtractTelemetryErrorInfo (#487) (defdded3)

v2: v2.19.0

v2.19.0 (2026-03-17)

Features

  • update WithLogger to WithLoggerContext. (#478) (1cb70baf)

  • pass logger to downstream via context (#474) (434fa676)

  • add WithClientMetrics CallOption (#479) (76f0284e)

  • add TransportTelemetryData for dynamic transport attributes (#481) (8a7caf00)

  • add ClientMetrics initialization core (#473) (f53618c2)

Bug Fixes

  • lazy initialization and getters for ClientMetrics (#485) (fb6c5f4d)

v2: v2.18.0

v2.18.0 (2026-03-09)

Features

  • move gax-go to use 1.25 as the lower bound of support (#469) (01594ca5)

  • add callctx telemetry helpers (#472) (fa319ffc)

v2 2.17.0

2.17.0 (2026-02-03)

Features

... (truncated)

Commits
  • 774a802 chore: create a release (#498)
  • a2a329e feat(v2): update IsFeatureEnabled to not require EXPERIMENTAL (#497)
  • d531001 feat(v2): hook transport telemetry into gax.Invoke and record (#496)
  • 25485ab chore: create a release (#495)
  • 1f3e9ae feat: hook metric recording into gax.Invoke (#494)
  • defdded feat(v2): add TelemetryErrorInfo and ExtractTelemetryErrorInfo (#487)
  • 399c197 chore(all): update all (#492)
  • c64aabe chore(all): update module google.golang.org/grpc to v1.79.3 [SECURITY] (#490)
  • 06bdf7f chore: create a release (#486)
  • bf56424 chore(all): update all (#484)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 6, 2026
@dependabot dependabot Bot added the go Pull requests that update go code label Apr 6, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 6, 2026

Walkthrough

Updated the go.mod file: bumped the module Go directive from go 1.24.13 to go 1.25.0 and upgraded multiple direct and indirect dependency versions (Google Cloud, OpenTelemetry, various golang.org/x/*, and related genproto/googleapis pseudo-versions). No code or control-flow changes.

Changes

Cohort / File(s) Summary
Go Module Dependencies
go.mod
Updated Go toolchain directive to go 1.25.0; upgraded direct dependencies including github.com/googleapis/gax-go/v2 (v2.16.0 → v2.22.0), google.golang.org/api (v0.257.0 → v0.272.0), golang.org/x/text (v0.33.0 → v0.35.0), and golang.org/x/term; refreshed indirect dependencies such as cloud.google.com/go/auth (v0.18.0 → v0.18.2), github.com/googleapis/enterprise-certificate-proxy (v0.3.7 → v0.3.14), OpenTelemetry modules (go.opentelemetry.io/otel* v1.39.0 → v1.43.0), numerous golang.org/x/* modules, and updated google.golang.org/genproto / googleapis pseudo-versions. No source code changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title references bumping gax-go to 2.21.0, but the raw summary shows the actual version upgraded to is 2.22.0, creating a mismatch between the stated and actual changes. Update the PR title to accurately reflect that gax-go/v2 was bumped to 2.22.0, not 2.21.0, to ensure clarity about the actual dependency version.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description directly relates to the changeset—it documents the dependency bump from gax-go v2.16.0 to v2.21.0 with release notes and commit details.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/github.com/googleapis/gax-go/v2-2.21.0

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

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 6, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign rcampos2029 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 6, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 6, 2026

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a openshift-online member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 3: go.mod declares go 1.25.0 but CI workflows still install older Go;
update each workflow that sets Go versions (specifically the GitHub Actions
files check-pull-request.yaml and publish-release.yaml) to use Go 1.25.0 (set
the actions/setup-go go-version to "1.25.0" or equivalent) so CI matches the
module toolchain; ensure all uses (matrix entries and direct setup actions) are
changed to 1.25.0 to avoid mismatched builds.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2bec5789-8eed-49cd-bed4-f7277251dd02

📥 Commits

Reviewing files that changed from the base of the PR and between e621c19 and dee036e.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
module github.com/openshift-online/ocm-cli

go 1.24.13
go 1.25.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "go.mod directive:"
rg -nP '^\s*go\s+[0-9]+\.[0-9]+(\.[0-9]+)?\s*$' go.mod

echo
echo "Workflow Go setup versions:"
rg -nP '^\s*go-version:\s*' .github/workflows/*.y*ml

echo
echo "If go.mod major.minor(.patch) is higher than workflow go-version, update workflow to match."

Repository: openshift-online/ocm-cli

Length of output: 426


Update all CI workflows to use Go 1.25.0 to match the module toolchain requirement.

go.mod Line 3 specifies go 1.25.0, but multiple workflows use older versions:

  • .github/workflows/check-pull-request.yaml uses 1.22 (line 51) and 1.23 (line 77)
  • .github/workflows/publish-release.yaml uses 1.23 (line 45)

All workflows must use Go 1.25.0 to match the module directive; otherwise, dependency resolution and builds will fail in CI.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 3, go.mod declares go 1.25.0 but CI workflows still install
older Go; update each workflow that sets Go versions (specifically the GitHub
Actions files check-pull-request.yaml and publish-release.yaml) to use Go 1.25.0
(set the actions/setup-go go-version to "1.25.0" or equivalent) so CI matches
the module toolchain; ensure all uses (matrix entries and direct setup actions)
are changed to 1.25.0 to avoid mismatched builds.

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 16, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 16, 2026

rebase

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Bumps [github.com/googleapis/gax-go/v2](https://github.com/googleapis/gax-go) from 2.16.0 to 2.21.0.
- [Release notes](https://github.com/googleapis/gax-go/releases)
- [Commits](googleapis/gax-go@v2.16.0...v2.21.0)

---
updated-dependencies:
- dependency-name: github.com/googleapis/gax-go/v2
  dependency-version: 2.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/googleapis/gax-go/v2-2.21.0 branch from dee036e to 5b12c22 Compare April 16, 2026 15:30
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 16, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 12: Update the PR title and description to accurately reflect the version
bump of the dependency github.com/googleapis/gax-go/v2 from 2.16.0 to 2.22.0
(go.mod currently lists v2.22.0), ensuring the title mentions v2.22.0 and the
body documents the full bump from 2.16.0 → 2.22.0 with the release date if
desired; change any remaining references to v2.21.0 to v2.22.0 so the PR
metadata matches the actual go.mod change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e1a657e3-c430-406e-a5b2-a43d556e14be

📥 Commits

Reviewing files that changed from the base of the PR and between dee036e and 5b12c22.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
github.com/golang-jwt/jwt/v4 v4.5.2
github.com/golang/glog v1.2.5
github.com/googleapis/gax-go/v2 v2.16.0
github.com/googleapis/gax-go/v2 v2.22.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify github.com/googleapis/gax-go/v2 v2.22.0 exists and check for breaking changes

echo "Checking if v2.22.0 tag exists..."
gh api repos/googleapis/gax-go/tags --jq '.[] | select(.name == "v2.22.0") | .name'

echo -e "\nFetching releases between v2.16.0 and v2.22.0..."
gh api repos/googleapis/gax-go/releases --jq '.[] | select(.tag_name | test("v2\\.(1[6-9]|2[0-2])\\.")) | {tag_name, name, published_at, body}' | head -50

Repository: openshift-online/ocm-cli

Length of output: 3254


Update PR title to reflect the actual version bump to v2.22.0.

The PR title indicates bumping github.com/googleapis/gax-go/v2 to v2.21.0, but the actual go.mod specifies v2.22.0 (released 2026-04-14, after v2.21.0 on 2026-04-01). Update the PR description to accurately reflect the bump from 2.16.0 to 2.22.0.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 12, Update the PR title and description to accurately reflect
the version bump of the dependency github.com/googleapis/gax-go/v2 from 2.16.0
to 2.22.0 (go.mod currently lists v2.22.0), ensuring the title mentions v2.22.0
and the body documents the full bump from 2.16.0 → 2.22.0 with the release date
if desired; change any remaining references to v2.21.0 to v2.22.0 so the PR
metadata matches the actual go.mod change.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 20, 2026

Superseded by #1096.

@dependabot dependabot Bot closed this Apr 20, 2026
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/googleapis/gax-go/v2-2.21.0 branch April 20, 2026 09:32
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 go Pull requests that update go code needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants