Skip to content

chore(deps): bump grpc to 1.82.1 & x/net to 0.55.0 across all modules - #121

Merged
jun06t merged 2 commits into
masterfrom
fix/wait-for-ready-grpc-1.82.1
Jul 27, 2026
Merged

chore(deps): bump grpc to 1.82.1 & x/net to 0.55.0 across all modules#121
jun06t merged 2 commits into
masterfrom
fix/wait-for-ready-grpc-1.82.1

Conversation

@jun06t

@jun06t jun06t commented Jul 27, 2026

Copy link
Copy Markdown
Owner

概要

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 #218

golang.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.1Go 1.25.0 以上を要求します。client-side-lb / enum-compatibility / metadata/server / server-reflectiongo ディレクティブが 1.24.0 だったため、Dependabot のセキュリティアップデートでは go ディレクティブを引き上げられず fix できませんでした。本 PR で 1.24.01.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 自体はセキュリティアラートを解消しますが、ビルドを通すには namingresolver API への別途コード移行が必要です(本 PR のスコープ外)。

🤖 Generated with Claude Code

jun06t and others added 2 commits July 27, 2026 11:23
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>
@jun06t jun06t changed the title chore(deps): bump google.golang.org/grpc to 1.82.1 in /wait-for-ready chore(deps): bump grpc to 1.82.1 & x/net to 0.55.0 across all modules Jul 27, 2026
@jun06t
jun06t merged commit b28982b into master Jul 27, 2026
1 check passed
@jun06t
jun06t deleted the fix/wait-for-ready-grpc-1.82.1 branch July 27, 2026 02:47
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.

1 participant