Edgar Arakelyan and Claude Opus 5.5
57b11681c2
fix(environment): measure data-plane replies before building them
...
83fcc739 bounded one /agentenv response to 64 MiB, but it still
serialized each reply whole before measuring it, so a batch of data/get
calls on a large state built every refused reply in full only to drop
it. Each reply is now measured in bounded JSON parts (the shared
jsonParts encoder), its parts kept only while it fits; a reply past the
budget is counted for its exact reply_bytes but never assembled. A test
checks that a refused read is never handed to JSON.stringify whole and
that its reply_bytes is exact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-20 08:01:49 -07:00
..
2026-10-20 07:20:47 +08:00
2026-10-10 00:09:46 +08:00
2026-10-20 04:01:36 +08:00
2026-10-18 15:40:45 +08:00
2026-10-20 08:01:49 -07:00
2026-10-17 06:38:13 +08:00
2026-10-17 13:40:09 +08:00
2026-10-20 08:01:49 -07:00
2026-10-18 12:46:25 +00:00
2026-10-19 03:25:25 +08:00
2026-10-17 19:58:18 +08:00
2026-10-20 04:01:36 +08:00
2026-10-19 17:15:32 +08:00
2026-10-19 13:22:54 +08:00
2026-10-17 13:49:20 +08:00
2026-10-19 23:29:29 -07:00
2026-10-17 00:44:02 +08:00
2026-10-19 11:54:04 +00:00
2026-10-20 07:20:47 +08:00
2026-10-14 12:49:17 +08:00
2026-10-19 14:03:28 +08:00
2026-10-20 09:53:53 +08:00
2026-10-13 21:55:30 +08:00
2026-10-17 08:53:56 +08:00
2026-10-19 18:38:57 +08:00
2026-10-19 16:41:15 +08:00
2026-10-17 19:30:11 +08:00
2026-10-14 14:47:26 +08:00
2026-10-15 21:05:33 +08:00
2026-10-14 06:35:55 +08:00
2026-10-17 10:44:24 +00:00
2026-10-11 19:47:33 +08:00
2026-10-13 21:13:01 +08:00
2026-10-17 08:45:15 +08:00
2026-10-20 09:53:53 +08:00
2026-10-17 20:02:26 +08:00
2026-10-14 01:09:19 +08:00
2026-10-17 04:27:46 -07:00
2026-10-20 07:20:47 +08:00
2026-10-20 09:53:53 +08:00
2026-10-19 07:22:01 +08:00
2026-10-16 08:14:52 +08:00
2026-10-19 12:26:54 +08:00
2026-10-20 00:37:45 +08:00
2026-10-17 04:26:39 -07:00
2026-10-19 14:03:28 +08:00
2026-10-15 17:04:49 +08:00
2026-10-18 17:13:04 +08:00
2026-10-17 00:38:16 -07:00
2026-10-20 07:20:47 +08:00
2026-10-19 17:29:37 -07:00
2026-10-19 08:54:23 +08:00
2026-10-10 05:41:52 +08:00
2026-10-19 07:12:44 +08:00
2026-10-14 16:18:22 +08:00
2026-10-18 07:40:25 +08:00
2026-10-19 20:04:00 +08:00
2026-10-16 23:57:34 +08:00
2026-10-15 18:39:57 +08:00
2026-10-15 18:39:57 +08:00
2026-10-13 00:15:54 +08:00
2026-10-20 02:01:00 +08:00
2026-10-14 21:51:19 +08:00
2026-10-20 02:29:04 +08:00
2026-10-10 05:41:45 +08:00
2026-10-14 14:47:26 +08:00
2026-10-13 15:58:19 +09:00
2026-10-17 15:33:59 +08:00
2026-10-19 23:29:29 -07:00
2026-10-18 01:03:19 +08:00
2026-10-17 04:57:06 +08:00
2026-10-17 08:45:15 +08:00
2026-10-19 23:29:29 -07:00
2026-10-08 16:44:25 +00:00
2026-10-11 19:20:00 +08:00
2026-10-07 14:59:52 +08:00
2026-10-12 14:12:19 +08:00
2026-10-15 20:11:26 +08:00