You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: simlin-serve watcher tests fail at random on macOS #916
Owner decision: close on CI evidence, or re-measure on the Mac that showed the flake first.
The simlin-serve file-watcher integration tests used to fail a different 2 to 6 tests on each macOS run, because they slept a fixed 50 ms for the watch to start and waited a fixed 2 s for events.
The tests now wait until the watcher reports a probe file before acting (wait_for_watcher_ready), use the same probe as a barrier before asserting that an event did not happen (watcher_barrier), and allow 10 s for real events (OS_EVENT_TIMEOUT).
The CI macOS build, which runs these tests, has passed on recent main runs, but nobody has re-run them repeatedly on the original Mac.
Fix
Recommended: close; the CI history is the evidence, and a recurrence would show up there.
Alternative: run cargo test -p simlin-serve --test integration about 20 times on the Mac that showed it before closing.
changed the title [-]test: simlin-serve watcher integration tests are flaky on macOS (fixed wall-clock timeouts vs FSEvents latency)[/-][+]test: simlin-serve watcher tests fail at random on macOS[/+]on Oct 12, 2026
Activity
[-]test: simlin-serve watcher integration tests are flaky on macOS (fixed wall-clock timeouts vs FSEvents latency)[/-][+]test: simlin-serve watcher tests fail at random on macOS[/+]