feat(container-runner): exit process when the last child stops - #5587
Conversation
|
Stack for rivet-dev/actors
Get stack: change ssuvmoso |
ReviewSmall, well-scoped change: Potential issue: race between a new placement and last-child self-exit
Meanwhile If the engine ever places a second actor on this same instance while the last existing actor is stopping, there's a window (last child's removal through its In the recommended single-actor-per-instance configuration ( Stale doc comments elsewhere in the same filesThe module-level doc comments at the top of both changed files still describe the old "always stays warm, never self-exits" behavior and now contradict the logic a few lines below:
Since this PR's whole point is changing that exact behavior, these top-of-file summaries should be updated in the same change so they don't mislead the next reader. (The comment at Minor: dropped log-agent-drain rationaleThe removed comment in NitTwo actors stopping near-simultaneously and both calling Test coverageNo tests were added for this lifecycle change. The crate doesn't have existing integration coverage for actor start/stop sequencing (only |
e7d89de to
c7bb680
Compare
332c1a8 to
87b61cb
Compare
c7bb680 to
bf70a7c
Compare
87b61cb to
7531a39
Compare
No description provided.