microsoft / microsoft/durabletask-dotnet
Activity and sub-orchestrator cancellation support
Open
@YunchuWang is already working on this.
Since Dec 24, 2025.
Enhancement
- Dominant language
- C#
- Stars
- 193
- Forks
- 60
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 4
Description
The TaskOptions class provided when scheduling activities and sub-orchestration calls supports providing a CancellationToken. However, it's not yet wired up to actually cancel the task. This issue tracks adding support for cancellation.
- Implement the feature for activity calls, sub-orchestrator calls, and retry handlers.
- Add detailed
<remarks>documentation with examples for how cancellation can be used. - Add tests that cover all the scenarios supported by task cancellation
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.