-
Notifications
You must be signed in to change notification settings - Fork 5k
webstreams: native CompressionStream/DecompressionStream/TextEncoderStream/TextDecoderStream #36695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Jarred-Sumner
merged 41 commits into
main
from
claude/farm/cc1a3bf2/native-compression-text-streams
Aug 4, 2026
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
0f5e332
webstreams: native CompressionStream/DecompressionStream/TextEncoderS…
robobun a7f304b
[autofix.ci] apply automated fixes
autofix-ci[bot] f420b4f
CompressionStream: accept string chunks and report ERR_STREAM_NULL_VA…
robobun 7ff7cdd
ci: retrigger gate (previous run polluted by stash leftovers)
robobun 6197c4e
webstreams: JSCompressionStream/JSDecompressionStream/JSTextEncoderSt…
robobun 9d11774
setUpNativeTransformStream: readableHighWaterMark=1 so the first writ…
robobun 4cb3373
webstreams: native-sink output path for byte-producing TransformStrea…
robobun 95e47f1
webstreams: utf-8 TextDecoderStream fast path, TextEncoderStream nati…
robobun c97b498
[autofix.ci] apply automated fixes
autofix-ci[bot] 8ead549
address review: detach before sink onClose end(), drop scratch borrow…
robobun 06e4324
TextDecoderStream: store encoding label on the cell (.encoding was fl…
robobun b212f15
native-sink backpressure: detect pending-JSPromise (JSController sink…
robobun 1a08658
test: CompressionStream -> native HTTP sink backpressure (pull source…
robobun 4c4f76b
test: request-body -> DecompressionStream backpressure; req.clone().t…
robobun e455f6c
CompressionStream: offload >128KB chunks to WorkPool via AnyTaskJob (…
robobun 1be5fe0
test: cap compression backpressure TOTAL at 200 and gate streams.test…
robobun e7d0bd1
split JSCompressionStream.cpp into JSCompressionStream / JSDecompress…
robobun 8c455c0
CompressionStream async codec: dedicated WorkTask variant, single Str…
robobun 72daee1
test: cover Bun__CompressionStream__deliverAsync native-sink arm (>12…
robobun 58451a8
[autofix.ci] apply automated fixes
autofix-ci[bot] 92b9b1a
test: TextEncoderStream -> TextDecoderStream -> TextEncoderStream cha…
robobun 28f7309
Merge branch 'main' into claude/farm/cc1a3bf2/native-compression-text…
robobun e7dd41c
TransformStream.prototype.{readable,writable}: exact classInfo brand …
robobun 97aca89
remove dead TextEncoderStreamEncoder JS wrapper class; fix clippy und…
robobun 420ca97
delete code made dead by the native {De,}CompressionStream / Text{En,…
robobun d071d7d
Merge remote-tracking branch 'origin/main' into claude/farm/cc1a3bf2/…
robobun be8658e
Delete JSSink::<T>::js_write_bytes (callers removed in codegen)
robobun ed5be66
codegen: drop JSSink__writeBytes dispatcher + per-sink thunks
robobun 1965780
Reroute CompressionStreamCoder__transformInto via sink_handle_from_id
robobun 2a3f684
Add Http/Https/H3Response/ArrayBuffer variants to SinkHandle
robobun 059cd31
Reroute TextEncoderStreamEncoder IntoSink via sink_handle_from_id
robobun 1091cbe
Swap JSSink__writeBytes -> Bun__NativeTransformSink__writeBytes in de…
robobun 36b1aaa
Forward-declare Bun__NativeTransformSink__writeBytes in WebStreamsInt…
robobun 6d41079
Update JSTransformStream.h comment to reference SinkHandle dispatcher
robobun 8433435
rsisSinkWrite: route via Bun__NativeTransformSink__writeBytes
robobun 229e306
Sink.rs: add sink_handle_from_id + Bun__NativeTransformSink__writeBytes
robobun 1781642
native transform streams: route sink write through SinkHandle; drop b…
robobun 96284b6
Drop redundant extern decl; WebStreamsInternals.h provides it
robobun 1cf217c
Sink.rs: allow not_unsafe_ptr_arg_deref on writeBytes FFI
robobun 2869e0d
JS{De,}CompressionStream: drop write-only m_format field
robobun bb790d2
TextEncoderStreamEncoder: early-return on SinkHandle::None
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.