Repository navigation
Conversation
$`cmd < ${await fetch(url)}` delivered zero bytes whenever the response
body had not finished arriving by the time the shell resolved the redirect
(any body larger than the first ~128 KB socket read, or any chunked/slow
origin). The Response body is a Locked PendingValue, and
Body::use_as_any_blob() falls through to an empty Blob for that case, so
the command ran on nothing and reported exit 0. This is a regression since
the fetch receive-backpressure coupling landed: before it, the body would
have buffered on its own.
Add CmdState::BufferingRedirectBody: before spawning, if the stdin
redirect is a Request/Response whose body is still Locked with a native
producer attached, fire on_start_buffering (so the paused fetch socket
resumes in BufferAll mode) and park on its on_receive_value hook; the
producer replaces the body with the buffered InternalBlob and resumes the
command. Bodies that cannot be buffered natively (a JS-driven
ReadableStream, an already-consumed body, a stored body error) now throw
instead of being substituted with an empty blob.
The builtin path and the subproc path share the same state-machine step,
and Request is now accepted alongside Response.
PendingValue::hook_native_receiver encapsulates the on_start_buffering +
on_receive_value sequencing so the shared task field is handed from the
producer to the consumer exactly once.
|
Warning Review limit reached
Next review available in: 2 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
WalkthroughChangesRequest/Response bodies used as shell redirects now use native raw-pointer receiver callbacks, asynchronous stdin buffering, shared body validation, and blob extraction for subprocess stdio. Tests cover buffering, pipelines, body usage, failures, and invalid stream or consumed-body cases. Request/Response redirect buffering
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Comment |
|
Found 1 issue this PR may fix:
🤖 Generated with Claude Code |
|
Updated 1:24 PM PT - Jul 25th, 2026
⏳ @robobun, your commit 8069dd1 is still building in
|
|
This PR may be a duplicate of:
🤖 Generated with Claude Code |
There was a problem hiding this comment.
Additional findings (outside current diff — PR may have been updated during review):
-
🔴
src/runtime/shell/states/Cmd.rs:417-431— If the fetch body errors mid-buffer (connection reset, abort, server closes early),on_redirect_body_receivedresumes the trampoline,reject_unbufferable_bodymatchesValue::Errorand throws, and the trampoline treatsYield::FailedasSuspendedand returns — nothing on this path callschild_done/finish(), so the shell promise never settles,has_pending_activitystays >0, and the interpreter'skeep_aliveholds the event loop open forever. Before this PR the same input ran on zero bytes; now it hangs.on_redirect_body_receivedneeds to checkglobal_this.has_exception()afterrun(interp)and route the failure throughchild_done(or reject the shell promise directly).Extended reasoning...
What the bug is
CmdState::BufferingRedirectBodyis the first shell state that suspends before redirect resolution and later resumes on an async producer callback. When that resume path throws a JS exception, theYield::failed()it returns is dropped on the floor by the trampoline, and the interpreter is left permanently pending: the awaited$...`` promise never settles and the process's event loop never drains.The code path
Step-by-step, for
await $cat < ${await fetch(url)}.text()where the origin resets the connection after headers + a partial body:try_buffer_redirect_bodysees aLockedbody with a native producer, callshook_native_receiver(which fireson_start_bufferingon the fetch tasklet and installson_redirect_body_receivedason_receive_valuewith the shell's ctx astask), and parks the Cmd inBufferingRedirectBody. The initial synchronousInterpreter::run()returns with no exception; the shell promise is pending;has_pending_activitywas incremented at interpreter.rs:1260.- The socket errors →
FetchTasklet::on_body_received(!successbranch) callsbody.to_error_instance(err, global)on the response body. Body::Value::to_error_instance(Body.rs:1331–1375) does*self = Value::Error(err), then — becausehook_native_receiverwas only accepted with!readable.has()andpromise.is_none(), so the earlier readable/promise branches are skipped — fireson_receive_value(locked.task.unwrap(), self)→Cmd::on_redirect_body_received.on_redirect_body_receivedunrefs the ctx keep-alive, setsstate = ExpandingArgs { idx: 0 }, and drivesYield::Next(this).run(interp)— a fresh trampoline with an emptypipeline_stack.- For a simple argv like
cat, expansion is synchronous, so the trampoline reachestransition_to_exec→init_subproc_redirections(orBuiltin::init_redirectionson Windows). There,body.to_blob_if_possible()is a no-op onValue::Error, soreject_unbufferable_bodymatches theValue::Error(err)arm →global.throw_value(err.dupe(...).to_js(...))→Err(_).transition_to_execmaps that toreturn Yield::failed(). Yield::run(Yield.rs:138–143) handlesFailedidentically toSuspended:drain_pipelineson the empty stack returnsNone→ the trampoline returns.- Control returns to
on_redirect_body_received, which does nothing afterrun(interp), then toto_error_instance→Ok(()), then toFetchTasklet, which continues with a pending VM exception it doesn't know about (surfaces later via the event-loop's unhandled-exception path, not as a rejection of the awaited shell promise).
Why nothing recovers
The only place the shell promise is settled and
has_pending_activityis decremented isInterpreter::finish()(interpreter.rs:1170–1228, viaDecrOnDropat 1190), reached only viachild_donebubbling up to the root Script. Nothing on this path callsinterp.child_done(parent, this, ...): the Cmd is stuck in stateExecwithexec = Noneand no pending callback. So:has_pending_activitystays > 0 →hasPendingActivity()keeps the JSShellInterpreter wrapper (and its rootedjsobjs) alive; the finalizer never runs.- The interpreter's own
keep_alive(ref'd at construction,.disable()d only infinish()or the finalizer) keeps the event loop alive indefinitely. - The awaited
$....text()promise never settles.
The pre-existing
Yield::failed()sites in Cmd/Builtin redirect setup all ran during the initial synchronousrun(), whererun_from_jschecksglobal_this.has_exception()afterward and propagates the throw.BufferingRedirectBodyis the first async suspend before redirect resolution, so its resume is the first asyncYield::failed()from a JS throw with no exception check afterward. (The general pattern does pre-exist inCmd::on_io_writer_chunk, but that requires a stderr-fd write to fail, which is essentially unreachable; a mid-body fetch error is common.) The same applies to theBun.serverequest-abort path, which also callsto_error_instanceon a hooked body.Impact
Before this PR the same scenario silently ran the command on zero bytes and exited 0. After, it hangs forever and pins the interpreter. That's a regression on a realistic error path (connection reset / abort / server closes early mid-body after
await fetch()returned), and directly matches REVIEW.md → Error handling: "Every error/abort/timeout path actively completes the operation. Settle every pending promise slot (an unsettled promise pins objects and hangs callers forever)." None of the added tests exercise a fetch that errors mid-body while buffering.Fix
After
Yield::Next(this).run(interp)inon_redirect_body_received, checkinterp.global_this_ref().is_some_and(|g| g.has_exception())(or check the body variant before resuming) and, on failure, route throughinterp.child_done(parent, this, 1)/Interpreter::finishso the shell promise is rejected with the body error and the keep-alive is released. Alternatively, handleValue::Errorinon_redirect_body_receiveditself (before entering the trampoline) by driving the Cmd toDonewith a nonzero exit and rejecting the interpreter's promise with the stored error. -
🟡
src/runtime/shell/states/Cmd.rs:417-431—on_redirect_body_receivedreceives_value: &mut Value(a protected mutable borrow ofresponse.body.value) and, while that borrow is live, synchronously drivesYield::Next(this).run(interp)intoinit_subproc_redirections/Builtin::init_redirections, which doesunsafe { &mut *body }on the same location and writes through it (use_as_any_blob()→*self = Value::Used). Two live&mutto one object with one under a function-argument protector is UB under Stacked Borrows / Tree Borrows (Miri would flag it). No miscompile today since_valueis never read andresolvereturns immediately after the callback, but the trivial fix is to change theon_receive_valuefn-pointer signature to take*mut Value(matching theborrow = ptrmode insrc/CLAUDE.md), or to enqueue an event-loop task instead of running the trampoline inline.Extended reasoning...
What the bug is
Cmd::on_redirect_body_receivedis installed as aPendingValue::on_receive_valuehook, whose signature isfn(ctx: *mut c_void, value: &mut Value). When the fetch producer completes,BodyValue::resolveis called withnew = unsafe { &mut *body }wherebodypoints atresponse.body.value(FetchTasklet.rs:797), andresolvereborrowsnewinto the callback parameter (Body.rs:1065). Under Stacked Borrows and Tree Borrows, that&mutfunction argument receives an FnEntry protector that lasts for the entire duration ofon_redirect_body_received— the_prefix and the fact that_valueis never dereferenced do not release the protector.Inside the callback,
Yield::Next(this).run(interp)is a synchronous trampoline (Yield.rs:101–147). It drivesCmd::nextfromExpandingArgs { idx: 0 }through argv expansion intotransition_to_exec, which calls eitherinit_subproc_redirections(Cmd.rs) orBuiltin::init_redirections(Builtin.rs). Both re-look-up the same Response viaValue::from_request_or_response(jsval), dolet body = unsafe { &mut *body }on the same memory location, and then write through it:body.to_blob_if_possible()andbody.use_as_any_blob()/body.use_()(which does*self = Value::Used). Theto_error_instancepath (Body.rs:1374) has the identical shape — it passesself(the response body) to the callback, and the callback then re-derives&mutto that sameselfinreject_unbufferable_body.Step-by-step trace
- Fetch finishes →
FetchTasklet.rs:797:BodyValue::resolve(&mut old, unsafe { &mut *body }, ...).body: *mut Valuepoints atresponse.body.value; a Unique tagU1is pushed for thenew: &mut Valueargument. Body.rs:1064–1066:callback(locked.task.unwrap(), new).newis reborrowed into_value: &mut Value; on function entry_valuegets tagU2(child ofU1) with a strong protector for the whole call frame.on_redirect_body_receivedsetsstate = ExpandingArgs { 0 }and callsYield::Next(this).run(interp).- The trampoline synchronously reaches
init_subproc_redirections→from_request_or_response(jsval)returns a fresh*mut Valuederived from the JSC cell (interior mutability), i.e. not derived fromU2.unsafe { &mut *body }pushes a new UniqueU3on the same location. body.use_as_any_blob()writes*self = Value::UsedthroughU3. Under Stacked Borrows this pops every tag above the parent ofU3— including protectedU2→ UB (protector violation). Under Tree Borrows the foreign write disables the protected ActiveU2→ same UB.- Control returns to
on_redirect_body_received, then toresolve(which returns immediately at line 1066), then toFetchTasklet(block ends at 799). Neither touchesnew/bodyagain.
Why existing code does not prevent it
The comment on
on_redirect_body_receivedsays "this only has to resume", but it resumes synchronously into code that mutably re-borrows the exact object_valuealiases.hook_native_receiverclears the producer-facing hooks so nothing else races, but it does not (and cannot) release the caller's&mutprotector. The pre-existingon_receive_valueconsumer (ValueBufferer::on_receive_value, Body.rs:2559) mutates through the passedvaluedirectly, so this PR is the first callback to re-derive a&mutto the same location independently.Impact
No observable miscompile today:
_valueis never accessed, so LLVMnoaliason that parameter has nothing to reorder against, and neitherresolvenor itsFetchTaskletcaller readsnew/bodyafter the callback returns. This is a memory-model violation that Miri would report, in a codebase whose ownsrc/CLAUDE.mddocuments theborrow = ptrmode precisely for "when the callback may free self" and whose REVIEW.md flags "Anything that can run user JS can synchronously free your state" as the most-blocked category. It is worth fixing but does not produce a concrete runtime failure to block on.How to fix
Either of:
- Change the hook signature to
fn(ctx: *mut c_void, value: *mut Value)so no protected&mutis held across the callback.ValueBufferer::on_receive_valuewould form its&mut *valuelocally;on_redirect_body_receivedwould ignore the pointer as it does today. This matches theborrow = ptridiom insrc/CLAUDE.mdand the FFI callback pattern used elsewhere (e.g.impl_streaming_writer_parent!). - Defer the resume: instead of
Yield::Next(this).run(interp)inline, enqueue an event-loop task (the shell already hasKeepAlivehere) so the_valueprotector is released beforeinit_subproc_redirectionsre-borrows the body.
- Fetch finishes →
…ake *mut Value in on_receive_value A mid-body fetch error while parked in BufferingRedirectBody reached reject_unbufferable_body on resume, which throws; Yield::Failed drops on the floor from an async re-entry, so the shell promise never settled. Route Value::Error through cmd_write_failing_error instead so the command finishes with exit 1 and the fetch error on stderr, matching how file-redirect failures are reported. Change PendingValue::on_receive_value to take *mut Value (borrow=ptr) so the shell callback does not hold a protected &mut over the same body it re-borrows via from_request_or_response while driving the trampoline. Existing consumers (ValueBufferer, WriteFileWaitFromLockedValueTask, RequestContext) form their &mut locally.
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/runtime/shell/states/Cmd.rs`:
- Around line 893-912: Align the subprocess redirection path in the
Request/Response body branch with Builtin::init_redirections: reject non-file
stdout/stderr targets via the existing immutable-blob validation before calling
use_as_any_blob(). For combined stdout/stderr redirection, ensure the body is
validated and consumed once while preserving the expected rejection behavior.
- Around line 404-438: Clear the redirect body’s native receive hook during
Cmd::deinit(), including both on_receive_value and task, before the command or
interpreter can be released. Reuse the body/hook state associated with
hook_native_receiver() so pending resolution cannot invoke
on_redirect_body_received() with stale pointers or retain RedirectBodyBufferCtx.
In `@src/runtime/webcore/Body.rs`:
- Around line 332-342: Prevent synchronous completion from accessing invalid
state: in src/runtime/webcore/Body.rs lines 332-342, assign task and
on_receive_value and clear producer hooks before invoking on_start_buffering,
then revalidate that the body remains Locked after the callback returns; in
src/runtime/shell/states/Cmd.rs lines 356-370, acquire keep_alive.ref_ before
publishing ctx and release it on the false path, and make Cmd::next’s
BufferingRedirectBody assignment conditional so it cannot overwrite state
advanced by the callback.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 14cf2b92-842e-4e5a-85e8-676e2b8392b2
📒 Files selected for processing (7)
src/runtime/server/RequestContext.rssrc/runtime/shell/Builtin.rssrc/runtime/shell/shell_body.rssrc/runtime/shell/states/Cmd.rssrc/runtime/webcore/Body.rssrc/runtime/webcore/blob/write_file.rstest/js/bun/shell/bunshell.test.ts
…ering A native receiver installed via hook_native_receiver now counts as the body being consumed: is_disturbed/is_disturbed2, to_readable_stream and tee all return used when on_receive_value is set, so a later .body/.clone()/.text() on the same Response while the shell is parked cannot attach a readable and divert delivery away from resolve(), and cannot create+protect() a promise that the on_receive_value early-return would then never settle. hook_native_receiver now installs the hook first and hands back a DeferredStartBuffering token the caller fires after its own state/keep-alive are in place. try_buffer_redirect_body re-reads the body after firing it and falls back to the synchronous path when a producer's on_start_buffering resolved the body in place without invoking the hook (server empty-body).
ValueBufferer::buffer_locked_body_value and RequestContext::do_render_with_body both materialised a stream and recursed when either on_receive_value or task was set; with to_readable_stream now returning used() for a pending native receiver that recursion never terminates. Split the check: a pending receiver is StreamAlreadyUsed / render_missing; only a bare producer task materialises and recurses. Bun.write's body_dispatch Locked arm wrote task/on_receive_value unconditionally, so Bun.write(path, res) after the shell had claimed the body silently replaced the hook and left the shell parked forever. Reject via is_disturbed2 before installing the write task.
There was a problem hiding this comment.
No new issues found after c48deb8 — the earlier rounds (hook displacement via Bun.write, .text() promise leak, to_readable_stream recursion in ValueBufferer/RequestContext, mid-buffer error hang) are all addressed. Deferring to a human reviewer given the scope: this introduces hook_native_receiver (which repurposes PendingValue::task from producer to consumer and clears the producer hooks), a new BufferingRedirectBody parking state with a heap-allocated ctx + KeepAlive, and new disturbed-body guards threaded through Body.rs / Blob.rs / RequestContext.rs.
What was reviewed:
RedirectBodyBufferCtxlifetime — freed on all three paths (hook-not-installed, sync-resolve-without-fire,on_redirect_body_received);keep_aliveunref'd on each.- Competing consumers while parked (
.body/.text()/tee/Bun.write/serve return) now reject via theon_receive_value.is_some()guards; the two recursive callers bail beforeto_readable_stream. on_receive_valuesignature change to*mut Valueapplied at all four impls; the remainingresolve(&mut new)protector overlap is acknowledged andnewis dead after the callback.reject_unbufferable_bodycoversLocked/Used/Erroron both subproc and builtin paths; stdout redirect omits the stdin hint.
Extended reasoning...
Overview
Fixes a regression where $cmd < ${await fetch(url)}`` delivered zero bytes for any body still Locked when the shell resolved the redirect. Adds a `CmdState::BufferingRedirectBody` phase: when the stdin redirect is a Request/Response with a native producer attached, `PendingValue::hook_native_receiver` installs a consumer callback, returns a `DeferredStartBuffering` token, and the Cmd parks under its own `KeepAlive` until `resolve`/`to_error_instance` fires the hook. Bodies with no native producer (JS `ReadableStream`, already-consumed, stored error) now throw instead of silently substituting an empty blob. Touches 8 files across `src/runtime/shell/`, `src/runtime/webcore/`, and `src/runtime/server/`, plus 11 new tests in `bunshell.test.ts`.
Security risks
None identified. No new untrusted-input parsing; the new error paths surface existing body errors. The task pointer repurposing is type-erased *mut c_void but the producer-facing hooks that would misinterpret it are explicitly cleared in hook_native_receiver.
Level of scrutiny
High. Body.rs is the shared substrate for fetch, Bun.serve, Bun.write, HTMLRewriter, and the shell; changing what counts as "disturbed" and adding a new consumer-side owner of task has broad reach. The PR went through five fix commits in review addressing real bugs: a mid-buffer-error hang, a .text() promise that never settled and stayed protect()'d, a Bun.write hook displacement that leaked the ctx and hung the shell, and a stack-overflow recursion in ValueBufferer/RequestContext. That iteration count alone argues for human sign-off on the final shape.
Other factors
- One nit was acknowledged and left as-is:
resolve()still holds a protected&mut Valueacross the callback while the trampoline re-derives a fresh&mutfrom the JSC cell.newis dead after the callback returns so there is nothing for noalias to reorder, and the codebase already documents this class onJsCell::get_mut; a maintainer should confirm they're comfortable leaving it. - A pre-existing inverted
is_file_blobguard inBuiltin::init_redirectionsis being left for #35318 to avoid a merge conflict. hook_native_receiversetson_start_streaming/on_readable_stream_available/on_stream_cancelled/on_stream_drainedtoNonebecausetasknow names the consumer — a maintainer familiar with the server request-context path should confirm dropping those hooks on a server-side incoming-request body (the other producer besidesFetchTasklet) is correct.- Test coverage is good (small/large/chunked bodies, builtin + subproc + pipeline, body-used-after, Request, mid-buffer error, three rejection cases, stdout-redirect message); the PR description shows the suite passing under
bun bdand failing underUSE_SYSTEM_BUN=1.
…fer error wording; test the Bun.write guard A body can reach action != None with readable/promise/on_receive_value all clear (res.body then res.text() deinits locked.readable, sets action=GetText, returns without setting promise); the fetch tasklet then delivers via its own readable_stream_ref and never reaches resolve(), so a hook installed on that state would never fire. Match the to_readable_stream/tee guards and refuse. The mid-buffer error message now says 'body' rather than 'Response body' since a server-side Request can reach the same path. Add a test that parks the shell via .run() and asserts Bun.write(path, res) throws ERR_BODY_ALREADY_USED while the shell still settles with the full body.
res.bodyUsed and the .clone() pre-check go through body_stream_check, the one Locked-body used-guard the on_receive_value sweep missed. Fold the receiver into the action guard so bodyUsed/clone agree with is_disturbed/to_readable_stream/tee while the shell is parked.
|
Diff is green locally: the 13 The last four Buildkite builds (80394, 80880, 81094, 81234) have only failed on |
|
Closing as part of a cleanup of stale pull requests. This PR has had no new commits since 2026-07-25, it conflicts with main, and its last CI run failed. This is not a judgment on the fix itself. If the problem still reproduces on a current build, reopen this PR after a rebase or open a new one against main. |
What does this PR do?
$`cmd < ${await fetch(url)}`delivered zero bytes whenever the response body had not finished arriving by the time the shell resolved the redirect: any body larger than the first ~128 KB socket read, or any chunked/slow origin. The command runs on nothing and reports exit 0, so e.g.$`gzip < ${resp} > out.gz`produces a valid empty archive.Regression since the fetch receive-backpressure coupling (81dfd59): the client socket is now paused after the first read until a consumer asks for more, so the body is still
Lockedwhen the shell reaches it. 1.3.14 buffered the whole body eagerly, so the same code delivered all 500000 bytes.Cause
Cmd::init_subproc_redirectionsandBuiltin::init_redirectionscallBody::use_as_any_blob()on the Response body. ForValue::Lockedwith no synchronously-readable source, that falls through to.unwrap_or(AnyBlob::Blob(Blob::default()))(src/runtime/webcore/Body.rs), andStdio::extract_blobmaps the empty blob toStdio::Ignore.Value::UsedandValue::Errortake the same empty-blob fallback.Fix
A new
CmdState::BufferingRedirectBodyruns between redirect expansion and argv expansion. When the stdin redirect is aRequest/Responsewhose body is stillLockedwith a native producer (the fetch tasklet or a server request context) attached:PendingValue::hook_native_receiverfireson_start_bufferingwith the producer's own task pointer (so the paused fetch socket switches toBufferAlland resumes), then installson_receive_valuewith the shell's resume context. The remaining producer-facing hooks (on_start_streaming,on_stream_cancelled, ...) are cleared becausetasknow names the consumer.BufferingRedirectBodyunder its ownKeepAlive.InternalBlob/Errorand callsresolve/to_error_instance, which fires the hook; the command resumes anduse_as_any_blob()now returns the buffered bytes.Bodies that cannot be buffered natively (a JS-driven
ReadableStream, an already-consumed body, a stored body error, or a body whose.bodystream is already in use) now throw instead of being substituted with an empty blob, viaCmd::reject_unbufferable_bodyon both the subproc and builtin paths.handle_template_valueand the subproc redirect path now useBody::from_request_or_response, soRequestis accepted alongsideResponse(previouslycat < ${request}threwInvalid JS object used in shell: [object Request]).Body::use_as_any_blob()itself is unchanged.Related
fetch()bodies working as they did in 1.3.14 and only throws when there is no native producer to buffer from.ReadableStreampumping into shell stdin; once it lands theLockedrejection here can route throughStdio::ReadableStreaminstead.How did you verify your code works?
test/js/bun/shell/bunshell.test.tsunderredirects > stdin from Request/Response:bun -ecountercatbuiltincat | bun -epipelineBody already usedRequestbody delivers its full byte countReadableStreambody, an async-generator body, and an already-consumed body each reject instead of delivering zero bytesecho hi > ${new Response(stream)}rejects with the stream-body message and without the stdin hintno test proof · iteration 0 · Platform-specific test(s) that do not run on this machine. Deferring to CI, which covers all platforms: test/js/bun/shell/bunshell.test.ts