Skip to content

Skip writable abort task if no current request - #7102

Open
jasnell wants to merge 1 commit into
mainfrom
jasnell/skip-abort-task-if-no-request
Open

Skip writable abort task if no current request#7102
jasnell wants to merge 1 commit into
mainfrom
jasnell/skip-abort-task-if-no-request

Conversation

@jasnell

@jasnell jasnell commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

jsrpc WritableStream adapter tries to abort if it is destroyed without an explicit abort. If that happens during IoContext cleanup when there's no active request, getMetrics complains with a KJ_REQUIRE about the lack of a current request. Guard by checking first.

jsrpc WritableStream adapter tries to abort if it is
destroyed without an explicit abort. If that happens
during IoContext cleanup when there's no active request,
getMetrics complains with a KJ_REQUIRE about the lack
of a current request. Guard by checking first.
@jasnell
jasnell requested review from a team as code owners August 24, 2026 17:06
@ask-bonk

ask-bonk Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

LGTM!

github run

@jasnell
jasnell enabled auto-merge August 25, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant