morluto
71712f27f7
test(mcp): open stdio clients through the shared local-tools fixture ( #10411 )
...
* test(mcp): open stdio clients through the shared local-tools fixture
Twelve files built their own StdioClientTransport and Client for
`rea mcp`. Those clients never listed tools, so the SDK did not
validate structured results against advertised output schemas, and each
file repeated transport setup, stderr draining and close ordering.
Use connectLocalToolsMcp, which lists tools, validates replies,
silences logging, leaves deep providers unconfigured and owns cleanup.
Per-test clients register test-scoped cleanup; module-level clients
collect cleanup for afterAll.
* test(mcp): keep failed file-scoped MCP cleanup owned
The three module-level clients removed every cleanup callback before
running them, so a failed cleanup lost its only handle. Add
fileLocalToolsMcp, which connects before the file's tests and removes
each cleanup only after it succeeds, and use it in those files.
2026-11-14 11:47:55 +08:00
..
2026-10-19 01:13:57 +08:00
2026-10-31 00:22:16 +08:00
2026-10-31 00:22:16 +08:00
2026-11-06 15:13:43 +08:00
2026-10-23 22:54:28 +08:00
2026-11-06 15:13:51 +08:00
2026-11-14 05:27:07 +08:00
2026-10-29 07:36:29 +08:00
2026-10-17 20:10:12 +08:00
2026-10-11 10:43:48 +08:00
2026-11-09 21:46:51 +08:00
2026-11-08 00:01:18 +08:00
2026-10-17 12:51:04 +08:00
2026-10-29 09:25:25 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-10-14 12:17:54 +08:00
2026-10-13 17:42:41 +08:00
2026-11-02 05:14:34 -08:00
2026-11-01 00:15:28 +08:00
2026-10-24 12:07:33 +08:00
2026-10-24 01:00:14 +08:00
2026-11-02 02:13:32 +08:00
2026-11-09 13:21:24 +08:00
2026-11-14 05:27:07 +08:00
2026-10-21 05:06:50 -07:00
2026-10-29 05:56:38 +00:00
2026-11-05 16:52:19 +08:00
2026-10-12 01:22:26 +08:00
2026-10-25 11:29:45 +08:00
2026-10-16 08:14:51 +08:00
2026-11-03 23:11:45 +08:00
2026-10-29 07:56:15 +08:00
2026-10-14 03:12:04 +08:00
2026-11-14 05:27:07 +08:00
2026-10-24 01:00:14 +08:00
2026-11-11 15:10:51 -05:00
2026-11-06 21:15:58 +08:00
2026-10-13 21:26:13 +08:00
2026-10-13 20:10:39 +08:00
2026-11-06 20:16:31 +08:00
2026-10-25 07:31:42 +08:00
2026-11-14 05:27:07 +08:00
2026-10-24 08:22:14 +08:00
2026-10-29 07:55:05 +08:00
2026-11-08 00:01:18 +08:00
2026-10-26 22:20:00 +08:00
2026-11-14 05:27:07 +08:00
2026-10-29 05:10:18 +08:00
2026-11-14 05:27:07 +08:00
2026-10-16 10:09:22 +08:00
2026-11-14 05:27:07 +08:00
2026-11-01 00:15:28 +08:00
2026-10-20 17:25:19 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-10-13 23:36:35 +08:00
2026-11-10 17:58:04 -05:00
2026-10-13 23:31:30 +08:00
2026-11-09 22:09:29 +08:00
2026-10-15 02:28:46 +08:00
2026-10-25 10:30:08 +08:00
2026-10-20 17:25:19 +08:00
2026-11-14 05:27:07 +08:00
2026-10-24 03:59:44 +08:00
2026-11-14 11:47:55 +08:00
2026-10-20 17:25:19 +08:00
2026-10-18 05:08:37 +08:00
2026-11-14 11:47:55 +08:00
2026-11-10 16:50:24 -05:00
2026-10-20 17:25:19 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-10-31 00:22:16 +08:00
2026-11-13 06:10:25 -08:00
2026-10-14 15:20:05 +08:00
2026-11-14 05:27:07 +08:00
2026-11-13 06:07:24 -08:00
2026-11-09 13:21:24 +08:00
2026-10-14 06:41:22 +08:00
2026-11-08 00:01:18 +08:00
2026-11-14 05:27:07 +08:00
2026-10-23 00:50:47 +08:00
2026-10-24 02:35:59 +08:00
2026-10-24 08:22:14 +08:00
2026-10-20 17:25:19 +08:00
2026-10-14 08:46:50 +08:00
2026-11-09 13:21:24 +08:00
2026-11-01 00:15:28 +08:00
2026-11-01 00:15:28 +08:00
2026-10-27 07:44:04 +08:00
2026-11-03 08:54:39 +08:00
2026-10-20 17:25:19 +08:00
2026-10-20 17:25:19 +08:00
2026-10-20 17:25:19 +08:00
2026-11-09 13:21:24 +08:00
2026-11-14 05:27:07 +08:00
2026-10-20 17:25:19 +08:00
2026-10-20 17:25:19 +08:00
2026-10-20 17:25:19 +08:00
2026-10-29 01:29:48 +08:00
2026-10-23 02:28:53 +08:00
2026-10-22 08:52:56 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-10-29 04:58:22 +08:00
2026-10-15 15:59:42 +08:00
2026-10-30 01:01:21 -07:00
2026-10-16 06:06:06 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-10-24 10:17:23 +08:00
2026-10-16 06:06:11 +08:00
2026-11-02 15:55:56 +08:00
2026-11-14 11:47:55 +08:00
2026-10-20 17:25:19 +08:00
2026-11-09 14:58:35 +08:00
2026-10-20 17:25:19 +08:00
2026-10-24 11:22:23 +00:00
2026-10-24 02:35:36 +08:00
2026-10-25 07:31:42 +08:00
2026-10-29 04:59:14 +08:00
2026-11-08 02:02:31 +08:00
2026-10-31 00:22:16 +08:00
2026-10-25 07:31:42 +08:00
2026-10-25 07:31:42 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-05 17:32:20 +08:00
2026-10-23 18:23:54 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-10-24 08:22:14 +08:00
2026-10-11 17:07:57 +08:00
2026-10-14 08:46:50 +08:00
2026-10-12 04:09:17 +08:00
2026-10-12 04:09:17 +08:00
2026-11-08 00:01:18 +08:00
2026-11-01 00:15:28 +08:00
2026-10-25 07:31:42 +08:00
2026-10-29 09:25:25 +08:00
2026-11-14 11:47:55 +08:00
2026-11-11 17:11:06 +08:00
2026-11-09 21:46:39 +08:00
2026-11-06 22:44:56 +08:00
2026-11-14 05:27:07 +08:00
2026-10-25 07:31:42 +08:00
2026-11-14 05:27:07 +08:00
2026-10-24 00:01:19 +08:00
2026-11-06 13:34:26 +08:00
2026-10-14 07:18:50 +08:00
2026-11-09 13:21:24 +08:00
2026-10-21 07:53:42 -07:00
2026-10-25 05:23:23 -07:00
2026-11-01 00:15:28 +08:00
2026-10-29 09:23:34 +08:00