fix(mcp): prevent stale catalogs and silent tool failures (#125564)

* fix(mcp): harden lifecycle and result integrity

* fix(mcp): bound catalog invalidation replay

* test(mcp): stabilize process cleanup proof
This commit is contained in:
Peter Steinberger
2026-08-17 21:37:12 -07:00
committed by GitHub
parent 0776c4680a
commit 1cf8ea446d
26 changed files with 1699 additions and 305 deletions
+1
View File
@@ -200,6 +200,7 @@ describe("production lint suppressions", () => {
"extensions/slack/src/monitor/provider-support.ts|typescript/no-unnecessary-type-parameters|1",
"src/agents/agent-bundle-mcp-runtime.ts|unicorn/prefer-add-event-listener|1",
"src/agents/agent-tools.abort.ts|typescript/prefer-promise-reject-errors|1",
"src/agents/mcp-http-transport.ts|unicorn/prefer-add-event-listener|6",
"src/agents/sessions/session-manager-entries.ts|unicorn/prefer-structured-clone|1",
"src/audit/audit-event-writer.ts|unicorn/require-post-message-target-origin|2",
"src/channels/plugins/channel-runtime-surface.types.ts|typescript/no-unnecessary-type-parameters|1",