mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-03 04:27:30 +08:00
The wrapper verifies a candidate under the package-cache lock at every launch. With no bound, a candidate that never answers holds that lock until the MCP client kills the start, and every other start on the same cache gives up after runtimeSetLockWait (45 s). Keep a bound, but a generous one: 5 minutes instead of the 15 s that cut off slow hosts (#2877). TestVerifyCandidateWaitsForResult now requires a deadline at least two minutes away; it fails with the old 15 s bound and with none. tests/windows: at a polling deadline, a worker log that is still unreadable (winerror 5/32) is RED instead of a SetupFailure, which test-windows.ps1 reports as a precondition skip and which would hide a persistent lock or ACL problem. A lock that only lasts while the supervisor deletes the log stays tolerated. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>