You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use stored WorkerControlTaskQueue for activity cancellation dispatch
Instead of looking up the control queue name from the worker registry,
use the WorkerControlTaskQueue that was persisted in ActivityInfo when
the activity started. This simplifies the dispatch logic and removes
the dependency on the worker registry lookup.
Changes:
- Get controlQueueName from first valid activity's WorkerControlTaskQueue
- Remove registry lookup and hardcoded queue name construction
- Update dispatchActivityCancelToWorker signature to accept queue name
- Update test to send WorkerControlTaskQueue in poll request
0 commit comments