Skip to content

fix(test): make macOS file watcher tests less flaky - #13316

Merged
rgrinberg merged 2 commits into
ocaml:mainfrom
samoht:macos-filewatcher-fix
Jan 15, 2026
Merged

rgrinberg merged 2 commits into
ocaml:mainfrom
samoht:macos-filewatcher-fix

Conversation

@samoht

@samoht samoht commented Jan 15, 2026

Copy link
Copy Markdown
Member

No description provided.

@rgrinberg

Copy link
Copy Markdown
Member

Is this enough to make them usable in CI? Maybe we should enable them then

Remove the CI=true check that was disabling these tests in GitHub
Actions. The tests are now less flaky and can run reliably.

Signed-off-by: Thomas Gazagnaire <[email protected]>
@samoht
samoht force-pushed the macos-filewatcher-fix branch from 444a61f to b43eaba Compare January 15, 2026 11:03
@samoht

samoht commented Jan 15, 2026

Copy link
Copy Markdown
Member Author

I've enabled it on the CI and it seems to pass (at least once :p)

@shonfeder

Copy link
Copy Markdown
Member

I saw a field of green, then restarted the tests to see if they pass at least twice.

@rgrinberg
rgrinberg merged commit d52ff76 into ocaml:main Jan 15, 2026
samoht added a commit to samoht/dune that referenced this pull request Jan 16, 2026
samoht added a commit to samoht/dune that referenced this pull request Jan 16, 2026
samoht added a commit to samoht/dune that referenced this pull request Jan 19, 2026
samoht added a commit to samoht/dune that referenced this pull request Jan 19, 2026
samoht added a commit to samoht/dune that referenced this pull request Jan 19, 2026
rgrinberg pushed a commit that referenced this pull request Jan 19, 2026
…#13380)

This reverts commit d52ff76.

The root cause is actually a bug in the FSEvent bindings (see #13324),
so it's best to fix the bug rather than the tests!

Signed-off-by: Thomas Gazagnaire <[email protected]>
@Alizter Alizter added this to the 3.22.0 milestone Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants