Commit 3ddaca3
committed
fix: use graceful actor termination to avoid Ray task_manager assertion
ray.kill() races with task completion callbacks in Ray's C++ task_manager,
triggering a fatal assertion (ray-project/ray#54260) that crashes the
process. Switch to __ray_terminate__ which queues behind pending tasks
and escalates to force-kill after 30s.
Fixes flaky CI failures in the integration test where the zephyr
html-to-md step succeeds but the process crashes during actor cleanup:
task_manager.cc:983: Check failed: it != submissible_tasks_.end()
Tried to complete task that was not pending1 parent e4121ee commit 3ddaca3
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
615 | | - | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
616 | 623 | | |
617 | 624 | | |
618 | | - | |
| 625 | + | |
619 | 626 | | |
620 | | - | |
| 627 | + | |
0 commit comments