Repository navigation
chore: regenerate gRPC client against Dapr 1.19.0-rc.5 protos - #1327
Merged
CasperGN merged 1 commit intoOct 21, 2026
Merged
Conversation
Regenerate dapr/proto from the Dapr v1.19.0-rc.5 tag. This adds the binary store, search, and vector alpha APIs that Dapr v1.19.0-rc.2 did not have. The regen script now reads google/rpc/status.proto from googleapis-common-protos, because search.proto and vector.proto import it. grpcio-tools stays at 1.81.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1327 +/- ##
=======================================
Coverage 87.27% 87.27%
=======================================
Files 163 163
Lines 13069 13069
=======================================
Hits 11406 11406
Misses 1663 1663 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Oct 21, 2026
3 tasks done
CasperGN
approved these changes
Oct 21, 2026
CasperGN
pushed a commit
that referenced
this pull request
Oct 21, 2026
…#1331) Regenerate dapr/proto from the Dapr v1.19.0-rc.5 tag. This adds the binary store, search, and vector alpha APIs that Dapr v1.19.0-rc.2 did not have. The regen script now reads google/rpc/status.proto from googleapis-common-protos, because search.proto and vector.proto import it. grpcio-tools stays at 1.81.1. (cherry picked from commit fddc30f) Signed-off-by: Nelson Parente <nelson_parente@live.com.pt> Signed-off-by: dapr-bot <dapr-bot@users.noreply.github.com> Co-authored-by: Nelson Parente <nelson_parente@live.com.pt> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Description
Regenerates the gRPC client in
dapr/proto/from the Daprv1.19.0-rc.5tag. The committed protos came fromv1.19.0-rc.2(#1261).Proto changes
I compared the protobuf descriptors on
mainand on this branch. They gain three files and 20 RPCs. The existing messages, enums and RPCs stay the same. This is every change in the generated code, with the dapr/dapr PR it comes from:binarystore.protoand three RPCs on theDaprservice.SetBinaryFileAlpha1takes a stream of requests. The first request holds the component name, the file name, and an optionaloverwriteflag. Later requests hold file chunks.GetBinaryFileAlpha1returns a stream of chunks.DeleteBinaryFileAlpha1deletes a file. (Binary store building block support dapr#10367, in rc.3)search.protoand eight RPCs for lexical and structured search over documents in an index:CreateIndexAlpha1,GetIndexAlpha1,ListIndexesAlpha1,DeleteIndexAlpha1,IndexDocumentsAlpha1,GetDocumentsAlpha1,DeleteDocumentsAlpha1andSearchAlpha1. (feat: search and vector blocks dapr#9974, in rc.5)vector.protoand nine RPCs for vector similarity search over collections:CreateCollectionAlpha1,GetCollectionAlpha1,ListCollectionsAlpha1,DeleteCollectionAlpha1,UpsertVectorsAlpha1,DeleteVectorsAlpha1,GetVectorsAlpha1,QueryVectorsAlpha1andBatchQueryVectorsAlpha1. (feat: search and vector blocks dapr#9974, in rc.5)dapr.protoimports the three new files. rc.4 did not change any proto.The generated code for
search.protoandvector.protoimportsgoogle.rpc.status_pb2. That module comes fromgoogleapis-common-protos, whichgrpcio-statusalready requires.dapr/clients/exceptions.pyalready imports fromgoogle.rpc, so this adds no dependency.Only
dapr/proto/*_pb2*files andtools/regen_grpcclient.shchange.grpcio-toolsstays at 1.81.1. This PR adds noDaprClientmethods for the new RPCs.search.protoandvector.protoimportgoogle/rpc/status.proto, whichgrpc_toolsdoes not contain. Without that file,tools/regen_grpcclient.shfails withFile not found. The script now adds the directory that contains the installedgoogleapis-common-protospackage to the protoc include path, because that package contains the file. I ran the changed script againstv1.19.0-rc.2first. The output matchesmainbyte for byte.The script downloads branches only. I ran it with
DAPR_BRANCH=../tags/v1.19.0-rc.5.curlresolves the..in the URL, so the download is the archive of the tag.The Python SDK 1.19 release candidate builds from
release-1.19, so this PR needs thebackport release-1.19label.Issue reference
None.
Checklist
import dapr.proto.runtime.v1.dapr_pb2_grpcworksruff checkandruff format --checkpassmypy: no issues in 228 source filespytest tests/test_proto_gencode_floor.py: 2 passedpytest -m "not e2e" ./tests --ignore=tests/integration --ignore=tests/examples: 2100 passed🤖 Generated with Claude Code