From 0f48477052669e150b8777f201ba002d59f923e5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 03:37:34 +0000 Subject: [PATCH 01/28] chore(deps): update googleapis digest to 8ed13a0 (#5279) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 7ab876dc60d..3d4eeb4deaf 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "afb65ebefc9dc842a358c6e35e7bd47a55996d192dee166bb369a4a0f34bdd8d", - strip_prefix = "googleapis-fbbbf5023815f9a662c85aa8af8f3b72467fcb6f", + sha256 = "140e4ba18ed46f6f1234f675c822f38219093bb54ca5c30ddec721a19b0a789e", + strip_prefix = "googleapis-8ed13a08afe44525cb12e4ba89b6d3d452453c48", urls = [ - "https://github.com/googleapis/googleapis/archive/fbbbf5023815f9a662c85aa8af8f3b72467fcb6f.zip", + "https://github.com/googleapis/googleapis/archive/8ed13a08afe44525cb12e4ba89b6d3d452453c48.zip", ], ) From f81a0fafd0a3986a4ed055165106c4b38323037b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 15:59:45 +0000 Subject: [PATCH 02/28] chore(deps): update googleapis digest to 4c84e9b (#5280) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 3d4eeb4deaf..e21f0646550 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "140e4ba18ed46f6f1234f675c822f38219093bb54ca5c30ddec721a19b0a789e", - strip_prefix = "googleapis-8ed13a08afe44525cb12e4ba89b6d3d452453c48", + sha256 = "359ac32e09f109754cce40f99699ebe0cf59970e34cfc7dc4134f24efd84f295", + strip_prefix = "googleapis-4c84e9b22958827a02b761703d6fb431bc101adc", urls = [ - "https://github.com/googleapis/googleapis/archive/8ed13a08afe44525cb12e4ba89b6d3d452453c48.zip", + "https://github.com/googleapis/googleapis/archive/4c84e9b22958827a02b761703d6fb431bc101adc.zip", ], ) From cf3b874d6172a04b985c3b1a81543f6ffbb696f7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 23:42:27 +0000 Subject: [PATCH 03/28] chore(deps): update googleapis digest to b7c1119 (#5281) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index e21f0646550..28b6d2f841d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "359ac32e09f109754cce40f99699ebe0cf59970e34cfc7dc4134f24efd84f295", - strip_prefix = "googleapis-4c84e9b22958827a02b761703d6fb431bc101adc", + sha256 = "951bae88abedd95353b2f9e459c23c5df825a1db465e1ff540d18d2f6764f656", + strip_prefix = "googleapis-b7c1119f8e5b7f2c54714923549755117a3a614c", urls = [ - "https://github.com/googleapis/googleapis/archive/4c84e9b22958827a02b761703d6fb431bc101adc.zip", + "https://github.com/googleapis/googleapis/archive/b7c1119f8e5b7f2c54714923549755117a3a614c.zip", ], ) From 7108284d8c42816309b9ae11e14ee3f71af54e63 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 03:29:17 +0000 Subject: [PATCH 04/28] chore(deps): update googleapis digest to b4f2cb5 (#5282) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 28b6d2f841d..6fab38b9308 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "951bae88abedd95353b2f9e459c23c5df825a1db465e1ff540d18d2f6764f656", - strip_prefix = "googleapis-b7c1119f8e5b7f2c54714923549755117a3a614c", + sha256 = "c7d0e14d1b0a829fbc676bd8cce5a77cae5892b73fcc763621928649210bcbb0", + strip_prefix = "googleapis-b4f2cb5295c6cd7b4f0366514508f70304c48a21", urls = [ - "https://github.com/googleapis/googleapis/archive/b7c1119f8e5b7f2c54714923549755117a3a614c.zip", + "https://github.com/googleapis/googleapis/archive/b4f2cb5295c6cd7b4f0366514508f70304c48a21.zip", ], ) From 74b8bf31a9fce3d69b7a6b722e60a2a19d6963b2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 06:52:35 +0000 Subject: [PATCH 05/28] chore(deps): update dependency rules_python to v1.2.0 (#5283) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 6fab38b9308..fb15026a0e8 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -16,9 +16,9 @@ bazel_features_deps() http_archive( name = "rules_python", - sha256 = "9c6e26911a79fbf510a8f06d8eedb40f412023cf7fa6d1461def27116bff022c", - strip_prefix = "rules_python-1.1.0", - url = "https://github.com/bazelbuild/rules_python/releases/download/1.1.0/rules_python-1.1.0.tar.gz", + sha256 = "2ef40fdcd797e07f0b6abda446d1d84e2d9570d234fddf8fcd2aa262da852d1c", + strip_prefix = "rules_python-1.2.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/1.2.0/rules_python-1.2.0.tar.gz", ) load("@rules_python//python:repositories.bzl", "py_repositories") From d2778e54722dda1b75a60a0fc7803b42c9162d1c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:21:06 +0000 Subject: [PATCH 06/28] chore(deps): update googleapis digest to 35af68f (#5285) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index fb15026a0e8..bb2a68cc433 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "c7d0e14d1b0a829fbc676bd8cce5a77cae5892b73fcc763621928649210bcbb0", - strip_prefix = "googleapis-b4f2cb5295c6cd7b4f0366514508f70304c48a21", + sha256 = "54a6be4320fd422c899fc3bc4216186d2f8795698fc95670ac41b24610f77018", + strip_prefix = "googleapis-35af68f36aeb2c79978680fdc4549740d425dc2a", urls = [ - "https://github.com/googleapis/googleapis/archive/b4f2cb5295c6cd7b4f0366514508f70304c48a21.zip", + "https://github.com/googleapis/googleapis/archive/35af68f36aeb2c79978680fdc4549740d425dc2a.zip", ], ) From 8fed4d55ee37f8301f0fd8ac8bda08150263fb01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 09:12:40 -0800 Subject: [PATCH 07/28] chore(deps): update dependency rules_python to v1.2.0 (#5284) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- MODULE.bazel | 2 +- MODULE.bazel.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index f2d3de89eef..c2093c30bd1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -8,7 +8,7 @@ module( # Bazel Central Registry modules. bazel_dep(name = "bazel_features", version = "1.26.0") bazel_dep(name = "rules_license", version = "1.0.0") -bazel_dep(name = "rules_python", version = "1.1.0") +bazel_dep(name = "rules_python", version = "1.2.0") bazel_dep(name = "rules_proto", version = "7.1.0") bazel_dep(name = "rules_go", version = "0.53.0", repo_name = "io_bazel_rules_go") bazel_dep(name = "gazelle", version = "0.42.0", repo_name = "bazel_gazelle") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 7f2f544746f..11d2c630604 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -150,8 +150,8 @@ "https://bcr.bazel.build/modules/rules_python/0.31.0/MODULE.bazel": "93a43dc47ee570e6ec9f5779b2e64c1476a6ce921c48cc9a1678a91dd5f8fd58", "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", "https://bcr.bazel.build/modules/rules_python/0.40.0/MODULE.bazel": "9d1a3cd88ed7d8e39583d9ffe56ae8a244f67783ae89b60caafc9f5cf318ada7", - "https://bcr.bazel.build/modules/rules_python/1.1.0/MODULE.bazel": "57e01abae22956eb96d891572490d20e07d983e0c065de0b2170cafe5053e788", - "https://bcr.bazel.build/modules/rules_python/1.1.0/source.json": "29f1fdfd23a40808c622f813bc93e29c3aae277333f03293f667e76159750a0f", + "https://bcr.bazel.build/modules/rules_python/1.2.0/MODULE.bazel": "5aeeb48b2a6c19d668b48adf2b8a2b209a6310c230db0ce77450f148a89846e4", + "https://bcr.bazel.build/modules/rules_python/1.2.0/source.json": "5b7892685c9a843526fd5a31e7d7a93eb819c59fd7b7fc444b5b143558e1b073", "https://bcr.bazel.build/modules/rules_rust/0.57.1/MODULE.bazel": "2c9a54ba2ca856b97dc24f58089baf66e9b89ea1f5ead0f9fc36f7352e4eef03", "https://bcr.bazel.build/modules/rules_rust/0.57.1/source.json": "deb97fb4b4e7c04adb7d95c21e1b845d5369faa98f3f021c525d20342c3994e0", "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", From df94e5d6d4b8b61d2a450c82cebc8e97bc4f864c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 17:20:48 +0000 Subject: [PATCH 08/28] chore(deps): update actions/cache digest to d4323d4 (#5286) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .github/workflows/renovate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3284aa04b03..909f6d415f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4 + - uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 with: path: /home/vscode/.cache/_grpc_gateway_bazel key: v1-bazel-cache-${{ hashFiles('repositories.bzl') }} diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 5fe175963fc..c7cfd583de9 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -19,7 +19,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.GH_PUSH_TOKEN }} - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4 + - uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 with: path: /home/vscode/.cache/_grpc_gateway_bazel key: v1-bazel-cache-${{ hashFiles('repositories.bzl') }} From 032ed23c4f267091c987010e7d78226140edd6f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 17:22:00 +0000 Subject: [PATCH 09/28] chore(deps): update googleapis digest to d9b0493 (#5287) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index bb2a68cc433..3886cae4edd 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "54a6be4320fd422c899fc3bc4216186d2f8795698fc95670ac41b24610f77018", - strip_prefix = "googleapis-35af68f36aeb2c79978680fdc4549740d425dc2a", + sha256 = "d77c7b0674621c3ca798ebf75018c8809ecd53aeecf69c9d83d7a65fbdf2bab8", + strip_prefix = "googleapis-d9b049376b49f7ccf0dc0564c83357dd862f9b01", urls = [ - "https://github.com/googleapis/googleapis/archive/35af68f36aeb2c79978680fdc4549740d425dc2a.zip", + "https://github.com/googleapis/googleapis/archive/d9b049376b49f7ccf0dc0564c83357dd862f9b01.zip", ], ) From 62f5dfc8cf017b9f9e57966ce71adaf46a456a10 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 23:46:52 +0000 Subject: [PATCH 10/28] chore(deps): update googleapis digest to 68b6376 (#5288) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 3886cae4edd..626eb77f1db 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "d77c7b0674621c3ca798ebf75018c8809ecd53aeecf69c9d83d7a65fbdf2bab8", - strip_prefix = "googleapis-d9b049376b49f7ccf0dc0564c83357dd862f9b01", + sha256 = "3fedbc54f5ec88e4c7b154ffea05f84f5155405a27d6ea8f4378b8da230fc6b3", + strip_prefix = "googleapis-68b6376ca75f03094a65ec5bbbc868bd9f058ee3", urls = [ - "https://github.com/googleapis/googleapis/archive/d9b049376b49f7ccf0dc0564c83357dd862f9b01.zip", + "https://github.com/googleapis/googleapis/archive/68b6376ca75f03094a65ec5bbbc868bd9f058ee3.zip", ], ) From 4af786f9ead7d5a2fa09d75532a0fd54d9525fc4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 23:53:17 +0000 Subject: [PATCH 11/28] chore(deps): update slsa-framework/slsa-github-generator action to v2.1.0 (#5289) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 437b65f302f..08e94b6c94b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: actions: read # To read the workflow path. id-token: write # To sign the provenance. contents: write # To add assets to a release. - uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0 + uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0 with: compile-generator: true # Workaround for https://github.com/slsa-framework/slsa-github-generator/issues/1163 base64-subjects: "${{ needs.goreleaser.outputs.hashes }}" From 075e37cf215b4895661fe1c34d46472faa953995 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 02:22:21 +0000 Subject: [PATCH 12/28] fix(deps): update google.golang.org/genproto/googleapis/rpc digest to 55c9018 (#5291) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- repositories.bzl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 31f690c5e3e..464fe608685 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( golang.org/x/oauth2 v0.27.0 golang.org/x/text v0.22.0 google.golang.org/genproto/googleapis/api v0.0.0-20250224174004-546df14abb99 - google.golang.org/genproto/googleapis/rpc v0.0.0-20250224174004-546df14abb99 + google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e google.golang.org/grpc v1.70.0 google.golang.org/protobuf v1.36.5 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 1514776ddfd..dd6f8cf3c63 100644 --- a/go.sum +++ b/go.sum @@ -43,8 +43,8 @@ golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= google.golang.org/genproto/googleapis/api v0.0.0-20250224174004-546df14abb99 h1:ilJhrCga0AptpJZXmUYG4MCrx/zf3l1okuYz7YK9PPw= google.golang.org/genproto/googleapis/api v0.0.0-20250224174004-546df14abb99/go.mod h1:Xsh8gBVxGCcbV8ZeTB9wI5XPyZ5RvC6V3CTeeplHbiA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250224174004-546df14abb99 h1:ZSlhAUqC4r8TPzqLXQ0m3upBNZeF+Y8jQ3c4CR3Ujms= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250224174004-546df14abb99/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ= google.golang.org/grpc v1.70.0/go.mod h1:ofIJqVKDXx/JiXrwr2IG4/zwdH9txy3IlF40RmcJSQw= google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM= diff --git a/repositories.bzl b/repositories.bzl index f4ef7ce35b6..47a52672892 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -1863,8 +1863,8 @@ def go_repositories(): go_repository( name = "org_golang_google_genproto_googleapis_rpc", importpath = "google.golang.org/genproto/googleapis/rpc", - sum = "h1:ZSlhAUqC4r8TPzqLXQ0m3upBNZeF+Y8jQ3c4CR3Ujms=", - version = "v0.0.0-20250224174004-546df14abb99", + sum = "h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA=", + version = "v0.0.0-20250227231956-55c901821b1e", ) go_repository( name = "org_golang_google_grpc", From b53c6045bfdc541eb419231a54f2487e84f7b9b6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 07:26:43 +0000 Subject: [PATCH 13/28] fix(deps): update google.golang.org/genproto/googleapis/api digest to 55c9018 (#5290) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- repositories.bzl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 464fe608685..a7521c3201b 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/rogpeppe/fastuuid v1.2.0 golang.org/x/oauth2 v0.27.0 golang.org/x/text v0.22.0 - google.golang.org/genproto/googleapis/api v0.0.0-20250224174004-546df14abb99 + google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e google.golang.org/grpc v1.70.0 google.golang.org/protobuf v1.36.5 diff --git a/go.sum b/go.sum index dd6f8cf3c63..1f231d8c2fc 100644 --- a/go.sum +++ b/go.sum @@ -41,8 +41,8 @@ golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= -google.golang.org/genproto/googleapis/api v0.0.0-20250224174004-546df14abb99 h1:ilJhrCga0AptpJZXmUYG4MCrx/zf3l1okuYz7YK9PPw= -google.golang.org/genproto/googleapis/api v0.0.0-20250224174004-546df14abb99/go.mod h1:Xsh8gBVxGCcbV8ZeTB9wI5XPyZ5RvC6V3CTeeplHbiA= +google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e h1:nsxey/MfoGzYNduN0NN/+hqP9iiCIYsrVbXb/8hjFM8= +google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e/go.mod h1:Xsh8gBVxGCcbV8ZeTB9wI5XPyZ5RvC6V3CTeeplHbiA= google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA= google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ= diff --git a/repositories.bzl b/repositories.bzl index 47a52672892..a4c5aa56eb9 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -1857,8 +1857,8 @@ def go_repositories(): go_repository( name = "org_golang_google_genproto_googleapis_api", importpath = "google.golang.org/genproto/googleapis/api", - sum = "h1:ilJhrCga0AptpJZXmUYG4MCrx/zf3l1okuYz7YK9PPw=", - version = "v0.0.0-20250224174004-546df14abb99", + sum = "h1:nsxey/MfoGzYNduN0NN/+hqP9iiCIYsrVbXb/8hjFM8=", + version = "v0.0.0-20250227231956-55c901821b1e", ) go_repository( name = "org_golang_google_genproto_googleapis_rpc", From 7ec023821c6a5fc4d86bcf6748513cb26a71288d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:34:46 +0000 Subject: [PATCH 14/28] chore(deps): update googleapis digest to e7e5265 (#5292) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 626eb77f1db..a401b2da287 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "3fedbc54f5ec88e4c7b154ffea05f84f5155405a27d6ea8f4378b8da230fc6b3", - strip_prefix = "googleapis-68b6376ca75f03094a65ec5bbbc868bd9f058ee3", + sha256 = "ebb57bcac80e99b39a2604b6400dc907d8fd80c731e488e076865a65d8b9c34b", + strip_prefix = "googleapis-e7e526513dc435f0386358bd5354f3de6ced6380", urls = [ - "https://github.com/googleapis/googleapis/archive/68b6376ca75f03094a65ec5bbbc868bd9f058ee3.zip", + "https://github.com/googleapis/googleapis/archive/e7e526513dc435f0386358bd5354f3de6ced6380.zip", ], ) From ebc17c3dcdee24da375724d97c2863b1b72ded03 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 14:22:02 +0000 Subject: [PATCH 15/28] chore(deps): update googleapis digest to 20b0b77 (#5293) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index a401b2da287..bd0f0383a77 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "ebb57bcac80e99b39a2604b6400dc907d8fd80c731e488e076865a65d8b9c34b", - strip_prefix = "googleapis-e7e526513dc435f0386358bd5354f3de6ced6380", + sha256 = "97104da31e0c699ea96e102b6642819af4c06c14e9fe493f7d6135da4dfe9fc1", + strip_prefix = "googleapis-20b0b77ac80d437263b09e473d1b9fca1ae31dcb", urls = [ - "https://github.com/googleapis/googleapis/archive/e7e526513dc435f0386358bd5354f3de6ced6380.zip", + "https://github.com/googleapis/googleapis/archive/20b0b77ac80d437263b09e473d1b9fca1ae31dcb.zip", ], ) From 21e4d6603b605ae0d2c385b980fb48f7b74f13f7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:07:15 +0000 Subject: [PATCH 16/28] chore(deps): update googleapis digest to 9415ba0 (#5294) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index bd0f0383a77..d8b32574381 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "97104da31e0c699ea96e102b6642819af4c06c14e9fe493f7d6135da4dfe9fc1", - strip_prefix = "googleapis-20b0b77ac80d437263b09e473d1b9fca1ae31dcb", + sha256 = "4aadec38dc151f620fca0d019da00098b03e59f76224f26e8f2e4ca6d0a135e7", + strip_prefix = "googleapis-9415ba048aa587b1b2df2b96fc00aa009c831597", urls = [ - "https://github.com/googleapis/googleapis/archive/20b0b77ac80d437263b09e473d1b9fca1ae31dcb.zip", + "https://github.com/googleapis/googleapis/archive/9415ba048aa587b1b2df2b96fc00aa009c831597.zip", ], ) From 6edc9af45e06e73ccb832e61459ee25be0382816 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:11:39 +0000 Subject: [PATCH 17/28] chore(deps): update dependency rules_rust to v0.58.0 (#5295) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- MODULE.bazel | 2 +- MODULE.bazel.lock | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index c2093c30bd1..2fcc82ca51a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -19,7 +19,7 @@ bazel_dep(name = "googleapis", version = "0.0.0-20241220-5e258e33") # This is required as a transitive dependency and not directly needed by this module. # We have this version pinned to solve for differences in the MODULE.bazel.lock file # when running CI. -bazel_dep(name = "rules_rust", version = "0.57.1") +bazel_dep(name = "rules_rust", version = "0.58.0") go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") go_sdk.download(version = "1.24.0") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 11d2c630604..5882a51563f 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -91,11 +91,12 @@ "https://bcr.bazel.build/modules/rules_cc/0.0.15/MODULE.bazel": "6704c35f7b4a72502ee81f61bf88706b54f06b3cbe5558ac17e2e14666cd5dcc", "https://bcr.bazel.build/modules/rules_cc/0.0.16/MODULE.bazel": "7661303b8fc1b4d7f532e54e9d6565771fea666fbdf839e0a86affcd02defe87", "https://bcr.bazel.build/modules/rules_cc/0.0.17/MODULE.bazel": "2ae1d8f4238ec67d7185d8861cb0a2cdf4bc608697c331b95bf990e69b62e64a", - "https://bcr.bazel.build/modules/rules_cc/0.0.17/source.json": "4db99b3f55c90ab28d14552aa0632533e3e8e5e9aea0f5c24ac0014282c2a7c5", "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", + "https://bcr.bazel.build/modules/rules_cc/0.1.1/MODULE.bazel": "2f0222a6f229f0bf44cd711dc13c858dad98c62d52bd51d8fc3a764a83125513", + "https://bcr.bazel.build/modules/rules_cc/0.1.1/source.json": "d61627377bd7dd1da4652063e368d9366fc9a73920bfa396798ad92172cf645c", "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/source.json": "c8b1e2c717646f1702290959a3302a178fb639d987ab61d548105019f11e527e", @@ -152,8 +153,8 @@ "https://bcr.bazel.build/modules/rules_python/0.40.0/MODULE.bazel": "9d1a3cd88ed7d8e39583d9ffe56ae8a244f67783ae89b60caafc9f5cf318ada7", "https://bcr.bazel.build/modules/rules_python/1.2.0/MODULE.bazel": "5aeeb48b2a6c19d668b48adf2b8a2b209a6310c230db0ce77450f148a89846e4", "https://bcr.bazel.build/modules/rules_python/1.2.0/source.json": "5b7892685c9a843526fd5a31e7d7a93eb819c59fd7b7fc444b5b143558e1b073", - "https://bcr.bazel.build/modules/rules_rust/0.57.1/MODULE.bazel": "2c9a54ba2ca856b97dc24f58089baf66e9b89ea1f5ead0f9fc36f7352e4eef03", - "https://bcr.bazel.build/modules/rules_rust/0.57.1/source.json": "deb97fb4b4e7c04adb7d95c21e1b845d5369faa98f3f021c525d20342c3994e0", + "https://bcr.bazel.build/modules/rules_rust/0.58.0/MODULE.bazel": "3c8f4147982822c7d1fa63aecb1468c38ab9178107770df18031211a16719247", + "https://bcr.bazel.build/modules/rules_rust/0.58.0/source.json": "36262a3cdbd52eb89f275aa41877f0ea77aa4759c26ff76c6bfeb03aeff7b3dd", "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", "https://bcr.bazel.build/modules/rules_shell/0.3.0/MODULE.bazel": "de4402cd12f4cc8fda2354fce179fdb068c0b9ca1ec2d2b17b3e21b24c1a937b", "https://bcr.bazel.build/modules/rules_shell/0.3.0/source.json": "c55ed591aa5009401ddf80ded9762ac32c358d2517ee7820be981e2de9756cf3", @@ -203,7 +204,7 @@ }, "@@apple_support+//crosstool:setup.bzl%apple_cc_configure_extension": { "general": { - "bzlTransitiveDigest": "Ync9nL0AbHC6ondeEY7fBjBjLxojTsiXcJh65ZDTRlA=", + "bzlTransitiveDigest": "xcBTf2+GaloFpg7YEh/Bv+1yAczRkiCt3DGws4K7kSk=", "usagesDigest": "3L+PK6aRnliv0iIS8m3kdo+LjmvjJWoFCm3qZcPSg+8=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, From 1976bf4a65a5c47a7c7dc870ec1202724b5a3e8e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 22:38:03 +0000 Subject: [PATCH 18/28] chore(deps): update googleapis digest to 56d4e62 (#5296) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index d8b32574381..dc4e37ca5b1 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "4aadec38dc151f620fca0d019da00098b03e59f76224f26e8f2e4ca6d0a135e7", - strip_prefix = "googleapis-9415ba048aa587b1b2df2b96fc00aa009c831597", + sha256 = "886616a97791d515b47563c550c90f96883421e14066cf1a07b13ac821907cd4", + strip_prefix = "googleapis-56d4e625429fe7c66ab563bd0f7afb1c3299f619", urls = [ - "https://github.com/googleapis/googleapis/archive/9415ba048aa587b1b2df2b96fc00aa009c831597.zip", + "https://github.com/googleapis/googleapis/archive/56d4e625429fe7c66ab563bd0f7afb1c3299f619.zip", ], ) From 416fe93eb6fb3294e1be373b983aac825d318297 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 02:02:11 +0000 Subject: [PATCH 19/28] chore(deps): update googleapis digest to abfda69 (#5297) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index dc4e37ca5b1..938433a9cad 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "886616a97791d515b47563c550c90f96883421e14066cf1a07b13ac821907cd4", - strip_prefix = "googleapis-56d4e625429fe7c66ab563bd0f7afb1c3299f619", + sha256 = "47fdac70e31c68a5b9db7dad3de6f061ef4f6620a3d51a39bb6d698ab5ca0184", + strip_prefix = "googleapis-abfda69aa3b8dbd8e419fbbeab9efadfc774e284", urls = [ - "https://github.com/googleapis/googleapis/archive/56d4e625429fe7c66ab563bd0f7afb1c3299f619.zip", + "https://github.com/googleapis/googleapis/archive/abfda69aa3b8dbd8e419fbbeab9efadfc774e284.zip", ], ) From dbc59a4b63fb86707ce79b39f4598f370d5650e9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 2 Mar 2025 18:35:25 +0000 Subject: [PATCH 20/28] chore(deps): update googleapis digest to 02306e9 (#5299) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 938433a9cad..74f80eaf223 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "47fdac70e31c68a5b9db7dad3de6f061ef4f6620a3d51a39bb6d698ab5ca0184", - strip_prefix = "googleapis-abfda69aa3b8dbd8e419fbbeab9efadfc774e284", + sha256 = "393685cb779e294f56ae2f1e1d6cc65fbeb14223274cde9889b4bf85d60f719c", + strip_prefix = "googleapis-02306e9ffc69ade24961ecb9d1e32779d87392f2", urls = [ - "https://github.com/googleapis/googleapis/archive/abfda69aa3b8dbd8e419fbbeab9efadfc774e284.zip", + "https://github.com/googleapis/googleapis/archive/02306e9ffc69ade24961ecb9d1e32779d87392f2.zip", ], ) From f80a19c08fb3d2dda57f665e6ede4dbaa7b4cf26 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 15:28:06 +0000 Subject: [PATCH 21/28] fix(deps): update google.golang.org/genproto/googleapis/api digest to a0af3ef (#5300) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- repositories.bzl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index a7521c3201b..7c5b32e8b47 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/rogpeppe/fastuuid v1.2.0 golang.org/x/oauth2 v0.27.0 golang.org/x/text v0.22.0 - google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e + google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e google.golang.org/grpc v1.70.0 google.golang.org/protobuf v1.36.5 diff --git a/go.sum b/go.sum index 1f231d8c2fc..436e159ef44 100644 --- a/go.sum +++ b/go.sum @@ -41,8 +41,8 @@ golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= -google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e h1:nsxey/MfoGzYNduN0NN/+hqP9iiCIYsrVbXb/8hjFM8= -google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e/go.mod h1:Xsh8gBVxGCcbV8ZeTB9wI5XPyZ5RvC6V3CTeeplHbiA= +google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb h1:p31xT4yrYrSM/G4Sn2+TNUkVhFCbG9y8itM2S6Th950= +google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:jbe3Bkdp+Dh2IrslsFCklNhweNTBgSYanP1UXhJDhKg= google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA= google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ= diff --git a/repositories.bzl b/repositories.bzl index a4c5aa56eb9..299daf448dd 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -1857,8 +1857,8 @@ def go_repositories(): go_repository( name = "org_golang_google_genproto_googleapis_api", importpath = "google.golang.org/genproto/googleapis/api", - sum = "h1:nsxey/MfoGzYNduN0NN/+hqP9iiCIYsrVbXb/8hjFM8=", - version = "v0.0.0-20250227231956-55c901821b1e", + sum = "h1:p31xT4yrYrSM/G4Sn2+TNUkVhFCbG9y8itM2S6Th950=", + version = "v0.0.0-20250303144028-a0af3efb3deb", ) go_repository( name = "org_golang_google_genproto_googleapis_rpc", From 23c8e4011906b44c3acd3822202d7719274b3e55 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:47:26 +0000 Subject: [PATCH 22/28] chore(deps): update googleapis digest to 50cbb15 (#5302) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 74f80eaf223..15764b3086e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "393685cb779e294f56ae2f1e1d6cc65fbeb14223274cde9889b4bf85d60f719c", - strip_prefix = "googleapis-02306e9ffc69ade24961ecb9d1e32779d87392f2", + sha256 = "be3488c520d7a5a3cf6f7863b57d27f32550cef6b85ec4e50c9d5845d65e04d0", + strip_prefix = "googleapis-50cbb15ee738d6a049af68756a9709ea50421e87", urls = [ - "https://github.com/googleapis/googleapis/archive/02306e9ffc69ade24961ecb9d1e32779d87392f2.zip", + "https://github.com/googleapis/googleapis/archive/50cbb15ee738d6a049af68756a9709ea50421e87.zip", ], ) From c18bc4e6976e2d97c2c49bab5f3b17ba720f5b27 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:50:51 +0000 Subject: [PATCH 23/28] fix(deps): update google.golang.org/genproto/googleapis/rpc digest to a0af3ef (#5301) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- repositories.bzl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 7c5b32e8b47..6e75ebc6698 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( golang.org/x/oauth2 v0.27.0 golang.org/x/text v0.22.0 google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb - google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e + google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb google.golang.org/grpc v1.70.0 google.golang.org/protobuf v1.36.5 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 436e159ef44..a1afa7c52c3 100644 --- a/go.sum +++ b/go.sum @@ -43,8 +43,8 @@ golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb h1:p31xT4yrYrSM/G4Sn2+TNUkVhFCbG9y8itM2S6Th950= google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:jbe3Bkdp+Dh2IrslsFCklNhweNTBgSYanP1UXhJDhKg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb h1:TLPQVbx1GJ8VKZxz52VAxl1EBgKXXbTiU9Fc5fZeLn4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ= google.golang.org/grpc v1.70.0/go.mod h1:ofIJqVKDXx/JiXrwr2IG4/zwdH9txy3IlF40RmcJSQw= google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM= diff --git a/repositories.bzl b/repositories.bzl index 299daf448dd..aa912e14993 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -1863,8 +1863,8 @@ def go_repositories(): go_repository( name = "org_golang_google_genproto_googleapis_rpc", importpath = "google.golang.org/genproto/googleapis/rpc", - sum = "h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA=", - version = "v0.0.0-20250227231956-55c901821b1e", + sum = "h1:TLPQVbx1GJ8VKZxz52VAxl1EBgKXXbTiU9Fc5fZeLn4=", + version = "v0.0.0-20250303144028-a0af3efb3deb", ) go_repository( name = "org_golang_google_grpc", From 260ccbdffffa6522cbf8eabd03e7bf32c061adc8 Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Mon, 3 Mar 2025 14:13:17 -0800 Subject: [PATCH 24/28] Revert "feat: expose invalid argument error to clients in bidirectional streaming (#4795) (#4819)" (#5303) This reverts commit 830ba2782f9f2715fce43027ce10100a8e0096df. Unfortunately this suffered from a bug that could cause a panic. Revert until we can reintroduce it without the bug. --- examples/internal/integration/BUILD.bazel | 1 - .../internal/integration/integration_test.go | 94 ------------------- .../proto/examplepb/flow_combination.pb.gw.go | 22 +---- .../internal/proto/examplepb/stream.pb.gw.go | 44 ++------- .../internal/gengateway/template.go | 25 +---- .../internal/gengateway/template_test.go | 2 +- 6 files changed, 20 insertions(+), 168 deletions(-) diff --git a/examples/internal/integration/BUILD.bazel b/examples/internal/integration/BUILD.bazel index 9ae6ba31a23..08d1a021385 100644 --- a/examples/internal/integration/BUILD.bazel +++ b/examples/internal/integration/BUILD.bazel @@ -25,7 +25,6 @@ go_test( "@org_golang_google_protobuf//encoding/protojson", "@org_golang_google_protobuf//proto", "@org_golang_google_protobuf//testing/protocmp", - "@org_golang_google_protobuf//types/known/durationpb", "@org_golang_google_protobuf//types/known/emptypb", "@org_golang_google_protobuf//types/known/fieldmaskpb", "@org_golang_google_protobuf//types/known/structpb", diff --git a/examples/internal/integration/integration_test.go b/examples/internal/integration/integration_test.go index bdd7618354b..65bb5938450 100644 --- a/examples/internal/integration/integration_test.go +++ b/examples/internal/integration/integration_test.go @@ -28,7 +28,6 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/testing/protocmp" - "google.golang.org/protobuf/types/known/durationpb" "google.golang.org/protobuf/types/known/emptypb" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" "google.golang.org/protobuf/types/known/structpb" @@ -523,7 +522,6 @@ func TestABE(t *testing.T) { testABEDownload(t, 8088) testABEBulkEcho(t, 8088) testABEBulkEchoZeroLength(t, 8088) - testABEBulkEchoDurationError(t, 8088) testAdditionalBindings(t, 8088) testABERepeated(t, 8088) testABEExists(t, 8088) @@ -1451,98 +1449,6 @@ func testABEBulkEchoZeroLength(t *testing.T, port int) { } } -func testABEBulkEchoDurationError(t *testing.T, port int) { - reqr, reqw := io.Pipe() - var wg sync.WaitGroup - var want []*durationpb.Duration - wg.Add(1) - go func() { - defer wg.Done() - defer reqw.Close() - for i := 0; i < 10; i++ { - s := fmt.Sprintf("%d.123s", i) - if i == 5 { - s = "invalidDurationFormat" - } - buf, err := marshaler.Marshal(s) - if err != nil { - t.Errorf("marshaler.Marshal(%v) failed with %v; want success", s, err) - return - } - if _, err = reqw.Write(buf); err != nil { - t.Errorf("reqw.Write(%q) failed with %v; want success", string(buf), err) - return - } - want = append(want, &durationpb.Duration{Seconds: int64(i), Nanos: int32(0.123 * 1e9)}) - } - }() - apiURL := fmt.Sprintf("http://localhost:%d/v1/example/a_bit_of_everything/echo_duration", port) - req, err := http.NewRequest("POST", apiURL, reqr) - if err != nil { - t.Errorf("http.NewRequest(%q, %q, reqr) failed with %v; want success", "POST", apiURL, err) - return - } - req.Header.Set("Content-Type", "application/json") - req.Header.Set("Transfer-Encoding", "chunked") - resp, err := http.DefaultClient.Do(req) - if err != nil { - t.Errorf("http.Post(%q, %q, req) failed with %v; want success", apiURL, "application/json", err) - return - } - defer resp.Body.Close() - if got, want := resp.StatusCode, http.StatusOK; got != want { - t.Errorf("resp.StatusCode = %d; want %d", got, want) - } - - var got []*durationpb.Duration - var invalidArgumentCount int - wg.Add(1) - go func() { - defer wg.Done() - - dec := marshaler.NewDecoder(resp.Body) - for i := 0; ; i++ { - var item struct { - Result json.RawMessage `json:"result"` - Error map[string]interface{} `json:"error"` - } - err := dec.Decode(&item) - if err == io.EOF { - break - } - if err != nil { - t.Errorf("dec.Decode(&item) failed with %v; want success; i = %d", err, i) - } - if len(item.Error) != 0 { - code, ok := item.Error["code"].(float64) - if !ok { - t.Errorf("item.Error[code] not found or not a number: %#v; i = %d", item.Error, i) - } else if int32(code) == 3 { - invalidArgumentCount++ - } else { - t.Errorf("item.Error[code] = %v; want 3; i = %d", code, i) - } - continue - } - - msg := new(durationpb.Duration) - if err := marshaler.Unmarshal(item.Result, msg); err != nil { - t.Errorf("marshaler.Unmarshal(%q, msg) failed with %v; want success", item.Result, err) - } - got = append(got, msg) - } - - if invalidArgumentCount != 1 { - t.Errorf("got %d errors with code 3; want exactly 1", invalidArgumentCount) - } - }() - - wg.Wait() - if diff := cmp.Diff(got, want[:5], protocmp.Transform()); diff != "" { - t.Error(diff) - } -} - func testAdditionalBindings(t *testing.T, port int) { for i, f := range []func() *http.Response{ func() *http.Response { diff --git a/examples/internal/proto/examplepb/flow_combination.pb.gw.go b/examples/internal/proto/examplepb/flow_combination.pb.gw.go index 3e5a0ef6cd7..5412498bde2 100644 --- a/examples/internal/proto/examplepb/flow_combination.pb.gw.go +++ b/examples/internal/proto/examplepb/flow_combination.pb.gw.go @@ -113,14 +113,12 @@ func request_FlowCombination_StreamEmptyRpc_0(ctx context.Context, marshaler run return msg, metadata, err } -func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_StreamEmptyStreamClient, runtime.ServerMetadata, chan error, error) { +func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_StreamEmptyStreamClient, runtime.ServerMetadata, error) { var metadata runtime.ServerMetadata - errChan := make(chan error, 1) stream, err := client.StreamEmptyStream(ctx) if err != nil { grpclog.Errorf("Failed to start streaming: %v", err) - close(errChan) - return nil, metadata, errChan, err + return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) handleSend := func() error { @@ -140,10 +138,8 @@ func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler return nil } go func() { - defer close(errChan) for { if err := handleSend(); err != nil { - errChan <- err break } } @@ -154,10 +150,10 @@ func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler header, err := stream.Header() if err != nil { grpclog.Errorf("Failed to get header from client: %v", err) - return nil, metadata, errChan, err + return nil, metadata, err } metadata.HeaderMD = header - return stream, metadata, errChan, nil + return stream, metadata, nil } func request_FlowCombination_RpcBodyRpc_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -1541,20 +1537,12 @@ func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.Serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - - resp, md, reqErrChan, err := request_FlowCombination_StreamEmptyStream_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_FlowCombination_StreamEmptyStream_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - go func() { - for err := range reqErrChan { - if err != nil && !errors.Is(err, io.EOF) { - runtime.HTTPStreamError(annotatedContext, mux, outboundMarshaler, w, req, err) - } - } - }() forward_FlowCombination_StreamEmptyStream_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) }) mux.Handle(http.MethodPost, pattern_FlowCombination_RpcBodyRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { diff --git a/examples/internal/proto/examplepb/stream.pb.gw.go b/examples/internal/proto/examplepb/stream.pb.gw.go index f2833eb553b..3c9ce72a02c 100644 --- a/examples/internal/proto/examplepb/stream.pb.gw.go +++ b/examples/internal/proto/examplepb/stream.pb.gw.go @@ -104,14 +104,12 @@ func request_StreamService_List_0(ctx context.Context, marshaler runtime.Marshal return stream, metadata, nil } -func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (StreamService_BulkEchoClient, runtime.ServerMetadata, chan error, error) { +func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (StreamService_BulkEchoClient, runtime.ServerMetadata, error) { var metadata runtime.ServerMetadata - errChan := make(chan error, 1) stream, err := client.BulkEcho(ctx) if err != nil { grpclog.Errorf("Failed to start streaming: %v", err) - close(errChan) - return nil, metadata, errChan, err + return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) handleSend := func() error { @@ -131,10 +129,8 @@ func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Mar return nil } go func() { - defer close(errChan) for { if err := handleSend(); err != nil { - errChan <- err break } } @@ -145,20 +141,18 @@ func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Mar header, err := stream.Header() if err != nil { grpclog.Errorf("Failed to get header from client: %v", err) - return nil, metadata, errChan, err + return nil, metadata, err } metadata.HeaderMD = header - return stream, metadata, errChan, nil + return stream, metadata, nil } -func request_StreamService_BulkEchoDuration_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (StreamService_BulkEchoDurationClient, runtime.ServerMetadata, chan error, error) { +func request_StreamService_BulkEchoDuration_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (StreamService_BulkEchoDurationClient, runtime.ServerMetadata, error) { var metadata runtime.ServerMetadata - errChan := make(chan error, 1) stream, err := client.BulkEchoDuration(ctx) if err != nil { grpclog.Errorf("Failed to start streaming: %v", err) - close(errChan) - return nil, metadata, errChan, err + return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) handleSend := func() error { @@ -178,10 +172,8 @@ func request_StreamService_BulkEchoDuration_0(ctx context.Context, marshaler run return nil } go func() { - defer close(errChan) for { if err := handleSend(); err != nil { - errChan <- err break } } @@ -192,10 +184,10 @@ func request_StreamService_BulkEchoDuration_0(ctx context.Context, marshaler run header, err := stream.Header() if err != nil { grpclog.Errorf("Failed to get header from client: %v", err) - return nil, metadata, errChan, err + return nil, metadata, err } metadata.HeaderMD = header - return stream, metadata, errChan, nil + return stream, metadata, nil } var filter_StreamService_Download_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -347,20 +339,12 @@ func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeM runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - - resp, md, reqErrChan, err := request_StreamService_BulkEcho_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_StreamService_BulkEcho_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - go func() { - for err := range reqErrChan { - if err != nil && !errors.Is(err, io.EOF) { - runtime.HTTPStreamError(annotatedContext, mux, outboundMarshaler, w, req, err) - } - } - }() forward_StreamService_BulkEcho_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) }) mux.Handle(http.MethodPost, pattern_StreamService_BulkEchoDuration_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -372,20 +356,12 @@ func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeM runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - - resp, md, reqErrChan, err := request_StreamService_BulkEchoDuration_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_StreamService_BulkEchoDuration_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - go func() { - for err := range reqErrChan { - if err != nil && !errors.Is(err, io.EOF) { - runtime.HTTPStreamError(annotatedContext, mux, outboundMarshaler, w, req, err) - } - } - }() forward_StreamService_BulkEchoDuration_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) }) mux.Handle(http.MethodGet, pattern_StreamService_Download_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { diff --git a/protoc-gen-grpc-gateway/internal/gengateway/template.go b/protoc-gen-grpc-gateway/internal/gengateway/template.go index e8ffd8f94dd..fbf14ad627b 100644 --- a/protoc-gen-grpc-gateway/internal/gengateway/template.go +++ b/protoc-gen-grpc-gateway/internal/gengateway/template.go @@ -272,7 +272,7 @@ var ( _ = template.Must(handlerTemplate.New("request-func-signature").Parse(strings.ReplaceAll(` {{ if and .Method.GetClientStreaming .Method.GetServerStreaming }} -func request_{{ .Method.Service.GetName }}_{{ .Method.GetName }}_{{ .Index }}(ctx context.Context, marshaler runtime.Marshaler, client {{ .Method.Service.InstanceName }}Client, req *http.Request, pathParams map[string]string) ({{ .Method.Service.InstanceName }}_{{ .Method.GetName }}Client, runtime.ServerMetadata, chan error, error) +func request_{{ .Method.Service.GetName }}_{{ .Method.GetName }}_{{ .Index }}(ctx context.Context, marshaler runtime.Marshaler, client {{ .Method.Service.InstanceName }}Client, req *http.Request, pathParams map[string]string) ({{ .Method.Service.InstanceName }}_{{ .Method.GetName }}Client, runtime.ServerMetadata, error) {{ else if .Method.GetServerStreaming }} func request_{{ .Method.Service.GetName }}_{{ .Method.GetName }}_{{ .Index }}(ctx context.Context, marshaler runtime.Marshaler, client {{ .Method.Service.InstanceName }}Client, req *http.Request, pathParams map[string]string) ({{ .Method.Service.InstanceName }}_{{ .Method.GetName }}Client, runtime.ServerMetadata, error) {{ else }} @@ -457,12 +457,10 @@ var filter_{{ .Method.Service.GetName }}_{{ .Method.GetName }}_{{ .Index }} = {{ _ = template.Must(handlerTemplate.New("bidi-streaming-request-func").Parse(` {{ template "request-func-signature" . }} { var metadata runtime.ServerMetadata - errChan := make(chan error, 1) stream, err := client.{{ .Method.GetName }}(ctx) if err != nil { grpclog.Errorf("Failed to start streaming: %v", err) - close(errChan) - return nil, metadata, errChan, err + return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) handleSend := func() error { @@ -482,10 +480,8 @@ var filter_{{ .Method.Service.GetName }}_{{ .Method.GetName }}_{{ .Index }} = {{ return nil } go func() { - defer close(errChan) for { if err := handleSend(); err != nil { - errChan <- err break } } @@ -496,10 +492,10 @@ var filter_{{ .Method.Service.GetName }}_{{ .Method.GetName }}_{{ .Index }} = {{ header, err := stream.Header() if err != nil { grpclog.Errorf("Failed to get header from client: %v", err) - return nil, metadata, errChan, err + return nil, metadata, err } metadata.HeaderMD = header - return stream, metadata, errChan, nil + return stream, metadata, nil } `)) @@ -741,25 +737,12 @@ func Register{{ $svc.GetName }}{{ $.RegisterFuncSuffix }}Client(ctx context.Cont runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - {{if and $m.GetClientStreaming $m.GetServerStreaming }} - resp, md, reqErrChan, err := request_{{ $svc.GetName }}_{{ $m.GetName }}_{{ $b.Index }}(annotatedContext, inboundMarshaler, client, req, pathParams) - {{- else -}} resp, md, err := request_{{ $svc.GetName }}_{{ $m.GetName }}_{{ $b.Index }}(annotatedContext, inboundMarshaler, client, req, pathParams) - {{- end }} annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - {{- if and $m.GetClientStreaming $m.GetServerStreaming }} - go func() { - for err := range reqErrChan { - if err != nil && !errors.Is(err, io.EOF) { - runtime.HTTPStreamError(annotatedContext, mux, outboundMarshaler, w, req, err) - } - } - }() - {{- end }} {{- if $m.GetServerStreaming }} {{- if $b.ResponseBody }} forward_{{ $svc.GetName }}_{{ $m.GetName }}_{{ $b.Index }}(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { diff --git a/protoc-gen-grpc-gateway/internal/gengateway/template_test.go b/protoc-gen-grpc-gateway/internal/gengateway/template_test.go index 79ed4dd2530..59c748be0f3 100644 --- a/protoc-gen-grpc-gateway/internal/gengateway/template_test.go +++ b/protoc-gen-grpc-gateway/internal/gengateway/template_test.go @@ -322,7 +322,7 @@ func TestApplyTemplateRequestWithClientStreaming(t *testing.T) { }, { serverStreaming: true, - sigWant: `func request_ExampleService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, client ExampleServiceClient, req *http.Request, pathParams map[string]string) (ExampleService_EchoClient, runtime.ServerMetadata, chan error, error) {`, + sigWant: `func request_ExampleService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, client ExampleServiceClient, req *http.Request, pathParams map[string]string) (ExampleService_EchoClient, runtime.ServerMetadata, error) {`, }, } { meth.ServerStreaming = proto.Bool(spec.serverStreaming) From 641f83ff7a9202afc30c63a6124258fa1f8f263c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 22:21:28 +0000 Subject: [PATCH 25/28] chore(deps): update googleapis digest to c414002 (#5305) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 15764b3086e..521aef0080e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "be3488c520d7a5a3cf6f7863b57d27f32550cef6b85ec4e50c9d5845d65e04d0", - strip_prefix = "googleapis-50cbb15ee738d6a049af68756a9709ea50421e87", + sha256 = "f5d1f45a03e608632084811a5870b4ebdf0b95edbe899e6448d337427d8f38dc", + strip_prefix = "googleapis-c414002bae922fc4577637a542e11fb9700af10f", urls = [ - "https://github.com/googleapis/googleapis/archive/50cbb15ee738d6a049af68756a9709ea50421e87.zip", + "https://github.com/googleapis/googleapis/archive/c414002bae922fc4577637a542e11fb9700af10f.zip", ], ) From e70c53c48254e963e73450fb8a9fe7088f14e27a Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Mon, 3 Mar 2025 14:24:36 -0800 Subject: [PATCH 26/28] Update gorelease base --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 909f6d415f5..24dc20bb140 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: with: go-version: 1.24 check-latest: true - - run: go run golang.org/x/exp/cmd/gorelease@latest -base=v2.26.1 + - run: go run golang.org/x/exp/cmd/gorelease@latest -base=v2.26.2 proto_lint: runs-on: ubuntu-latest steps: From d9141b9ddc33b743bcafd2b39df396dc3ca10d85 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Mar 2025 03:40:34 +0000 Subject: [PATCH 27/28] chore(deps): update googleapis digest to 05f571e (#5307) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- WORKSPACE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 521aef0080e..bec2d5774a5 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -42,10 +42,10 @@ http_archive( http_archive( name = "googleapis", - sha256 = "f5d1f45a03e608632084811a5870b4ebdf0b95edbe899e6448d337427d8f38dc", - strip_prefix = "googleapis-c414002bae922fc4577637a542e11fb9700af10f", + sha256 = "3cba2e74700fc94543f7dfb514f5f6ca9a27c39cb5a51ef585e90d2544234b80", + strip_prefix = "googleapis-05f571eb755baad00ed592fb946004fc9c12d2cc", urls = [ - "https://github.com/googleapis/googleapis/archive/c414002bae922fc4577637a542e11fb9700af10f.zip", + "https://github.com/googleapis/googleapis/archive/05f571eb755baad00ed592fb946004fc9c12d2cc.zip", ], ) From 470a32db0e0565c211c57e7c5c55c1a6eafbe14b Mon Sep 17 00:00:00 2001 From: Wwhds_one Date: Tue, 4 Mar 2025 13:33:12 +0800 Subject: [PATCH 28/28] docs(install-guide): update Go 1.24 tool directive usage (#5298) The previous installation guide relied on tools.go for tracking dependencies. This update replaces it with the new tool directive introduced in Go 1.24. Fixes #5254 --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/README.md b/README.md index f388a46ec85..c1933d60a5c 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,48 @@ This will place four binaries in your `$GOBIN`; Make sure that your `$GOBIN` is in your `$PATH`. +### **Using the `tool` Directive in Go 1.24** + +Starting from Go 1.24, the `tool` directive in `go.mod` provides a structured way to track and manage executable dependencies. This replaces the previous workaround of using a separate `tools.go` file with blank imports. + +#### **Tracking Tools in `go.mod`** + +Instead of manually importing tool dependencies in a Go source file, you can now use the `tool` directive in `go.mod` to declare the tools your project depends on. For example: + +```go +module tools + +go 1.24 + +tool ( + github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway + github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 + google.golang.org/grpc/cmd/protoc-gen-go-grpc + google.golang.org/protobuf/cmd/protoc-gen-go +) +``` + +#### **Managing Tool Dependencies** + +To add tools to your module, use the `-tool` flag with `go get`: + +```sh +go get -tool github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway +go get -tool github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 +go get -tool google.golang.org/protobuf/cmd/protoc-gen-go +go get -tool google.golang.org/grpc/cmd/protoc-gen-go-grpc +``` + +This automatically updates `go.mod`, adding the tools under the `tool` directive along with `require` statements to ensure version tracking. + +### Install Tools + +Once the tool dependencies are properly recorded in the `go.mod` file, simply execute the following command in the root directory of your project: + +```sh +go install ./... +``` + ### Download the binaries You may alternatively download the binaries from the [GitHub releases page](https://github.com/grpc-ecosystem/grpc-gateway/releases/latest).