Commit fc0cd70
Standardize resource_id annotations to use bare values (#737)
## Summary
- Remove prefix responsibility (`workflow:`, `worker:`) from proto
annotations for `resource_id` fields
- All `resource_id` annotations now use bare `{resource_id}`, making the
SDK responsible for providing the fully-prefixed value
- This standardizes the contract: previously activity request
annotations used bare `{resource_id}` while workflow/worker request
annotations used `workflow:{resource_id}` or `worker:{resource_id}`
## Affected RPCs
- `ExecuteMultiOperation`: `workflow:{resource_id}` → `{resource_id}`
- `RespondWorkflowTaskCompleted`: `workflow:{resource_id}` →
`{resource_id}`
- `RespondWorkflowTaskFailed`: `workflow:{resource_id}` →
`{resource_id}`
- `RecordWorkerHeartbeat`: `worker:{resource_id}` → `{resource_id}`
- `FetchWorkerConfig`: `worker:{resource_id}` → `{resource_id}`
- `UpdateWorkerConfig`: `worker:{resource_id}` → `{resource_id}`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 70f7dc9 commit fc0cd70
2 files changed
Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments