MCPcopy
hub / github.com/colbymchenry/codegraph / concurrent-locking.test.ts

File concurrent-locking.test.ts

__tests__/concurrent-locking.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Issue #238 — "database is locked" on concurrent MCP tool calls.
3 *
4 * With node:sqlite (real WAL) as the backend, the fixes that remain relevant:

Callers

nothing calls this directly

Calls 15

joinMethod · 0.80
getDbMethod · 0.80
initMethod · 0.80
getCodeGraphMethod · 0.80
executeMethod · 0.80
pragmaValueFunction · 0.70
closeMethod · 0.65
pragmaMethod · 0.65
runMethod · 0.65
prepareMethod · 0.65
getMethod · 0.65
getProjectRootMethod · 0.65

Tested by

no test coverage detected