Repository navigation
test(fsevents): recognize coalesced synchronization markers - #283
Closed
anmonteiro wants to merge 2 commits into
Closed
anmonteiro wants to merge 2 commits into
anmonteiro wants to merge 2 commits into
Conversation
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
This was referenced Nov 28, 2026
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The raw harness rewrites start/end marker files until their callbacks arrive. Coalesced creation/modification flags decode as
Unknown(see ocaml#14725), so requiring exactlyCreatecan 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 @fmtpass on both branches. The fullCI=truecheck 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