#4781 ServeLock test 'a renewed fenced lease keeps its fence and floor' times out waiting for two renewals under load
Opened by stack72 · 11/15/2026· Shipped 11/16/2026
Seen in verify-build run b3aaa9e5-870c-4710-bb36-a5aea08d87dd at commit 2763a0dd8 (branch for swamp-club#4777, which does not touch ServeLock), with verify-reviews and verify-skills running alongside:
src/infrastructure/datastore_v3/serve_lock_test.ts:457 failed with waitFor: timed out after 10000ms waiting for two renewals (line 466).
Intermittent: passed 3 of 3 runs alone on the same commit; no earlier verify-build log shows it failing.
Possible cause, not confirmed: the test locks with ttlMs 30, so under load a renewal can come after the lease expired; if ServeLock then treats the lease as lost and stops renewing, two renewals never arrive. Reproduce by delaying the FakeServe renew past the TTL and check whether renewal stops; then either size the TTL for load or assert on the renewal path deterministically.
Shipped
Click a lifecycle step above to view its details.