Skip to content

Conversation

@jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Dec 19, 2025

Closes #696

We only want to override the signal handler if the user is using a runner. Runners should take full control of managing process lifecycle. However, currently the signal handler is configured on import which applied when using standard cluster managers.

This PR moves signal handler setup to the runner initialization.

@jacobtomlinson
Copy link
Member Author

CI failures are unrelated. Merging.

@jacobtomlinson jacobtomlinson merged commit 55b9727 into dask:main Dec 19, 2025
5 of 7 checks passed
@jacobtomlinson jacobtomlinson deleted the runner-signal-handler branch December 19, 2025 09:55
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.

Overriding signal handler for SIGINT breaks program without any way to understand in dask-jobqueue==0.9.0

1 participant