Repository navigation
test(file-watcher): shut down the macOS test watcher - #286
Closed
anmonteiro wants to merge 1 commit into
Closed
anmonteiro wants to merge 1 commit into
anmonteiro wants to merge 1 commit into
Conversation
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
This was referenced Nov 28, 2026
anmonteiro
added a commit
to ocaml/dune
that referenced
this pull request
Nov 29, 2026
Shut down the macOS test watcher after its file operations finish, releasing the resources created by the test. Standalone cleanup extracted from #17301 and anmonteiro#286. 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.
Keep the macOS test's watcher handle and call
File_watcher.shutdownafter its file operations finish. The existing test creates a watcher and leaves it running.This is independent resource cleanup. It leaves the operation sequence and all expectations unchanged. There is no isolated before/after reproduction showing that it fixes a missed event, and it should not be presented as the explanation for the 2022 watcher CI gate or the failures behind the revert in ocaml#13380.
Extracted from ocaml#17301 and merged upstream as ocaml#17315. #287 uses this as its base to keep lifecycle cleanup separate from changes to event expectations. #290 handles CI enablement; cleanup alone does not establish that the suite is ready.
@check @fmtpass. TheCI=truefull check still skips the macOS watcher suite on this draft and has the baseline failures recorded in ocaml#17301.01a20619-183b-76f3-b8a7-18c1b28eb1c0