Commit 1168863
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) <[email protected]>1 parent ee1ff0d commit 1168863
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
1460 | 1460 | | |
1461 | 1461 | | |
1462 | 1462 | | |
1463 | | - | |
| 1463 | + | |
1464 | 1464 | | |
1465 | 1465 | | |
1466 | 1466 | | |
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | | - | |
| 1508 | + | |
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
| |||
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
1526 | | - | |
| 1526 | + | |
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
| |||
0 commit comments