jif
ef2d3edb95
Prewarm MCP runtime updates in the background ( #35144 )
...
## Why
Changes to MCP inputs can require rebuilding the runtime before the next model
step. Start that work eagerly so the step is less likely to wait for it.
## What changed
- Add a per-session worker that prewarms dirty MCP state after configuration,
authentication, or explicit refresh changes.
- Coalesce queued refreshes and always rebuild from the latest session state,
while keeping exact model-step refreshes as the correctness path.
- Stop and join the worker during session shutdown.
## Testing
- Verify rapid refreshes skip superseded configuration and publish the latest
state.
- Verify MCP-relevant policy changes mark the runtime for refresh.
GitOrigin-RevId: 045ed406caff97dcbb483bc183fd16eae0c7d7ad
2026-07-24 09:40:10 +00:00
..
2026-07-02 10:59:00 -07:00
2026-07-23 19:19:35 +00:00
2026-07-21 22:44:43 +00:00
2026-07-23 22:31:53 +00:00
2026-07-24 04:37:01 +00:00
2026-07-22 21:35:16 +00:00
2026-07-21 08:50:21 +00:00
2026-07-23 23:21:33 +00:00
2026-07-22 22:54:28 +00:00
2026-07-23 19:19:35 +00:00
2026-07-22 02:19:45 +00:00
2026-07-21 08:59:41 +00:00
2026-07-21 15:00:18 +00:00
2026-07-23 01:00:35 +00:00
2026-07-24 04:37:01 +00:00
2026-07-22 02:26:16 +00:00
2026-07-22 01:35:06 +00:00
2026-07-21 08:28:51 +00:00
2026-07-24 04:37:01 +00:00
2026-07-24 04:37:01 +00:00
2026-07-24 04:37:01 +00:00
2026-07-23 19:32:26 +00:00
2026-07-07 13:00:44 -07:00
2026-07-07 01:12:24 +00:00
2026-07-24 00:53:05 +00:00
2026-07-24 00:10:22 +00:00
2026-07-23 01:00:35 +00:00
2026-07-24 09:40:10 +00:00
2026-07-24 06:03:36 +00:00
2026-07-24 05:59:16 +00:00
2026-07-24 05:59:16 +00:00
2026-07-23 22:31:53 +00:00
2026-07-24 00:53:05 +00:00
2026-07-23 23:35:29 +00:00
2026-07-20 06:13:29 +00:00
2026-07-24 05:59:16 +00:00
2026-07-23 17:51:12 +00:00
2026-07-24 01:20:04 +00:00
2026-07-22 16:50:09 +00:00
2026-07-23 23:35:29 +00:00
2026-07-22 02:19:45 +00:00
2026-07-20 20:06:58 +00:00
2026-07-23 23:25:53 +00:00
2026-07-08 12:17:58 -04:00
2026-07-23 19:32:26 +00:00
2026-07-22 04:17:34 +00:00
2026-07-23 00:02:15 +00:00
2026-07-23 23:13:59 +00:00
2026-07-23 19:19:35 +00:00
2026-07-17 20:52:42 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 00:02:15 +00:00
2026-07-22 06:09:10 +00:00
2026-07-22 00:31:30 +00:00
2026-07-20 16:25:57 +00:00
2026-07-24 05:59:16 +00:00
2026-05-25 17:26:10 -03:00
2026-07-22 19:14:11 +00:00
2026-07-24 01:20:04 +00:00
2026-07-24 00:53:05 +00:00
2026-07-23 19:19:35 +00:00
2026-07-23 23:13:59 +00:00
2026-07-21 21:06:04 +00:00
2026-07-23 21:50:17 +00:00
2026-07-20 23:22:48 +00:00
2026-07-23 21:17:45 +00:00
2026-07-24 00:10:22 +00:00
2026-07-23 23:18:06 +00:00
2026-07-22 21:00:01 +00:00
2026-07-23 23:21:33 +00:00
2026-07-24 05:59:16 +00:00
2026-07-22 16:18:08 +00:00
2026-07-24 00:16:42 +00:00
2026-07-24 01:34:56 +00:00
2026-07-09 17:31:44 -07:00
2026-07-24 04:37:01 +00:00
2026-07-23 19:24:41 +00:00
2026-07-11 03:27:51 +00:00
2026-07-24 00:53:05 +00:00