Conversation
proggeramlug
marked this pull request as ready for review
June 4, 2026 16:01
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.
Summary
WritableStream.abort(reason)with Node when the writable is locked byReadableStream.pipeTo()or another writer.WritableStreamDefaultWriter.abort(reason)and internal transform/readable cancellation paths using the underlying abort operation while bypassing the public locked-stream guard.node-suite/stream/web/abort-during-pipetointo a stable Node 26 oracle and removes its stale known-failure entry.Issues
Cluster rationale
This is one Web Streams abort/lock lifecycle cut: direct stream abort, writer-owned abort, and
pipeTo()destination locking share the same writable stream lock invariant. The PR stays out of unrelated Web Streams lifecycle and iterator work already covered by neighboring PRs.Tests
cargo check -p perry-stdlibcargo build -p perry-stdlib --releasecargo build -p perry-runtime -p perry-stdlib -p perry --releaseNO_COLOR=1 FORCE_COLOR=0 npx --yes node@26 test-parity/node-suite/stream/web/abort-during-pipeto.tsPERRY_NO_AUTO_OPTIMIZE=1 target/release/perry compile test-parity/node-suite/stream/web/abort-during-pipeto.ts -o /tmp/perry-abort-during-pipeto --debug-symbols --no-cache && /tmp/perry-abort-during-pipetonpm exec --yes --package=node@26 -- bash -lc './run_parity_tests.sh --suite node-suite --module stream/web --filter abort-during-pipeto'PERRY_NO_AUTO_OPTIMIZE=1 PERRY_NO_CACHE=1 npm exec --yes --package=node@26 -- bash -lc './run_parity_tests.sh --suite node-suite --module stream/web --filter abort-during-pipeto'PERRY_NO_AUTO_OPTIMIZE=1 PERRY_NO_CACHE=1 npm exec --yes --package=node@26 -- bash -lc './run_parity_tests.sh --suite node-suite --module stream/web --filter pipe-to'PERRY_NO_AUTO_OPTIMIZE=1 PERRY_NO_CACHE=1 npm exec --yes --package=node@26 -- bash -lc './run_parity_tests.sh --suite node-suite --module stream/web --filter writer'cargo fmt --all -- --checkgit diff --check./scripts/check_file_size.shjq empty test-parity/known_failures.jsonKnown limitations / non-goals
node:streamlifecycle options.