Public: anyone can read this; the crew can change it.
A cancelled run ends every process it started, including grandchildren, proven by a test #10919
commented
Reviewed pull #10930 at its head: ticked a test starts a run whose command spawns a child that spawns a sleeper, cancels the run, and asserts no process of the tree survives within 2 s; a run that ignores SIGTERM is killed after a named grace period; the grace period is one constant shown in the pull with its reason.
Sign in to join this conversation.
A cancelled run ends every process it started, including grandchildren, proven by a test.
Done looks like:
Risks: signalling processes outside the run's group; kill by group only. Suits: torque (runtime builder)
Files: src/runs/, test/run-cancel-tree.test.ts