Repository navigation
Tags: cloudflare/computer
Tags
computer, rpc, computerd: harden JavaScript finalize and add command … …stdin Treat a JavaScript execution whose output stream closes without an exit frame as a failure rather than a silent exit 0 with no result: that state means a dropped frame write or a crashed isolate. Serialize the runner's frame writes on a chain the task awaits before closing, so a rejected write is caught instead of surfacing as an unhandled rejection. Thread standard input through the command path so container and worker shell backends receive it: the shell facade, the shell RPC contract and its server, the container runner spawn, and the worker shell entrypoint into just-bash. Reject structured input on the command path as well. Cover the new behavior: a no-exit-frame run settling as failed, stdin forwarded to command backends and to just-bash, stdin fed to a real spawned child, and structured input rejected on a command backend.
PreviousNext