Skip to content

fix: settle plain stream aborts in workerd order - #306

Merged
ryuzdev merged 1 commit into
mainfrom
fix/290-stream-abort-order
Nov 27, 2026
Merged

ryuzdev merged 1 commit into
mainfrom
fix/290-stream-abort-order

Conversation

@ryuzdev

@ryuzdev ryuzdev commented Nov 27, 2026

Copy link
Copy Markdown
Member

Plain TransformStream aborts now reject writer.closed before the abort promise settles, matching workerd in both the same-turn write and parked-transform shapes. The differential corpus covers both orders.

Closes #290

- Reject writer.closed before resolving a plain TransformStream abort.
- Cover idle and parked-transform ordering in the differential corpus.

Fixes #290
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0ba21bf8-22f1-43af-8ce0-23bbc1ae8c5e
Commits

Reviewing files that changed from the base of the PR and between ac0780e and 0a7a092.

Files selected for processing: 3

  • crates/cello/js/writable_stream.js
  • scripts/workerd-diff/cases.mjs
  • scripts/workerd-diff/corpus/streams/index.js
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ryuzdev
ryuzdev merged commit 28535bf into main Nov 27, 2026
7 checks passed
@ryuzdev
ryuzdev deleted the fix/290-stream-abort-order branch November 27, 2026 07:30
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.

workerd diff (order only): plain-stream abort() resolves before writer.closed rejects

1 participant