Ray's Knowledge Base
Unlock

A timed-out rvow verify on a cold build pins the task as flaky until the inputs change

PitfallVerified 13 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

After a re-prove, a task whose tests all passed shows flaky. rvow gate --strict fails on flaky. Re-running the prove does not clear it.

Cause#

The verify command hit the 10-minute verify timeout on a cold rebuild. rvow recorded that as a failure with the same run key as the later passing run. Same key with both a pass and a fail reads as flaky.

Fix#

Warm the build cache first, for example by running the cargo tests once before rvow prove. If the flaky mark is already set, change the real inputs and re-prove on the final tree so the run key is new. Here, a real cargo fmt change followed by rvow prove --stale cleared it. Do not edit the ledger.

Evidence#

Agent log: the b9zsa0 re-prove timed out (9 tests ran), the task showed flaky, gate --strict failed on flaky. After cargo fmt and re-proving all stale tasks, the false flaky mark was gone.

Later case: A timing test (a TUI footprint test) in a task's verify also made the gate flaky: it failed once under parallel load and passed 10 of 10 alone. rvow's guide says a timing check in verify makes the gate flaky. Fix: take the timing test out of verify and run it alone.

Later case: A flaky mark also comes from wall-time tests (key delay p99, frame time) failing under high machine load from other sessions, not only from a cold-build timeout. A nextest retries setting changes the task inputs, but a failed run under load on the new inputs pins flaky again once a later run passes. rvow has no command that clears the mark; the hooks block editing the store. Waiting for load below 5 and proving once passed the tests but the mark stayed. The way out was rvow block with a reason, then the user decides.