Skip to content

chore: regenerate gRPC client against Dapr 1.19.0-rc.5 protos - #1327

Merged
CasperGN merged 1 commit into
dapr:mainfrom
nelson-parente:chore/regen-protos-1.19.0-rc.5
Oct 21, 2026
Merged

CasperGN merged 1 commit into
dapr:mainfrom
nelson-parente:chore/regen-protos-1.19.0-rc.5

Conversation

@nelson-parente

Copy link
Copy Markdown
Contributor

Description

Regenerates the gRPC client in dapr/proto/ from the Dapr v1.19.0-rc.5 tag. The committed protos came from v1.19.0-rc.2 (#1261).

Proto changes

I compared the protobuf descriptors on main and 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:

  • Binary store: the new binarystore.proto and three RPCs on the Dapr service. SetBinaryFileAlpha1 takes a stream of requests. The first request holds the component name, the file name, and an optional overwrite flag. Later requests hold file chunks. GetBinaryFileAlpha1 returns a stream of chunks. DeleteBinaryFileAlpha1 deletes a file. (Binary store building block support dapr#10367, in rc.3)
  • Search: the new search.proto and eight RPCs for lexical and structured search over documents in an index: CreateIndexAlpha1, GetIndexAlpha1, ListIndexesAlpha1, DeleteIndexAlpha1, IndexDocumentsAlpha1, GetDocumentsAlpha1, DeleteDocumentsAlpha1 and SearchAlpha1. (feat: search and vector blocks dapr#9974, in rc.5)
  • Vector: the new vector.proto and nine RPCs for vector similarity search over collections: CreateCollectionAlpha1, GetCollectionAlpha1, ListCollectionsAlpha1, DeleteCollectionAlpha1, UpsertVectorsAlpha1, DeleteVectorsAlpha1, GetVectorsAlpha1, QueryVectorsAlpha1 and BatchQueryVectorsAlpha1. (feat: search and vector blocks dapr#9974, in rc.5)

dapr.proto imports the three new files. rc.4 did not change any proto.

The generated code for search.proto and vector.proto imports google.rpc.status_pb2. That module comes from googleapis-common-protos, which grpcio-status already requires. dapr/clients/exceptions.py already imports from google.rpc, so this adds no dependency.

Only dapr/proto/*_pb2* files and tools/regen_grpcclient.sh change. grpcio-tools stays at 1.81.1. This PR adds no DaprClient methods for the new RPCs.

search.proto and vector.proto import google/rpc/status.proto, which grpc_tools does not contain. Without that file, tools/regen_grpcclient.sh fails with File not found. The script now adds the directory that contains the installed googleapis-common-protos package to the protoc include path, because that package contains the file. I ran the changed script against v1.19.0-rc.2 first. The output matches main byte for byte.

The script downloads branches only. I ran it with DAPR_BRANCH=../tags/v1.19.0-rc.5. curl resolves 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 the backport release-1.19 label.

Issue reference

None.

Checklist

  • Code compiles correctly: import dapr.proto.runtime.v1.dapr_pb2_grpc works
  • ruff check and ruff format --check pass
  • mypy: no issues in 228 source files
  • pytest tests/test_proto_gencode_floor.py: 2 passed
  • pytest -m "not e2e" ./tests --ignore=tests/integration --ignore=tests/examples: 2100 passed

🤖 Generated with Claude Code

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

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.27%. Comparing base (f784843) to head (a751d22).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CasperGN
CasperGN added this pull request to the merge queue Oct 21, 2026
Merged via the queue into dapr:main with commit fddc30f Oct 21, 2026
43 of 47 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants