Commit 8574d6a
Add Nexus worker service for server-to-worker commands (#708)
## Summary
Defines a Nexus service for server-to-worker communication, starting
with activity cancellation support.
## Design Decision
We chose a **generic command API** (`ExecuteCommandsRequest` with
`oneof` command types) instead of a cancel-specific API. This allows a
future optimization to batch multiple commands (cancel, pause, etc) in a
single request and deliver to a worker in one RPC.
## Files
- `temporal/api/nexusservices/workerservice/v1/request_response.proto` -
request response definitions
- `nexus-rpc/temporal-proto-models-nexusrpc.yaml` - Nexus service
definition
## Related
- [Server PR](temporalio/temporal#9233)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5423d0d commit 8574d6a
File tree
5 files changed
+668
-22
lines changed- nexusservices/workerservice/v1
- proto
- worker/v1
5 files changed
+668
-22
lines changedLines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments