MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / stdio-interrupt-cleanup.test.ts

File stdio-interrupt-cleanup.test.ts

packages/plugins/mcp/src/sdk/stdio-interrupt-cleanup.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Regression coverage for #1631: interrupting a fiber mid-dial (an HTTP 499
2// cancelling a health check on app refresh, or the discovery timeout) must
3// tear down the stdio child the transport spawned. Before the fix the
4// abandoned `client.connect` promise kept the child alive forever; every

Callers

nothing calls this directly

Calls 5

discoverToolsFunction · 0.90
makeFixtureFunction · 0.85
exitsAfterCleanupFunction · 0.85
readPidFunction · 0.85
isAliveFunction · 0.70

Tested by

no test coverage detected