MCPcopy
hub / github.com/anomalyco/opencode / snapshot-tool-race.test.ts

File snapshot-tool-race.test.ts

packages/opencode/test/session/snapshot-tool-race.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Reproducer for snapshot race condition with instant tool execution.
3 *
4 * When the mock LLM returns a tool call response instantly, the AI SDK

Callers

nothing calls this directly

Calls 8

testEffectFunction · 0.90
provideTmpdirServerFunction · 0.90
createMethod · 0.65
promptMethod · 0.65
findMethod · 0.65
makeMethod · 0.45
layerMethod · 0.45
diffMethod · 0.45

Tested by

no test coverage detected