jif
a933dd77db
Share byte buffers across exec-server output chunks ( #49972 )
...
## Why
Retaining process output, publishing events, and serving reads cloned the underlying byte buffers. Sharing those buffers avoids copying output bytes when chunks are cloned.
## What changed
Store `ByteChunk` bytes in `Arc<Vec<u8>>` and retain `ProcessOutputChunk` values directly. Add borrowed byte access for the MCP process transport while preserving base64 serialization and owned byte extraction through `into_inner()`.
## Testing
Add a unit test covering base64 serialization, deserialization, and independent owned bytes extracted from shared chunks.
GitOrigin-RevId: 6bba114af48424aa844487aa75163cfc604e0575
2026-10-01 12:41:39 +00:00
..
2026-09-23 00:48:53 +00:00
2026-09-23 22:20:34 +00:00
2026-09-23 20:05:37 +00:00
2026-09-30 18:18:03 +00:00
2026-09-26 23:17:41 +00:00
2026-08-15 03:00:35 +00:00
2026-09-26 23:17:41 +00:00
2026-10-01 01:47:35 +00:00
2026-07-21 08:59:41 +00:00
2026-09-23 00:48:53 +00:00
2026-09-23 22:20:34 +00:00
2026-09-03 20:01:07 +00:00
2026-09-23 19:37:16 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-08-20 18:48:17 +00:00
2026-09-23 00:48:53 +00:00
2026-09-27 00:01:17 +00:00
2026-09-23 00:48:53 +00:00
2026-09-04 23:06:00 +00:00
2026-09-27 00:01:17 +00:00
2026-09-29 04:38:37 +00:00
2026-10-01 01:36:03 +00:00
2026-09-29 04:38:37 +00:00
2026-07-24 00:16:42 +00:00
2026-09-26 23:17:41 +00:00
2026-08-21 17:21:30 +00:00
2026-07-24 00:16:42 +00:00
2026-06-17 17:20:53 -07:00
2026-06-17 17:20:53 -07:00
2026-09-23 20:05:37 +00:00
2026-09-26 23:17:41 +00:00
2026-09-30 18:37:18 +00:00
2026-09-02 21:58:58 +00:00
2026-08-18 18:15:21 +00:00
2026-08-13 11:11:26 +00:00
2026-10-01 02:06:27 +00:00
2026-09-19 15:15:25 +00:00
2026-09-26 23:17:41 +00:00
2026-10-01 00:48:08 +00:00
2026-08-20 08:10:08 +00:00
2026-09-30 18:18:03 +00:00
2026-09-30 18:18:03 +00:00
2026-09-30 18:18:03 +00:00
2026-10-01 12:41:39 +00:00
2026-07-25 16:03:00 +00:00
2026-07-25 16:03:00 +00:00
2026-06-15 17:39:00 -07:00
2026-07-21 13:39:33 +00:00
2026-09-26 23:17:41 +00:00
2026-09-28 23:21:26 +00:00
2026-09-23 22:10:28 +00:00
2026-09-13 06:07:03 +00:00
2026-08-18 13:36:16 +00:00
2026-09-30 18:18:03 +00:00
2026-09-26 23:17:41 +00:00
2026-06-15 17:39:00 -07:00
2026-09-26 23:17:41 +00:00
2026-10-01 00:43:55 +00:00
2026-09-17 04:37:54 +00:00
2026-09-23 19:37:16 +00:00
2026-07-30 19:23:33 +00:00
2026-09-26 23:17:41 +00:00
2026-07-20 13:45:29 +00:00
2026-09-04 23:06:00 +00:00
2026-09-29 18:34:48 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-09-23 22:10:28 +00:00
2026-09-29 18:34:48 +00:00
2026-09-26 23:17:41 +00:00
2026-09-17 18:20:28 +00:00
2026-10-01 02:06:27 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 23:17:41 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-10-01 00:48:08 +00:00
2026-09-25 12:23:15 +00:00
2026-10-01 00:48:08 +00:00
2026-09-09 17:03:57 +00:00
2026-06-25 13:42:40 -07:00
2026-08-17 20:36:10 +00:00
2026-07-01 14:15:34 -07:00
2026-07-01 14:15:34 -07:00