You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The end-to-end test added in #9257 polled disk for a pid file with a 2s
deadline, which was tight enough to flake on cold macOS CI runners where
Python-on-spawn + marimo re-import alone can exceed it.
Split into two tests that together cover strictly more surface area:
- a direct test of `try_kill_process_and_group` using a bash process
tree (no Python spawn, no disk polling)
- a mocked unit test asserting `close_kernel` routes through the helper
Runs in ~0.3s instead of ~4s and is deterministic across repeated runs.
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Replaces a flaky end-to-end kernel process-group test with two fast,
deterministic tests. Fixes macOS CI flakes and reduces runtime from ~4s
to ~0.3s.
- **Bug Fixes**
- Added a direct test of `try_kill_process_and_group` using `bash` in a
new session; confirms grandchild termination with robust polling and
cleanup.
- Added a unit test asserting `KernelManagerImpl.close_kernel` routes
through the helper and closes queues; avoids Python spawn and disk
polling.
<sup>Written for commit cb70e57.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
0 commit comments