Skip to content

Conversation

@sophiatev
Copy link
Contributor

@sophiatev sophiatev commented Oct 21, 2025

Currently, if a user attempts to terminate a pending orchestration, nothing happens and the orchestration still starts once the ExecutionStartedEvent is picked up from the control queue. This PR enables terminating pending orchestrations in the Azure Storage backend by checking for this special case in LockNextTaskOrchestrationWorkItemAsync, and updating the status in storage to "Terminated" if it is detected.

Fixes #1255

@sophiatev sophiatev merged commit b93b187 into main Oct 21, 2025
44 checks passed
@sophiatev sophiatev deleted the stevosyan/fix-terminating-scheduled-orchestrations branch October 21, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attempting to terminate a scheduled orchestration has no effect

3 participants