Upstream
Status
COMMENT-FIRST / candidate.
Six-subagent cycle 21 found this as the only new candidate not clearly duplicate-covered, assigned, or already occupied.
Parent gate:
- upstream issue is open;
- no assignee;
- no labels;
- PR search for
2115 OR _oncancel OR oncancel OR requestId 0 OR cancellation resource leak returned empty;
- repo contribution guide asks contributors to comment before starting work to avoid duplicate effort.
Regression card
Contract: cancellation notifications must abort the matching in-flight request even when requestId is 0.
Expected pre-fix failure: a cancellation notification with params.requestId = 0 does not abort the stored controller.
Expected post-fix pass: the controller for request id 0 is aborted with the provided reason.
Likely patch surface:
packages/core/src/shared/protocol.ts
_oncancel
Likely test surface:
- protocol cancellation tests under
packages/core
Next action
Post upstream test-plan comment and wait for maintainer signal / assignment before coding.
Upstream
Status
COMMENT-FIRST / candidate.Six-subagent cycle 21 found this as the only new candidate not clearly duplicate-covered, assigned, or already occupied.
Parent gate:
2115 OR _oncancel OR oncancel OR requestId 0 OR cancellation resource leakreturned empty;Regression card
Contract: cancellation notifications must abort the matching in-flight request even when
requestIdis0.Expected pre-fix failure: a cancellation notification with
params.requestId = 0does not abort the stored controller.Expected post-fix pass: the controller for request id
0is aborted with the provided reason.Likely patch surface:
packages/core/src/shared/protocol.ts_oncancelLikely test surface:
packages/coreNext action
Post upstream test-plan comment and wait for maintainer signal / assignment before coding.