microsoft / microsoft/durabletask-dotnet

Activity and sub-orchestrator cancellation support

Open
#7 0 comments 5 reactions 2 assignees View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.