Charlie Marsh
7ccf78dec4
Preserve MCP sharing discovery when deferring cached stdio startup ( #60037 )
...
## Why
Subagents reusing cached MCP tool definitions were forced to use the legacy protocol, preventing connection sharing from being negotiated on first use.
## What changed
Keep stdio protocol discovery enabled during deferred startup while allowing dormant subagents to advertise cached legacy tools. Track modern discovery separately from catalog updates so discovery clients reject older legacy catalogs while legacy clients can still reuse them. Keep modern tools out of the legacy catalog when joining pooled connections.
## Testing
Add coverage for deferred subagents negotiating sharing on first use and reusing the same server process, while a legacy sibling retains cached definitions without starting its server. Extend cache coverage to ensure older legacy fetches cannot undo modern discovery.
GitOrigin-RevId: 5f8f4deb22cfb81a08c05ff3fcd7ba5c9199551c
2026-11-07 02:26:13 +00:00
..
2026-11-03 10:01:36 +00:00
2026-11-04 02:00:01 +00:00
2026-11-06 23:50:54 +00:00
2026-11-02 22:56:19 +00:00
2026-10-06 01:39:50 +00:00
2026-11-04 19:58:24 +00:00
2026-11-05 21:21:19 +00:00
2026-11-03 21:54:52 +00:00
2026-11-05 19:20:56 +00:00
2026-09-24 20:59:51 +00:00
2026-11-03 10:44:27 +00:00
2026-11-06 01:50:20 +00:00
2026-10-23 02:21:49 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 00:24:27 +00:00
2026-10-06 01:39:50 +00:00
2026-11-04 16:34:49 +00:00
2026-11-03 06:05:55 +00:00
2026-11-03 06:05:55 +00:00
2026-10-06 22:39:32 +00:00
2026-08-20 17:46:05 +00:00
2026-10-15 12:01:04 +00:00
2026-10-27 23:53:34 +00:00
2026-11-04 00:19:12 +00:00
2026-09-23 00:47:07 +00:00
2026-11-03 01:58:18 +00:00
2026-11-06 06:07:46 +00:00
2026-09-29 19:03:30 +00:00
2026-10-07 18:32:50 +00:00
2026-10-27 21:50:08 +00:00
2026-09-15 18:23:08 +00:00
2026-11-02 14:06:17 +00:00
2026-10-05 18:52:51 +00:00
2026-11-06 04:24:04 +00:00
2026-11-06 03:51:12 +00:00
2026-11-04 04:02:00 +00:00
2026-10-22 02:15:00 +00:00
2026-10-20 17:15:35 +00:00
2026-10-16 16:28:53 +00:00
2026-10-28 16:46:41 +00:00
2026-09-21 22:49:17 +00:00
2026-11-06 21:53:04 +00:00
2026-09-14 15:06:28 +00:00
2026-08-25 23:42:50 +00:00
2026-11-02 14:06:17 +00:00
2026-09-19 00:46:06 +00:00
2026-10-13 16:57:54 +00:00
2026-10-06 01:39:50 +00:00
2026-11-04 00:19:12 +00:00
2026-10-19 19:24:26 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 22:29:33 +00:00
2026-10-08 16:27:10 +00:00
2026-11-04 19:58:49 +00:00
2026-10-27 23:53:34 +00:00
2026-10-09 18:58:53 +00:00
2026-10-08 16:19:09 +00:00
2026-10-08 23:34:16 +00:00
2026-10-13 10:21:42 +00:00
2026-11-05 00:55:46 +00:00
2026-09-19 01:21:32 +00:00
2026-11-06 00:37:27 +00:00
2026-10-15 19:51:22 +00:00
2026-11-06 03:51:12 +00:00
2026-10-21 02:41:05 +00:00
2026-11-06 03:51:12 +00:00
2026-10-26 22:13:14 +00:00
2026-10-06 16:56:39 +00:00
2026-11-03 21:00:31 +00:00
2026-10-21 02:41:05 +00:00
2026-10-29 12:54:39 +00:00
2026-10-06 01:39:50 +00:00
2026-10-23 04:01:39 +00:00
2026-10-29 12:37:59 +00:00
2026-11-05 22:49:46 +00:00
2026-11-04 20:37:39 +00:00
2026-10-05 22:17:02 +00:00
2026-11-04 16:33:22 +00:00
2026-10-20 14:43:08 +00:00
2026-10-13 23:29:53 +00:00
2026-10-07 15:47:21 +00:00
2026-11-02 21:09:37 +00:00
2026-10-26 18:13:00 +00:00
2026-11-03 11:43:00 +00:00
2026-10-30 15:11:02 +00:00
2026-10-27 14:28:15 +00:00
2026-10-15 11:24:07 +00:00
2026-10-16 12:37:14 +00:00
2026-10-28 16:00:30 +00:00
2026-11-05 19:20:56 +00:00
2026-10-26 19:21:08 +00:00
2026-11-02 22:09:34 +00:00
2026-10-19 11:40:15 +00:00
2026-10-29 03:14:13 +00:00
2026-10-30 15:28:20 +00:00
2026-11-05 00:39:39 +00:00
2026-11-04 13:03:01 +00:00
2026-11-03 15:02:57 +00:00
2026-08-25 01:27:18 +00:00
2026-10-06 17:11:07 +00:00
2026-10-06 17:11:07 +00:00
2026-10-21 16:43:30 +00:00
2026-11-02 21:09:37 +00:00
2026-11-05 22:03:29 +00:00
2026-09-29 13:08:37 +00:00
2026-10-29 03:14:13 +00:00
2026-10-30 17:32:09 +00:00
2026-10-14 20:00:52 +00:00
2026-09-29 13:08:37 +00:00
2026-10-01 18:05:05 +00:00
2026-10-13 16:23:44 +00:00
2026-10-23 00:02:29 +00:00
2026-10-21 02:41:05 +00:00
2026-11-02 21:09:37 +00:00
2026-11-07 02:26:13 +00:00
2026-11-04 19:58:49 +00:00
2026-11-05 20:55:46 +00:00
2026-10-06 01:39:50 +00:00
2026-11-05 22:49:46 +00:00
2026-10-08 16:19:09 +00:00
2026-11-06 07:43:44 +00:00
2026-11-04 21:23:11 +00:00
2026-11-03 21:24:16 +00:00
2026-10-27 16:16:17 +00:00
2026-11-06 21:34:25 +00:00
2026-11-03 01:58:18 +00:00
2026-10-06 17:11:07 +00:00
2026-11-06 23:50:54 +00:00
2026-09-30 11:59:13 +00:00
2026-10-06 00:16:18 +00:00
2026-09-23 21:34:11 +00:00
2026-10-09 18:58:53 +00:00
2026-11-06 20:36:32 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 02:42:02 +00:00
2026-10-29 10:34:17 +00:00
2026-10-10 01:25:00 +00:00
2026-10-06 17:11:07 +00:00
2026-11-02 19:25:02 +00:00
2026-10-30 20:53:25 +00:00
2026-10-27 22:26:12 +00:00
2026-10-06 17:11:07 +00:00
2026-11-04 01:13:54 +00:00
2026-10-20 14:14:59 +00:00
2026-10-30 18:33:14 +00:00
2026-11-02 19:38:59 +00:00
2026-09-15 04:20:38 +00:00
2026-11-02 19:17:00 +00:00
2026-10-28 20:10:15 +00:00
2026-10-13 22:21:31 +00:00
2026-10-13 22:21:31 +00:00
2026-10-13 22:21:31 +00:00
2026-10-13 22:21:31 +00:00
2026-11-04 19:58:24 +00:00
2026-11-04 01:15:38 +00:00
2026-10-29 00:42:21 +00:00
2026-10-27 16:16:17 +00:00
2026-10-06 17:11:07 +00:00
2026-11-06 19:29:06 +00:00
2026-11-03 01:58:18 +00:00
2026-10-06 17:11:07 +00:00
2026-11-03 11:14:59 +00:00
2026-11-05 03:49:13 +00:00
2026-11-05 03:49:13 +00:00
2026-11-06 07:43:44 +00:00
2026-10-13 13:36:24 +00:00
2026-11-05 22:49:46 +00:00
2026-10-06 17:11:07 +00:00
2026-10-19 20:01:37 +00:00
2026-10-29 19:16:28 +00:00
2026-11-06 19:29:06 +00:00
2026-10-14 18:02:25 +00:00
2026-11-02 21:37:17 +00:00
2026-10-10 01:25:00 +00:00
2026-11-04 01:24:36 +00:00
2026-11-03 12:08:52 +00:00
2026-11-02 19:25:02 +00:00
2026-11-07 00:18:36 +00:00
2026-10-06 17:11:07 +00:00
2026-10-19 20:30:44 +00:00
2026-11-03 12:33:26 +00:00
2026-10-09 13:15:39 +00:00
2026-11-04 19:10:59 +00:00
2026-11-04 00:19:12 +00:00
2026-11-05 00:39:39 +00:00
2026-10-27 22:26:12 +00:00
2026-10-05 16:58:29 +00:00
2026-11-05 11:14:26 +00:00
2026-11-04 13:03:01 +00:00
2026-09-29 01:14:41 +00:00
2026-10-23 00:46:28 +00:00
2026-10-22 23:48:20 +00:00
2026-10-27 19:50:41 +00:00
2026-11-04 02:00:01 +00:00
2026-11-05 20:57:03 +00:00
2026-09-29 13:08:37 +00:00
2026-11-05 20:55:46 +00:00
2026-11-05 20:55:46 +00:00
2026-10-06 19:30:57 +00:00
2026-10-27 13:02:57 +00:00
2026-10-07 19:42:35 +00:00
2026-10-23 18:48:10 +00:00
2026-11-05 13:38:12 +00:00
2026-11-02 18:43:57 +00:00
2026-10-08 22:01:24 +00:00
2026-11-06 06:07:46 +00:00
2026-10-08 03:20:54 +00:00
2026-11-04 13:03:01 +00:00
2026-10-21 19:29:08 +00:00
2026-10-29 11:23:51 +00:00
2026-10-22 02:15:00 +00:00
2026-10-03 06:42:48 +00:00
2026-11-05 22:03:29 +00:00
2026-10-22 22:44:48 +00:00
2026-09-22 21:57:52 +00:00
2026-10-20 11:56:17 +00:00
2026-10-30 20:53:25 +00:00
2026-10-02 23:26:27 +00:00
2026-11-06 00:24:27 +00:00
2026-10-12 18:54:22 +00:00
2026-10-30 18:20:57 +00:00
2026-11-04 01:15:38 +00:00
2026-11-03 06:05:55 +00:00
2026-10-06 01:39:50 +00:00
2026-11-02 07:27:49 +00:00
2026-11-03 12:08:52 +00:00
2026-10-26 21:46:26 +00:00
2026-11-06 23:50:54 +00:00
2026-10-30 18:33:14 +00:00
2026-10-11 15:48:35 +00:00
2026-11-06 16:00:54 +00:00
2026-10-23 00:02:29 +00:00
2026-11-04 02:00:01 +00:00
2026-11-04 01:12:49 +00:00
2026-11-03 01:58:18 +00:00
2026-09-22 11:10:29 +00:00
2026-11-02 16:00:20 +00:00
2026-10-19 19:33:11 +00:00
2026-10-06 22:39:06 +00:00
2026-09-09 17:56:33 +00:00
2026-10-27 22:26:12 +00:00
2026-10-26 18:33:05 +00:00
2026-10-26 18:33:05 +00:00
2026-10-06 01:39:50 +00:00
2026-11-02 19:25:02 +00:00
2026-11-06 00:24:27 +00:00
2026-10-30 18:33:14 +00:00
2026-09-02 22:45:19 +00:00
2026-10-06 17:11:07 +00:00
2026-10-06 17:10:43 +00:00
2026-09-23 20:49:48 +00:00
2026-10-27 23:02:27 +00:00
2026-10-20 22:34:40 +00:00
2026-10-27 05:52:01 +00:00
2026-11-04 01:24:36 +00:00
2026-09-29 02:40:51 +00:00
2026-11-04 19:58:24 +00:00
2026-11-04 19:58:24 +00:00
2026-09-04 20:38:08 +00:00
2026-10-26 18:13:00 +00:00
2026-09-28 15:58:17 +00:00
2026-10-26 19:01:45 +00:00
2026-10-28 15:10:52 +00:00
2026-08-28 15:44:48 +00:00
2026-10-23 00:02:29 +00:00
2026-10-30 20:53:25 +00:00
2026-10-06 17:11:07 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 15:11:02 +00:00
2026-09-22 06:24:49 +00:00
2026-09-24 20:28:31 +00:00
2026-11-02 21:37:17 +00:00
2026-10-19 19:24:26 +00:00
2026-10-23 00:02:29 +00:00
2026-08-20 06:29:32 +00:00