Charlie Marsh
bbeee9a406
Prepare MCP and plugin recommendations concurrently ( #35675 )
...
## Why
Turn preparation waited for MCP discovery before requesting endpoint plugin
recommendations, adding their latencies together.
## What changed
- Prepare the MCP runtime and endpoint plugin recommendations concurrently.
- Wait for both results before building tools and starting model sampling.
- Cancel the combined preparation when the turn is interrupted.
## Testing
- Add coverage that gates MCP initialization and verifies recommendation fetching
overlaps it while the final request includes both results.
- Verify interrupting concurrent preparation prevents model sampling.
GitOrigin-RevId: 295ec268331bf05304e6b313925fd2b6c2ae4190
2026-07-27 21:43:27 +00:00
..
2026-07-27 18:12:42 +00:00
2026-07-06 14:29:19 -07:00
2026-07-27 20:43:04 +00:00
2026-07-27 19:01:53 +00:00
2026-07-26 23:36:33 +00:00
2026-07-27 12:52:37 +00:00
2026-06-24 21:08:39 -07:00
2026-07-21 09:46:00 +00:00
2026-07-22 19:43:35 +00:00
2026-07-17 21:20:14 +00:00
2026-07-27 21:43:27 +00:00
2026-07-23 11:27:34 +00:00
2026-07-23 22:31:53 +00:00
2026-07-27 21:12:00 +00:00
2026-07-27 21:12:00 +00:00
2026-07-01 18:11:09 -07:00
2026-07-15 03:27:16 +00:00
2026-07-16 18:23:43 +00:00
2026-07-16 18:23:43 +00:00
2026-06-23 00:02:33 +00:00
2026-06-18 19:31:19 +00:00
2026-07-18 00:26:24 +00:00
2026-07-20 17:36:44 +00:00
2026-07-22 21:00:01 +00:00
2026-06-22 23:56:16 -07:00
2026-07-22 01:35:06 +00:00
2026-07-22 21:00:01 +00:00
2026-07-23 23:35:29 +00:00
2026-07-24 17:31:55 +00:00
2026-07-24 20:04:23 +00:00
2026-07-23 19:32:26 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:50:13 +00:00
2026-07-23 19:32:26 +00:00
2026-07-22 22:50:13 +00:00
2026-07-23 11:27:34 +00:00
2026-07-22 22:50:13 +00:00
2026-07-23 19:32:26 +00:00
2026-07-09 14:32:23 -07:00
2026-07-23 19:24:41 +00:00
2026-06-24 22:17:43 -07:00
2026-07-06 11:20:32 -07:00
2026-07-06 11:20:32 -07:00
2026-07-23 19:24:41 +00:00
2026-07-18 00:26:24 +00:00
2026-07-24 01:20:04 +00:00
2026-06-25 19:00:23 +00:00
2026-06-25 19:00:23 +00:00
2026-07-21 19:17:18 +00:00
2026-07-21 19:17:18 +00:00
2026-07-20 06:13:29 +00:00
2026-07-21 19:17:18 +00:00
2026-07-21 21:06:04 +00:00
2026-07-22 02:19:45 +00:00
2026-07-17 23:14:37 +00:00
2026-06-22 16:41:00 -07:00
2026-06-22 23:56:16 -07:00
2026-07-24 06:03:36 +00:00
2026-07-16 18:23:43 +00:00
2026-06-26 00:53:07 +01:00
2026-07-23 11:27:34 +00:00
2026-07-27 10:25:32 +00:00
2026-07-14 20:36:29 +00:00
2026-07-14 20:36:29 +00:00
2026-07-23 11:27:34 +00:00
2026-07-13 22:34:16 +00:00
2026-07-06 14:51:34 -07:00
2026-07-20 13:45:29 +00:00
2026-07-23 19:24:41 +00:00
2026-07-22 22:54:28 +00:00
2026-07-22 22:54:28 +00:00
2026-07-22 19:43:35 +00:00
2026-07-22 19:43:35 +00:00
2026-07-25 16:12:42 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 19:32:26 +00:00
2026-06-22 13:25:48 -07:00
2026-07-23 19:19:35 +00:00
2026-07-21 19:17:18 +00:00
2026-06-23 12:13:54 -07:00
2026-07-21 19:17:18 +00:00
2026-06-16 14:34:54 +02:00
2026-06-16 14:34:54 +02:00
2026-07-23 18:22:41 +00:00
2026-07-22 22:50:13 +00:00
2026-07-20 08:29:12 +00:00
2026-07-20 08:29:12 +00:00
2026-06-15 08:18:13 -07:00
2026-06-15 08:18:13 -07:00
2026-07-24 23:40:14 +00:00
2026-07-24 06:03:36 +00:00
2026-07-20 16:47:03 +00:00
2026-07-25 00:01:43 +00:00
2026-07-24 15:06:02 +00:00
2026-07-25 00:01:43 +00:00
2026-07-23 19:32:26 +00:00
2026-07-15 02:35:49 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 02:19:45 +00:00
2026-07-25 01:05:33 +00:00
2026-07-25 01:05:33 +00:00
2026-07-25 16:06:54 +00:00
2026-07-25 16:06:54 +00:00
2026-06-16 22:17:24 -07:00
2026-07-20 13:45:29 +00:00
2026-07-20 13:45:29 +00:00
2026-07-21 21:06:04 +00:00
2026-07-21 21:06:04 +00:00