Skip to content

Updated gprcio version and regenerate protos#1126

Open
acroca wants to merge 2 commits into
dapr:mainfrom
acroca:update-grpcio-tools
Open

Updated gprcio version and regenerate protos#1126
acroca wants to merge 2 commits into
dapr:mainfrom
acroca:update-grpcio-tools

Conversation

@acroca

@acroca acroca commented Jul 3, 2026

Copy link
Copy Markdown
Member
  • Updated grcpio to 1.81.1
  • Regenerate protos using new versions
  • Adds unit test to make sure generated protos match with the floor supported version

@acroca acroca requested review from a team as code owners July 3, 2026 07:27
Signed-off-by: Albert Callarisa <albert@diagrid.io>
@acroca acroca force-pushed the update-grpcio-tools branch from 4d5973b to c4e3336 Compare July 3, 2026 07:27
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.20%. Comparing base (bffb749) to head (5c5d1ec).
⚠️ Report is 174 commits behind head on main.

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.
📢 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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 grpcio and grpcio-status minimum versions to >=1.81.1,<2.0.0 and grpcio-tools to ==1.81.1.
  • Regenerate protobuf Python modules (*_pb2.py) and gRPC service stubs (*_pb2_grpc.py) across dapr/proto/** and the workflow durabletask internal protos.
  • Refresh uv.lock to 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.

Comment thread pyproject.toml Outdated
@acroca acroca marked this pull request as draft July 3, 2026 09:29
Signed-off-by: Albert Callarisa <albert@diagrid.io>
@acroca acroca requested a review from Copilot July 3, 2026 10:09
@acroca acroca marked this pull request as ready for review July 3, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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.

2 participants