MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / poison

Function poison

__tests__/query-pool.test.ts:142–142  ·  view source on GitHub ↗
(m: CallMsg)

Source from the content-addressed store, hash-verified

140 it('fails a poison call gracefully without wedging the pool', async () => {
141 // This specific call always crashes its worker; a normal call still works.
142 const poison = (m: CallMsg) => m.toolName === 'codegraph_explore';
143 const pool = new QueryPool({
144 root: '/x', size: 3, maxRetries: 1,
145 createWorker: () => new FakeWorker((m) => (poison(m) ? { crash: true } : { result: ok(`ok:${m.id}`) })),

Callers 1

query-pool.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected