Skip to content

test: fix exec-watch-server test and demonstrate issue#12361

Merged
Alizter merged 1 commit intoocaml:mainfrom
Alizter:test-exec-watch-server
Sep 13, 2025
Merged

test: fix exec-watch-server test and demonstrate issue#12361
Alizter merged 1 commit intoocaml:mainfrom
Alizter:test-exec-watch-server

Conversation

@Alizter
Copy link
Copy Markdown
Collaborator

@Alizter Alizter commented Aug 30, 2025

The sleep time set in this test was way too high. I set it back to a sensible level so that when it fails it doesn't stall. I've also added a timeout to the exec-watch tests in general, since there shouldn't be any slow tests.

The exec-watch-server test has been re-enabled and the issue in #12323 is demonstrated.

@Alizter Alizter requested a review from rgrinberg August 30, 2025 19:51
@Alizter Alizter force-pushed the test-exec-watch-server branch from c32f6b0 to d79171b Compare August 30, 2025 23:40
@Alizter Alizter force-pushed the test-exec-watch-server branch 3 times, most recently from 115c4da to 8410ce1 Compare September 10, 2025 13:41
The timeout set in this test was way too high. I set it back to a
sensible level so that when it fails it doesn't stall. I've also added a
timeout to the exec-watch tests in general, since there shouldn't be any
slow tests.

The exec-watch-server test has been reenabled and the issue in
ocaml#12323 is demonstrated.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter force-pushed the test-exec-watch-server branch from 8410ce1 to dced6aa Compare September 13, 2025 18:28
@Alizter Alizter merged commit a51f27a into ocaml:main Sep 13, 2025
10 of 11 checks passed
@Alizter Alizter deleted the test-exec-watch-server branch September 13, 2025 18:28
Alizter added a commit that referenced this pull request Feb 6, 2026
We add a way of tracking whether a job is a process group leader to the
scheduler. This allows us to avoid sending a signal to a process group
when it isn't needed.

Doing so fixes an issue with dune exec -w where rebuilds would send a
kill signal to a non-existant process group assumed to be attached to
the process we were execing.

- [x] depends on #12361 
- [x] changelog
- fixes #12323
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.

2 participants