Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
AssigneesNone

Relationships

↔ sibling #3638

#3668 Flaky test: lock hand-off timeout test times out in its own setup under load

Opened by swamp_lord · 10/20/2026· Shipped 10/20/2026

Found while verifying swamp-club#3661 (unrelated change).

integration/nested_lock_hand_off_reclaim_test.ts, test 'lock hand-off: the run fails instead of writing when the structural command outlasts the lock timeout' (line 260), sets SWAMP_LOCK_TIMEOUT_MS to 20 through withHeldLock. That timeout also applies to the fixture's own acquireModelLocks in runUnderModelLocks (line 119), not only to the hop.end() the test asserts on. On a loaded machine the setup acquisition itself times out: LockTimeoutError, timed out after 103ms, thrown from registerDatastoreSyncNamed via acquireModelLocks at integration/nested_lock_hand_off_reclaim_test.ts:119, before the code under test runs.

Observed in verify-build run 48c79a7e-5340-49d0-a159-256b26c48418 (commit c7e81ec5) while three verification workflows ran in parallel. The file passes on its own (7/7).

Expected: only the step under test sees the short timeout, for example by setting it after the fixture holds its locks, so that setup cannot hit it.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPEDLINKED+ 4 MOREPR_MERGED+ 1 MORESESSION_SUMMARIZED

Shipped

10/20/2026, 5:02:16 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 linked sibling of #363810/20/2026, 4:28:23 PM

Sign in to post a ripple.