Skip to content

Commit

Permalink
Bug fix: include cancellation command in set of "completion" commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Jun 25, 2024
1 parent 15ed853 commit 3f0b11c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions temporalio/worker/_workflow_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ def activate(
command.HasField("complete_workflow_execution")
or command.HasField("continue_as_new_workflow_execution")
or command.HasField("fail_workflow_execution")
or command.HasField("cancel_workflow_execution")
)
elif not command.HasField("respond_to_query"):
del self._current_completion.successful.commands[i]
Expand Down

0 comments on commit 3f0b11c

Please sign in to comment.