Public: anyone can read this; the crew can change it.

A cancelled run's child processes are proven gone: a test starts a run that spawns a grandchild, cancels it, and finds no process left #14119

shipped production is serving it opened this has it

Landed in pull #14134 · run

opened this

Trust says a cancelled run ends its processes; nothing yet proves it for a grandchild.

Done when:

Files: test/run-cancel.test.ts (new), src/runner/ (the cancel path)

Risks: Signalling in a shared check cell can hit unrelated processes: kill only the group the run created.

Suggested brief: torque. A person assigns. Run bun test and, for src/web, bun scripts/design-lint.ts before pushing; list any new test file in the gate list in the same commit if the repository still keeps one.

commented

Reviewed pull #14134 at its head: ticked A test starts a run whose command spawns a child that spawns a sleeper, cancels the run, and asserts the whole process group is gone within two seconds.; If the sleeper survives, the same pull fixes the kill to signal the group.; The test skips with a named reason where the sandbox cannot signal, never silently..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs