Skip to content

test(fsevents): recognize coalesced synchronization markers - #283

Closed
anmonteiro wants to merge 2 commits into
draft/fsevents-split-basefrom
draft/fsevents-markers
Closed

anmonteiro wants to merge 2 commits into
draft/fsevents-split-basefrom
draft/fsevents-markers

Conversation

@anmonteiro

@anmonteiro anmonteiro commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

The raw harness rewrites start/end marker files until their callbacks arrive. Coalesced creation/modification flags decode as Unknown (see ocaml#14725), so requiring exactly Create can prevent synchronization. On current main, a focused run of the existing file-create test captured these flags on the start marker and then timed out; the marker-only patch lets it reach the file operation.

Recognize reserved marker files by kind/name and ignore repeated start markers while recording. Removed batch sorting in a follow-up commit, preserving macOS callback order.

Merged upstream as ocaml#17317; extracted from ocaml#17301. Broader CI enablement and ordinary event expectations remain separate.

@check @fmt pass on both branches. The full CI=true check on this draft still skips the raw suite and reports six watch/RPC test-file failures; the upstream branch reports four watch-test failures. The separately run upstream raw suite still has other expectation and timeout failures.

01a20619-183b-76f3-b8a7-18c1b28eb1c0

anmonteiro added a commit to ocaml/dune that referenced this pull request Nov 29, 2026
Recognize the raw FSEvents tests’ start/end markers by file kind and
name, and ignore repeated start markers while recording. Captured
creation/modification flags decode as `Unknown`, causing the existing
file-create test to time out when markers require `Create`.

Minimal extraction from #17301 and anmonteiro#283, preserving
callback order. `@check @fmt` pass; the marker probe now reaches the
file operation. Other raw-suite failures and four full-suite watch-test
failures remain; CI enablement stays separate.

01a20619-183b-76f3-b8a7-18c1b28eb1c0

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro anmonteiro closed this Nov 29, 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.

1 participant