ci / test (postgres) (push) Successful in 6m6s
ci / test (sqlite) (push) Successful in 4m57s
ci / test (postgres) (pull_request) Successful in 5m59s
ci / test (sqlite) (pull_request) Successful in 4m49s
ci / image (push) Successful in 1m37s
ci / image (pull_request) Successful in 53s
LoopWaitsOnTheInjectedClock failed once on the CI (run 586) in 38 ms, although its wait lasts up to five seconds. WaitUntil read the condition in its loop and then read it again for the assertion. The scheduler's first round registers a wait on the clock and drops it at once, because the job added before RunAsync has already signalled a change, so the loop could see the clock waited on and the assertion could see it no longer waited on. The test run 3,000 times in parallel failed 20 times before the fix and never in 18,000 runs after it. WaitUntil now judges the reading it saw, and AStateSeenOnceIsEnoughForTheWait, which fails with the old helper, keeps it that way. The scheduler itself is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>