Ensure everything is stopped/canceled on SIGINT #1146
Labels
bug
Something that's not working as intended
effort-medium
This may take a couple of days
priority-high
Most important
Intern and digdug intercept SIGINT to allow for a graceful shutdown. Currently Intern's SIGINT handler just shuts down the server in serve-only mode. In normal testing mode Intern will still wait for the test task to finish.
Intern should handle SIGINT by cancelling any running tasks and explicitly stopping the test server, if it's running. If coverage is enabled, SIGINT should prevent any further coverage collection, such as for covered but uninstrumented files.
The text was updated successfully, but these errors were encountered: