Adam Perry @ OpenAI
3ae0543fdd
core: overlap diff root discovery with world state ( #30286 )
...
## Why
Remote diff-root discovery is independent of world-state construction,
but it ran afterward and added filesystem metadata latency before the
first model request. Overlap the independent work so thread-cold turns
do not pay those waits serially.
## What
- Run `record_context_updates_and_set_reference_context_item` and
`turn_diff_display_roots` with `tokio::join!`.
- Reuse the same resolved display roots when constructing
`TurnDiffTracker`; no cache or behavior lifecycle changes are
introduced.
## Validation
A synthetic executor-skill benchmark with artificial network delay:
thread-cold model-request p50 improved from about 1.79 s to 1.58 s.
2026-06-26 18:07:41 -07:00
..
2026-06-26 09:12:42 -07:00
2026-06-24 13:25:44 -07:00
2026-04-07 00:32:41 +00:00
2026-06-26 18:37:40 +00:00
2026-06-26 12:17:26 -07:00
2026-06-25 07:03:52 +00:00
2026-06-24 22:57:42 -07:00
2026-06-24 21:08:39 -07:00
2026-06-15 22:07:07 +00:00
2026-06-23 20:07:09 +01:00
2026-06-26 18:07:41 -07:00
2026-06-26 01:36:44 +01:00
2026-06-25 21:01:11 -07:00
2026-06-26 12:17:26 -07:00
2026-06-26 18:05:52 -07:00
2026-03-24 18:10:53 -07:00
2026-06-24 22:57:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-23 00:02:33 +00:00
2026-06-18 19:31:19 +00:00
2026-05-08 12:36:02 -07:00
2026-06-22 23:56:16 -07:00
2026-06-22 23:56:16 -07:00
2026-06-24 22:31:41 -07:00
2026-06-24 22:31:41 -07:00
2026-06-26 00:53:07 +01:00
2026-06-26 09:12:42 -07:00
2026-06-26 09:12:42 -07:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-06-23 20:21:13 +00:00
2026-06-24 03:10:20 +00:00
2026-06-24 22:57:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-23 16:49:13 -07:00
2026-06-10 12:54:21 +02:00
2026-06-24 13:25:44 -07:00
2026-06-26 01:28:14 +00:00
2026-03-12 00:35:21 -07:00
2026-06-24 22:17:43 -07:00
2026-06-25 17:49:43 +00:00
2026-06-24 18:03:44 -07:00
2026-06-24 18:03:44 -07:00
2026-06-25 19:00:23 +00:00
2026-06-25 19:00:23 +00:00
2026-06-24 04:03:04 +00:00
2026-06-05 11:20:52 -07:00
2026-06-24 04:03:04 +00:00
2026-06-18 14:09:38 +02:00
2026-06-23 20:07:09 +01:00
2026-05-13 11:31:27 +02:00
2026-06-24 22:58:34 +01:00
2026-06-23 17:23:38 -07:00
2026-06-22 16:41:00 -07:00
2026-06-22 23:56:16 -07:00
2026-04-28 13:03:28 +02:00
2026-04-28 19:43:44 -07:00
2026-06-26 19:35:54 +00:00
2026-06-23 00:00:25 -07:00
2026-06-26 00:53:07 +01:00
2026-05-26 20:59:47 -07:00
2026-06-25 18:31:10 -07:00
2026-06-25 18:31:10 -07:00
2026-06-24 13:25:44 -07:00
2026-06-22 16:45:23 -07:00
2026-06-26 01:36:44 +01:00
2026-06-15 08:28:02 -07:00
2026-03-25 11:05:35 -07:00
2026-04-02 23:00:02 -07:00
2026-04-09 10:53:06 -07:00
2026-06-24 04:03:04 +00:00
2026-06-24 04:03:04 +00:00
2026-04-24 17:49:29 -07:00
2026-05-11 11:32:40 -07:00
2026-06-26 09:12:42 -07:00
2026-06-24 13:08:14 -07:00
2026-06-26 01:36:44 +01:00
2026-06-26 09:12:42 -07:00
2026-06-24 13:08:14 -07:00
2026-06-23 17:23:38 -07:00
2026-06-24 03:10:20 +00:00
2026-06-01 18:45:07 +00:00
2026-06-22 09:05:27 -07:00
2026-05-26 11:01:18 +02:00
2026-04-01 23:06:24 -07:00
2026-06-22 13:25:48 -07:00
2026-06-01 23:33:42 +00:00
2026-06-18 19:31:19 +00:00
2026-06-23 12:13:54 -07:00
2026-05-15 10:58:50 -07:00
2026-05-15 10:58:50 -07:00
2026-06-16 14:34:54 +02:00
2026-06-16 14:34:54 +02:00
2026-06-26 09:12:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-15 20:10:53 -07:00
2026-06-16 21:42:28 +00:00
2026-06-15 08:18:13 -07:00
2026-06-15 08:18:13 -07:00
2026-06-23 17:23:38 -07:00
2026-06-03 10:41:41 -07:00
2026-05-04 11:46:03 -07:00
2026-06-23 20:21:13 +00:00
2026-06-23 18:51:49 -07:00
2026-06-18 11:54:49 -07:00
2026-06-26 09:12:42 -07:00
2026-06-26 09:12:42 -07:00
2026-06-26 19:35:54 +00:00
2026-06-26 19:35:54 +00:00
2026-06-23 00:02:33 +00:00
2026-06-10 17:17:44 -07:00
2026-06-22 09:05:27 -07:00
2026-06-22 09:05:27 -07:00
2026-06-22 11:11:25 -07:00
2026-06-22 23:56:16 -07:00
2026-04-20 22:39:17 -07:00
2026-06-16 22:17:24 -07:00
2026-05-14 16:54:59 -07:00
2026-05-14 16:54:59 -07:00
2026-01-30 16:37:56 -08:00
2026-05-28 15:26:55 -07:00
2026-05-28 15:26:55 -07:00
2026-05-22 12:13:52 +02:00
2026-05-29 11:01:44 -07:00