Skip to content

Conversation

@iand675
Copy link
Contributor

@iand675 iand675 commented Nov 12, 2025

Note: I have a big refactor of tests in the works, so will add tests for this once I've wrangled that issue.

Summary

Expose the requestCancelWorkflowExecution gRPC call as a high-level cancel function, allowing graceful workflow cancellation. Unlike terminate, cancellation is cooperative and requires the workflow to explicitly check for it.

  • Adds CancellationOptions data type with cancellationReason field
  • Implements cancel function following the same pattern as terminate
  • Includes comprehensive documentation explaining the differences from terminate

🤖 Generated with Claude Code

Expose the requestCancelWorkflowExecution gRPC call as a high-level cancel function that allows graceful workflow cancellation. Unlike terminate, cancellation is cooperative and requires the workflow to check for it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@iand675 iand675 merged commit e97836a into main Nov 12, 2025
26 of 30 checks passed
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.

3 participants