pingqiuandClaude Opus 5.5 56bdae803a storage: never close a held-test store under a worker that did not settle
Review of b264c233 (test P2): when startWorker's bounded join timed out it
reported an error and then let the store's Close run under the still-live
worker, which could block on the worker's locks. On a join timeout it now
fails the test with every goroutine's stack and marks the store leaked;
heldStore's cleanup then leaves that store open instead of closing it.

TestWALStoreStartWorkerReportsAWorkerThatNeverSettles drives startWorker
through a recorder with a short join bound and a worker that never
returns: the cleanup ends within the bound with one error carrying the
goroutine dump, and the store is marked leaked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 13:40:47 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%