dotnet / dotnet/orleans

Mark `GrainCancellationToken` and related symbols as obsolete in favor of `CancellationToken`

Open
#9,613 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
13h 56m
Merged PRs (30d)
351

Description

Now that Orleans supports `CancellationToken`, we should consider marking `GrainCancellationToken` as obsolete.

`GrainCancellationToken` does have more functionality than `CancellationToken` itself, largely because they are not associated with individual requests (they have globally unique identifiers). That also adds significant complexity, though.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue's proposal to mark GrainCancellationToken and related symbols obsolete in favor of CancellationToken. Determine which related symbols are in scope and what compatibility or functionality differences must be resolved; done means the deprecation scope and replacement guidance are clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
distributed-systems
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.