chore(deps): bump grpc to 1.82.1 & x/net to 0.55.0 across all modules - #121
Merged
Conversation
Fixes Dependabot alert #218 (GHSA-hrxh-6v49-42gf). grpc 1.82.1 requires Go >= 1.25.0, so the go directive is bumped from 1.24.0 to 1.25.0, which Dependabot's security update could not do automatically. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Resolves the remaining open Dependabot alerts: - grpc >= 1.82.1 (GHSA-hrxh-6v49-42gf, High): bazel, client-side-lb, enum-compatibility, error-details, fieldmask, keepalive, metadata/client, metadata/server, server-reflection, unary - golang.org/x/net >= 0.55.0 (Medium): client-side-lb, enum-compatibility, fieldmask, keepalive, metadata/server, server-reflection, wait-for-ready grpc 1.82.1 requires Go >= 1.25.0, so the go directive is bumped from 1.24.0 to 1.25.0 in client-side-lb, enum-compatibility, metadata/server and server-reflection. This is why Dependabot could not auto-fix these. Note: client-side-lb does not compile even before this change because client/main.go imports google.golang.org/grpc/naming, a package removed from grpc long ago (added intentionally as a deprecated-API sample in 9fd34cc). The version bump still clears its security alerts; the build failure is a pre-existing, separate issue requiring a code migration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jul 24, 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.
概要
open だった Dependabot セキュリティアラート 18 件全部をまとめて解消します。
内訳
grpc >= 1.82.1(High, GHSA-hrxh-6v49-42gf)— 11 モジュール
bazel#207,client-side-lb#208,enum-compatibility#209,error-details#210,fieldmask#211,keepalive#213,metadata/client#214,metadata/server#215,server-reflection#216,unary#217,wait-for-ready#218golang.org/x/net >= 0.55.0(Medium)— 7 モジュール
client-side-lb#183,enum-compatibility#187,fieldmask#188,keepalive#193,metadata/server#182,server-reflection#184,wait-for-ready#185なぜ Dependabot が自動修正できなかったか
grpc
1.82.1は Go 1.25.0 以上を要求します。client-side-lb/enum-compatibility/metadata/server/server-reflectionはgoディレクティブが1.24.0だったため、Dependabot のセキュリティアップデートではgoディレクティブを引き上げられず fix できませんでした。本 PR で1.24.0→1.25.0に手動で引き上げています。検証
各モジュールで
go mod tidy/go build ./.../go vet ./...を実行し、以下を除き全て成功。Warning
client-side-lbは本 PR とは無関係に、元々コンパイルできません。client/main.goが既に削除済みのgoogle.golang.org/grpc/namingを import しているためです(コミット 9fd34cc で「deprecated way」のサンプルとして意図的に追加されたもの)。バージョン bump 自体はセキュリティアラートを解消しますが、ビルドを通すにはnaming→resolverAPI への別途コード移行が必要です(本 PR のスコープ外)。🤖 Generated with Claude Code