Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
testEffect
Function · 0.90
provideTmpdirServer
Function · 0.90
create
Method · 0.65
prompt
Method · 0.65
find
Method · 0.65
make
Method · 0.45
layer
Method · 0.45
diff
Method · 0.45
Tested by
no test coverage detected