jif
6138909d6e
Keep unified exec output collection bounded ( #32150 )
...
## Why
Unified exec can drain process output multiple times while waiting for a command. Collecting those drains into an uncapped buffer allows large commands to exceed the output collection limit.
## What changed
- Accumulate drained output through the capped head/tail buffer so collection remains bounded while preserving the beginning and end of the stream.
- Include a `... N bytes omitted ...` marker when the collection cap drops output.
- Calculate the original token estimate from all observed bytes and preserve omission metadata through truncation and sandbox-denial responses.
## Testing
- Cover repeated drains, previously omitted output, omission markers, and large-output summaries.
GitOrigin-RevId: c6e2efeb875ed8f35914365eab7431f25fd3484c
2026-07-10 12:22:04 +00:00
..
2026-07-02 10:59:00 -07:00
2026-06-09 12:48:04 -07:00
2026-06-24 13:24:10 -07:00
2026-06-22 13:19:40 -07:00
2026-07-09 12:16:15 -04:00
2026-07-09 17:05:37 -07:00
2026-07-06 10:22:25 -07:00
2026-06-24 18:00:06 -07:00
2026-07-09 17:05:37 -07:00
2026-07-07 19:48:05 +00:00
2026-06-26 17:34:52 -07:00
2026-06-23 00:02:33 +00:00
2026-07-06 12:17:16 -07:00
2026-06-11 18:16:39 -07:00
2026-07-07 13:00:44 -07:00
2026-06-13 21:43:39 -07:00
2026-06-24 13:25:44 -07:00
2026-07-09 17:23:44 -07:00
2026-07-07 17:05:05 -07:00
2026-07-07 01:34:36 +00:00
2026-06-11 18:16:39 -07:00
2026-06-11 18:16:39 -07:00
2026-07-09 14:40:10 -07:00
2026-07-06 16:26:56 -07:00
2026-07-09 08:17:13 -07:00
2026-07-09 09:58:22 -07:00
2026-07-07 13:00:44 -07:00
2026-07-07 01:12:24 +00:00
2026-06-15 20:10:53 -07:00
2026-07-09 14:32:23 -07:00
2026-06-21 13:35:25 -07:00
2026-07-09 18:46:29 -04:00
2026-06-24 23:24:01 +01:00
2026-06-22 11:11:25 -07:00
2026-07-10 12:22:04 +00:00
2026-07-09 12:25:19 +09:00
2026-07-09 12:16:15 -04:00
2026-07-10 10:29:30 +00:00
2026-06-05 15:41:13 -07:00
2026-07-09 00:58:28 +00:00
2026-07-10 11:00:12 +00:00
2026-07-10 09:56:03 +00:00
2026-07-10 09:09:22 +00:00
2026-07-09 16:51:44 +00:00
2026-06-19 12:47:53 -07:00
2026-07-08 15:20:40 -04:00
2026-07-09 15:44:59 +01:00
2026-07-03 13:06:07 -07:00
2026-07-10 09:39:08 +00:00
2026-07-07 20:01:03 -04:00
2026-07-07 18:00:35 -07:00
2026-07-09 14:26:20 -07:00
2026-07-08 12:17:58 -04:00
2026-06-12 19:52:49 +00:00
2026-07-06 14:51:34 -07:00
2026-07-09 14:26:20 -07:00
2026-07-09 12:25:19 +09:00
2026-07-07 03:49:53 +00:00
2026-06-04 09:53:08 -04:00
2026-07-09 02:32:10 +00:00
2026-07-07 17:43:19 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 17:33:37 +01:00
2026-06-04 09:53:08 -04:00
2026-07-07 17:43:19 -07:00
2026-06-23 22:51:19 +01:00
2026-07-07 10:52:38 -07:00
2026-07-08 19:55:03 -07:00
2026-07-09 18:46:29 -04:00
2026-07-08 19:55:03 -07:00
2026-07-09 12:25:19 +09:00
2026-07-09 19:36:36 +01:00
2026-06-12 19:52:49 +00:00
2026-07-07 17:50:39 -04:00
2026-06-25 13:56:08 -07:00
2026-07-09 14:01:16 -07:00
2026-07-09 14:35:09 +01:00
2026-07-09 12:25:19 +09:00
2026-07-08 19:55:03 -07:00
2026-07-09 12:25:19 +09:00
2026-07-09 10:03:22 -07:00
2026-06-24 22:33:18 +00:00
2026-06-13 21:43:39 -07:00
2026-06-13 21:43:39 -07:00
2026-07-08 12:57:27 -07:00
2026-07-08 13:22:10 -07:00
2026-07-09 17:31:44 -07:00
2026-07-10 09:09:22 +00:00
2026-07-10 09:09:22 +00:00
2026-07-09 11:53:18 -07:00
2026-06-04 09:16:03 -07:00