Repository navigation
Updated gprcio version and regenerate protos - #1126
Conversation
Signed-off-by: Albert Callarisa <albert@diagrid.io>
4d5973b to
c4e3336
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1126 +/- ##
==========================================
- Coverage 86.63% 82.20% -4.43%
==========================================
Files 84 116 +32
Lines 4473 9609 +5136
==========================================
+ Hits 3875 7899 +4024
- Misses 598 1710 +1112 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the SDK’s gRPC toolchain to grpcio/grpcio-status/grpcio-tools==1.81.1 and regenerates the checked-in protobuf/gRPC generated code to match the new generator output.
Changes:
- Bump
grpcioandgrpcio-statusminimum versions to>=1.81.1,<2.0.0andgrpcio-toolsto==1.81.1. - Regenerate protobuf Python modules (
*_pb2.py) and gRPC service stubs (*_pb2_grpc.py) acrossdapr/proto/**and the workflow durabletask internal protos. - Refresh
uv.lockto reflect the updated dependency graph and toolchain artifacts.
Reviewed changes
Copilot reviewed 37 out of 52 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Updates locked dependency set to reflect grpc/proto toolchain bump (incl. grpcio-tools 1.81.1). |
| pyproject.toml | Raises declared grpcio/grpcio-status minima and grpcio-tools dev pin to 1.81.1. |
| dapr/proto/runtime/v1/workflow_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/workflow_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/state_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/state_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/secret_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/secret_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/pubsub_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/pubsub_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/metadata_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/metadata_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/lock_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/lock_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/jobs_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/jobs_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/invoke_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/invoke_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/dapr_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/dapr_pb2_grpc.py | Regenerated gRPC stubs; updates generator version and class declaration style. |
| dapr/proto/runtime/v1/crypto_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/crypto_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/configuration_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/configuration_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/binding_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/binding_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/appcallback_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/appcallback_pb2_grpc.py | Regenerated gRPC stubs; updates generator version and class declaration style. |
| dapr/proto/runtime/v1/ai_pb2.pyi | Regenerated/normalized type stub formatting (whitespace change). |
| dapr/proto/runtime/v1/ai_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/ai_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/runtime/v1/actors_pb2.py | Regenerated protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/runtime/v1/actors_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/proto/common/v1/common_pb2.py | Regenerated common protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/proto/common/v1/common_pb2_grpc.py | Regenerated gRPC stubs with generator version updated to 1.81.1. |
| dapr/ext/workflow/_durabletask/internal/runtime_state_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/runtime_state_pb2_grpc.py | Regenerated durabletask internal gRPC stubs with generator version updated to 1.81.1. |
| dapr/ext/workflow/_durabletask/internal/PROTO_SOURCE_COMMIT_HASH | Updates durabletask proto source commit hash tracking for regeneration provenance. |
| dapr/ext/workflow/_durabletask/internal/orchestrator_service_pb2.pyi | Regenerated type stubs (typing conditionals and signatures adjusted to new generator). |
| dapr/ext/workflow/_durabletask/internal/orchestrator_service_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/orchestrator_service_pb2_grpc.py | Regenerated durabletask internal gRPC stubs; updates generator version and class declaration style. |
| dapr/ext/workflow/_durabletask/internal/orchestrator_actions_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/orchestrator_actions_pb2_grpc.py | Regenerated durabletask internal gRPC stubs with generator version updated to 1.81.1. |
| dapr/ext/workflow/_durabletask/internal/orchestration_pb2.pyi | Regenerated type stubs (typing conditionals and signatures adjusted to new generator). |
| dapr/ext/workflow/_durabletask/internal/orchestration_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/orchestration_pb2_grpc.py | Regenerated durabletask internal gRPC stubs with generator version updated to 1.81.1. |
| dapr/ext/workflow/_durabletask/internal/history_events_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/history_events_pb2_grpc.py | Regenerated durabletask internal gRPC stubs with generator version updated to 1.81.1. |
| dapr/ext/workflow/_durabletask/internal/backend_service_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/backend_service_pb2_grpc.py | Regenerated durabletask internal gRPC stubs with generator version updated to 1.81.1. |
| dapr/ext/workflow/_durabletask/internal/attestation_pb2.py | Regenerated durabletask internal protobuf module with protoc/protobuf 6.33.5 output. |
| dapr/ext/workflow/_durabletask/internal/attestation_pb2_grpc.py | Regenerated durabletask internal gRPC stubs with generator version updated to 1.81.1. |
Files not reviewed (13)
- dapr/ext/workflow/_durabletask/internal/attestation_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/backend_service_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/history_events_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/orchestration_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/orchestrator_actions_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/orchestrator_service_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/runtime_state_pb2.py: Generated file
- dapr/proto/common/v1/common_pb2.py: Generated file
- dapr/proto/runtime/v1/actors_pb2.py: Generated file
- dapr/proto/runtime/v1/ai_pb2.py: Generated file
- dapr/proto/runtime/v1/appcallback_pb2.py: Generated file
- dapr/proto/runtime/v1/binding_pb2.py: Generated file
- dapr/proto/runtime/v1/configuration_pb2.py: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Albert Callarisa <albert@diagrid.io>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 38 out of 53 changed files in this pull request and generated no new comments.
Files not reviewed (13)
- dapr/ext/workflow/_durabletask/internal/attestation_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/backend_service_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/history_events_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/orchestration_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/orchestrator_actions_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/orchestrator_service_pb2.py: Generated file
- dapr/ext/workflow/_durabletask/internal/runtime_state_pb2.py: Generated file
- dapr/proto/common/v1/common_pb2.py: Generated file
- dapr/proto/runtime/v1/actors_pb2.py: Generated file
- dapr/proto/runtime/v1/ai_pb2.py: Generated file
- dapr/proto/runtime/v1/appcallback_pb2.py: Generated file
- dapr/proto/runtime/v1/binding_pb2.py: Generated file
- dapr/proto/runtime/v1/configuration_pb2.py: Generated file
) * chore: regenerate gRPC client against Dapr 1.19.0-rc.1 protos The committed dapr/proto/ gencode was last regenerated 2026-07-08 (dapr#1126), before dapr/dapr#10461 added GetActorTimer/ListActorTimers to dapr/proto/runtime/v1/dapr.proto (lines 108 and 117 as of v1.19.0-rc.1). That RPC pair was entirely missing from the generated stubs. Regenerated with `tools/regen_grpcclient.sh` against the dapr/dapr v1.19.0-rc.1 tag (the script's archive URL only resolves branches, so this run used a local, uncommitted tweak to fetch the tag; the script itself is unchanged in this diff -- happy to fix that URL limitation separately if useful). grpcio-tools stays pinned at 1.81.1 (pyproject.toml, unchanged) per AGENTS.md: a newer grpcio-tools would raise the grpcio/protobuf floors this SDK declares, which is a separate, deliberate change, not a side effect of a proto regen. Changed: actors_pb2.py(.pyi), dapr_pb2.py, dapr_pb2_grpc.py, jobs_pb2.py(.pyi), workflow_pb2.py(.pyi). common_pb2.py and the other runtime/v1 stubs are byte-identical to what's committed -- their .proto sources did not change between the 07-08 baseline and rc.1. This is a gencode-only change: no dapr/ source outside dapr/proto/ is touched, and no DaprClient method is added for the new RPCs -- that is SDK feature work for a separate PR (tracked for WS3 in this release's SDK-parity workstream). Verified locally: - `uv run ruff check .`: all checks passed. - `uv run ruff format --check .`: 459 files already formatted (no diff). - `uv run mypy`: no issues found in 222 source files. - `uv run pytest tests/test_proto_gencode_floor.py`: 2 passed (confirms the unchanged grpcio-tools pin keeps the stamped protobuf/grpcio floors within what pyproject.toml declares). - `uv run pytest -m "not e2e" ./tests --ignore=tests/integration --ignore=tests/examples`: 2159 passed, 41 deselected, 0 failed. Needs `backport release-1.19` once merged: release-1.19's uv.lock/proto tree is currently main's from before this change, and py#1258 (the rc1 version PR) does not touch dapr/proto/. Signed-off-by: Nelson Parente <nelson_parente@live.com.pt> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017JhKUDV9dbs5JDz2uwZqz5 Signed-off-by: Nelson Parente <nelson_parente@live.com.pt> * chore: regenerate the gRPC client against Dapr 1.19.0-rc.2 Regenerate the protos from the v1.19.0-rc.2 tag. Compared with rc.1, rc.2 adds max_tokens to the conversation request, and metadata to the actor reminder and timer callback messages. grpcio-tools stays at 1.81.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017JhKUDV9dbs5JDz2uwZqz5 Signed-off-by: Nelson Parente <nelson_parente@live.com.pt> --------- Signed-off-by: Nelson Parente <nelson_parente@live.com.pt> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
1.81.1