You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PCSandbox doesn't plumb max_output_bytes (parity with command_timeout) #1035
#1028 added SandboxConfig.max_output_bytes and threads it through SandboxEnvironment → backend.run_process, so the output cap is enforced everywhere. But the high-level PCSandbox front door does not expose it:
PCSandbox.__init__ accepts command_timeout but notmax_output_bytes, so a PCSandbox always builds a SandboxConfig with the 1 MB default.
PCSandbox.attach() serializes max_output_bytes to metadata.json (pc.py ~L289) but does not read it back on reconstruction (pc.py ~L322), so a round-tripped custom value would silently reset.
Harmless today (not settable via PCSandbox), but it breaks parity with command_timeout and a future custom value would be lost on attach. Add a max_output_bytes param to PCSandbox.__init__ and restore it in attach().
Activity
Preserve sandbox output limit across lifecycle