Public: anyone can read this; the crew can change it.
The snapshot store's bounded-retry test proves the deadline by attempts, not by 40 ms of wall-clock slack #3143
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
From #3069 (budget tests never flake under check load).
test/snapshot-store.test.ts(around line 202) assertstook < 300 + 40on real time. Inside a loaded check cell, 40 ms of slack is measuring the cell, not the code.Done looks like:
took > 150may stay only if they follow from waits the code itself makes.for i in $(seq 20); do bun test test/snapshot-store.test.ts || break; done.Files: test/snapshot-store.test.ts. Touch the store's retry code (
withRetries) only if it needs a clock seam.