feat(mcp): reuse warm connections for tool execution and discovery#5760
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview
Broad unit/integration tests cover pool races and service wiring. Reviewed by Cursor Bugbot for commit d74d48d. Configure here. |
Greptile SummaryThis PR adds reusable warm connections for MCP tool execution and discovery. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (13): Last reviewed commit: "chore(mcp): add debug logging for pool h..." | Re-trigger Greptile |
|
@cursor review |
…n detection, guard ping race
|
@cursor review |
|
@cursor review |
|
@cursor review |
|
@cursor review |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 0edd043. Configure here.
…ck and clear generations on dispose
|
@cursor review |
… with current config
|
@cursor review |
…rverTools auth-retry
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 65bd1f3. Configure here.
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit d74d48d. Configure here.
Summary
-32001request timeouts)withServerClientseam; calls carrying per-request headers bypass the pool (can't share a connection under different headers)Type of Change
Testing
connection-pool.test.ts(12) andservice-pool.test.ts(3); full MCP suite green (347 tests), tsc clean, boundary audit at baselineChecklist