fix(gRPC): support identifying cascade cancel when gRPC handler ctx is wrapped by standard context - #1992
Open
DMwangnima wants to merge 1 commit into
Open
fix(gRPC): support identifying cascade cancel when gRPC handler ctx is wrapped by standard context#1992DMwangnima wants to merge 1 commit into
DMwangnima wants to merge 1 commit into
Conversation
DMwangnima
force-pushed
the
optimize/grpc-cascade-cancel
branch
from
August 24, 2026 10:15
2f4e255 to
2a97566
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1992 +/- ##
==========================================
+ Coverage 62.95% 63.11% +0.15%
==========================================
Files 394 396 +2
Lines 30267 30382 +115
==========================================
+ Hits 19056 19177 +121
+ Misses 9924 9921 -3
+ Partials 1287 1284 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
DMwangnima
force-pushed
the
optimize/grpc-cascade-cancel
branch
4 times, most recently
from
August 25, 2026 03:20
ce17691 to
25bcc43
Compare
…s wrapped by standard context
DMwangnima
force-pushed
the
optimize/grpc-cascade-cancel
branch
from
August 25, 2026 03:26
25bcc43 to
b72f9cc
Compare
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.
What type of PR is this?
fix
Check the PR title.
(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:
zh(optional):
修复 gRPC handler context 经
WithCancel、WithTimeout或WithCancelCause包装后无法识别级联 Cancel 的问题。通过私有取消原因标记保留 Kitex Stream 的取消来源,同时避免将用户主动 Cancel 或普通 Canceled Status 误判为级联 Cancel(Optional) Which issue(s) this PR fixes:
(optional) The PR that updates user documentation: