Skip to content

Commit 2e39d45

Browse files
committed
Bug fix: include cancellation command in set of "completion" commands
1 parent 0d027db commit 2e39d45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

temporalio/worker/_workflow_instance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ def activate(
417417
command.HasField("complete_workflow_execution")
418418
or command.HasField("continue_as_new_workflow_execution")
419419
or command.HasField("fail_workflow_execution")
420+
or command.HasField("cancel_workflow_execution")
420421
)
421422
elif not command.HasField("respond_to_query"):
422423
del self._current_completion.successful.commands[i]

0 commit comments

Comments
 (0)