Commit ff967f4
Fix #178: Send 'queue' field in continue_as_new commands
Changed ContinueAsNew.to_server_command() to send 'queue' instead of
'task_queue' to align with the server protocol field name. The Python
dataclass field remains 'task_queue' (Pythonic naming), but the server
command now uses 'queue' to match server validation and workflow package
expectations.
Before: SDK sent 'task_queue', which server validated but workflow package
normalizer silently dropped
After: SDK sends 'queue', which server validates and workflow package
normalizer now captures and applies
Part of multi-repo fix for #178. Tests updated to assert 'queue' field.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 61fb424 commit ff967f4
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments