Enable CancellationToken for non-remoting actor implementations#1202
Merged
Conversation
Signed-off-by: Phillip Hoff <phillip@orst.edu>
Signed-off-by: Phillip Hoff <phillip@orst.edu>
Signed-off-by: Phillip Hoff <phillip@orst.edu>
Signed-off-by: Phillip Hoff <phillip@orst.edu>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1202 +/- ##
==========================================
+ Coverage 66.53% 66.58% +0.05%
==========================================
Files 171 171
Lines 5752 5752
Branches 626 628 +2
==========================================
+ Hits 3827 3830 +3
+ Misses 1776 1772 -4
- Partials 149 150 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
halspang
approved these changes
Jan 6, 2024
divzi-p
pushed a commit
to divzi-p/dotnet-sdk
that referenced
this pull request
Dec 10, 2024
…pr#1202) * Sketch no arguments with cancellation. Signed-off-by: Phillip Hoff <phillip@orst.edu> * Sketch the other argument permutations. Signed-off-by: Phillip Hoff <phillip@orst.edu> * Refactor tests. Signed-off-by: Phillip Hoff <phillip@orst.edu> * Push HTTP request cancellation token down into handlers. Signed-off-by: Phillip Hoff <phillip@orst.edu> --------- Signed-off-by: Phillip Hoff <phillip@orst.edu> Signed-off-by: Divya Perumal <diperuma@microsoft.com>
This was referenced Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Enable use of
CancellationTokenin actor interfaces/implementations when clients use the non-remoting proxy. This, when combined with #1158, would enable both clients and implementations to use the same interface definition.Also ensures that the
CancellationTokenfrom the HTTP request is pushed down into the handling and actor logic.Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1201
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: