cassirer-openai
68b67f0ff4
Preserve rollout tracing across sub-agent reloads ( #57615 )
...
## Why
Reloading an evicted sub-agent disabled its rollout tracing, leaving later turns out of the trace. Replacement Code Mode sessions could also reuse cell IDs from earlier sessions.
## What changed
- Reattach reloaded children to the root rollout trace and emit `ThreadResumed` without duplicating `ThreadStarted`.
- Reopen existing threads during replay, preserving their identity and history while clearing stale runtime cell and terminal process mappings.
- Allocate Code Mode cell generations across sessions for both gRPC and stdio hosts to prevent ID reuse after reload.
- Record an aborted trace when session startup fails before the session loop begins.
## Testing
Add regression coverage for child eviction and reload, including a failed reload, continued inference tracing, distinct cell IDs, and preserved mail and follow-up context. Extend replay tests for history preservation and reused runtime handles, and host tests for cell IDs across session replacement and reconnection.
GitOrigin-RevId: 6c146c04b5cda9295afb7d973c0d5474b363a822
2026-10-28 01:29:34 +00:00
..
2026-10-06 21:29:35 +00:00
2026-10-19 18:25:07 +00:00
2026-10-22 11:51:23 +00:00
2026-10-27 05:22:23 +00:00
2026-09-23 00:49:19 +00:00
2026-10-26 20:54:35 +00:00
2026-10-27 17:04:16 +00:00
2026-10-27 17:04:16 +00:00
2026-09-21 13:27:39 +00:00
2026-10-27 23:53:34 +00:00
2026-10-19 21:43:19 +00:00
2026-10-10 19:43:24 +00:00
2026-09-24 00:50:02 +00:00
2026-09-23 00:47:07 +00:00
2026-10-26 21:07:36 +00:00
2026-09-24 18:38:00 +00:00
2026-09-29 22:24:09 +00:00
2026-10-01 02:06:05 +00:00
2026-10-07 18:32:50 +00:00
2026-10-27 08:06:10 +00:00
2026-10-14 17:39:43 +00:00
2026-10-06 17:10:19 +00:00
2026-10-05 23:52:06 +00:00
2026-10-26 18:13:00 +00:00
2026-09-10 21:41:39 +00:00
2026-10-26 22:05:00 +00:00
2026-10-06 03:35:55 +00:00
2026-10-21 19:06:57 +00:00
2026-10-26 18:13:00 +00:00
2026-10-06 03:35:55 +00:00
2026-10-06 03:35:55 +00:00
2026-10-22 11:52:34 +00:00
2026-10-26 18:14:57 +00:00
2026-09-10 13:02:57 +00:00
2026-10-17 23:34:04 +00:00
2026-10-09 23:16:46 +00:00
2026-09-29 22:24:09 +00:00
2026-10-26 19:35:31 +00:00
2026-10-01 15:57:03 +00:00
2026-09-30 19:21:02 +00:00
2026-10-11 15:48:35 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 18:13:00 +00:00
2026-10-19 22:55:42 +00:00
2026-10-08 19:13:52 +00:00
2026-10-08 19:13:52 +00:00
2026-10-10 19:43:24 +00:00
2026-10-08 19:21:57 +00:00
2026-09-17 01:28:24 +00:00
2026-10-13 22:21:31 +00:00
2026-10-07 23:19:26 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 18:13:00 +00:00
2026-10-23 12:23:10 +00:00
2026-10-21 19:53:00 +00:00
2026-10-20 17:01:52 +00:00
2026-10-15 03:06:16 +00:00
2026-10-27 08:06:10 +00:00
2026-09-11 21:32:04 +00:00
2026-09-10 16:01:02 +00:00
2026-09-16 10:11:26 +00:00
2026-10-27 11:05:48 +00:00
2026-10-23 18:48:10 +00:00
2026-09-08 20:37:30 +00:00
2026-10-23 18:48:10 +00:00
2026-10-22 09:20:00 +00:00
2026-09-27 20:15:23 +00:00
2026-10-23 18:48:10 +00:00
2026-10-26 21:56:23 +00:00
2026-10-14 02:01:49 +00:00
2026-10-23 18:39:28 +00:00
2026-10-27 19:43:27 +00:00
2026-09-22 06:36:09 +00:00
2026-09-02 21:01:04 +00:00
2026-10-07 23:19:26 +00:00
2026-10-20 22:25:54 +00:00
2026-10-26 19:37:32 +00:00
2026-09-09 22:22:08 +00:00
2026-09-22 10:42:50 +00:00
2026-10-22 17:15:06 +00:00
2026-10-10 19:43:24 +00:00
2026-10-10 19:43:24 +00:00
2026-10-26 21:56:23 +00:00
2026-10-23 12:35:58 +00:00
2026-10-23 09:06:13 +00:00
2026-10-06 01:26:11 +00:00
2026-10-27 08:06:10 +00:00
2026-10-23 18:50:54 +00:00
2026-10-15 03:06:16 +00:00
2026-10-02 22:55:08 +00:00
2026-09-23 00:49:19 +00:00
2026-10-20 11:56:17 +00:00
2026-10-08 21:18:24 +00:00
2026-09-11 00:03:40 +00:00
2026-10-26 18:13:00 +00:00
2026-10-20 20:27:32 +00:00
2026-10-26 20:54:08 +00:00
2026-09-28 23:32:45 +00:00
2026-10-08 18:42:58 +00:00
2026-09-17 23:47:06 +00:00
2026-09-17 04:23:45 +00:00
2026-09-25 08:25:37 +00:00
2026-10-27 21:51:50 +00:00
2026-10-23 04:52:47 +00:00
2026-09-14 22:31:32 +00:00
2026-09-23 00:47:07 +00:00
2026-10-19 21:43:19 +00:00
2026-10-26 18:13:00 +00:00
2026-10-15 10:46:59 +00:00
2026-09-24 12:26:05 +00:00
2026-09-23 00:47:07 +00:00
2026-10-08 22:42:12 +00:00
2026-10-23 04:52:47 +00:00
2026-10-01 05:33:36 +00:00
2026-09-14 23:25:09 +00:00
2026-09-08 20:37:30 +00:00
2026-10-26 18:13:00 +00:00
2026-10-14 15:22:02 +00:00
2026-10-09 01:22:30 +00:00
2026-10-26 18:13:00 +00:00
2026-09-29 15:10:17 +00:00
2026-09-09 00:25:02 +00:00
2026-09-10 13:02:57 +00:00
2026-10-06 21:29:35 +00:00
2026-10-26 18:13:00 +00:00
2026-10-23 04:52:47 +00:00
2026-10-09 01:22:30 +00:00
2026-10-01 20:47:05 +00:00
2026-09-22 11:10:53 +00:00
2026-09-02 23:41:14 +00:00
2026-09-08 20:37:30 +00:00
2026-10-26 22:05:23 +00:00
2026-10-23 18:39:28 +00:00
2026-10-26 18:23:07 +00:00
2026-10-23 04:52:47 +00:00
2026-10-23 04:52:47 +00:00
2026-10-01 00:57:29 +00:00
2026-10-26 18:13:00 +00:00
2026-10-09 03:42:19 +00:00
2026-10-26 18:13:00 +00:00
2026-10-12 16:49:29 +00:00
2026-10-27 19:43:27 +00:00
2026-10-21 15:34:43 +00:00
2026-10-26 22:05:23 +00:00
2026-10-21 15:34:43 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 22:13:14 +00:00
2026-09-22 06:36:09 +00:00
2026-10-26 18:13:00 +00:00
2026-10-23 04:52:47 +00:00
2026-10-27 04:52:09 +00:00
2026-10-28 01:29:34 +00:00
2026-09-23 00:49:19 +00:00
2026-09-17 21:25:34 +00:00
2026-09-09 17:56:33 +00:00
2026-10-26 21:55:00 +00:00
2026-10-26 21:55:00 +00:00
2026-10-10 19:43:24 +00:00
2026-09-08 21:48:53 +00:00
2026-10-26 18:13:00 +00:00
2026-10-27 19:11:56 +00:00
2026-09-24 19:29:53 +00:00
2026-10-27 05:22:23 +00:00