Skip to content

coordinate TransformStream finish operations per spec#5771

Merged
anonrig merged 1 commit intomainfrom
yagiz/fix-transform-stream-close
Feb 23, 2026
Merged

coordinate TransformStream finish operations per spec#5771
anonrig merged 1 commit intomainfrom
yagiz/fix-transform-stream-close

Conversation

@anonrig
Copy link
Copy Markdown
Member

@anonrig anonrig commented Dec 24, 2025

Work in progress. I still need to figure out how and where to put this behind a pedanticWpt compat flag...


Fixes coordination between close(), cancel() and abort() on TransformStream to properly handles cases where controller.error is called synchronously during finish.

This fixes 11 WPT tests in transform-streams folder.

@anonrig anonrig requested a review from jasnell December 24, 2025 19:29
@anonrig anonrig requested review from a team as code owners December 24, 2025 19:29
@anonrig anonrig force-pushed the yagiz/fix-transform-stream-close branch from 02e3f20 to 95e3b6e Compare December 26, 2025 15:19
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 26, 2025

The generated output of @cloudflare/workers-types matches the snapshot in types/generated-snapshot 🎉

@anonrig anonrig force-pushed the yagiz/fix-transform-stream-close branch 2 times, most recently from 2818fe5 to 7f1342e Compare December 26, 2025 18:24
@jasnell
Copy link
Copy Markdown
Collaborator

jasnell commented Dec 26, 2025

I will need to very carefully review this. I should be able to review next week.

@anonrig
Copy link
Copy Markdown
Member Author

anonrig commented Feb 13, 2026

I will need to very carefully review this. I should be able to review next week.

@jasnell ping

@jasnell
Copy link
Copy Markdown
Collaborator

jasnell commented Feb 21, 2026

Looks like there are multiple compile errors and lint issues that need to be addressed. Will review again once those are resolved.

@anonrig anonrig force-pushed the yagiz/fix-transform-stream-close branch 3 times, most recently from 1c22c9f to cf2cc2f Compare February 23, 2026 16:53
@anonrig anonrig force-pushed the yagiz/fix-transform-stream-close branch from cf2cc2f to 8122e52 Compare February 23, 2026 17:21
@codspeed-hq

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer a separate compat flag but non-blocking.

@anonrig anonrig merged commit d8243bf into main Feb 23, 2026
22 of 23 checks passed
@anonrig anonrig deleted the yagiz/fix-transform-stream-close branch February 23, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants