Repository navigation
fix(cli): reap home-fenced orphan shims on pool stop - #384
Merged
Merged
Conversation
Complete #373 stop-side honesty: when the warm-pool daemon is already dead, socket-only stop must not leave PPID-1 MicroVMs invisible under A3S_HOME. Co-authored-by: Cursor <[email protected]>
exec sleep replaced /proc cmdline and hid a3s-box-shim from the PPID-1 fence. Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pool stopruns the same home-fenced PPID-1a3s-box-shimreap aspool startafter socket stop (or when no daemon is listening).reapedso operators can see crash-recovery work.A3S_HOMEand asserts discovery + cleanup.Why (first principles)
#373 already named that crashed-daemon MicroVMs are invisible to
pool stop. Start closed that hole; stop still lied with success / not_running while orphans kept CPU and mounts. This completes the stop contract without inventingpsreattach, B2, Live digests, or #172.Test plan
test_execute_stop_json_reports_reaped_when_daemon_absenthome_fenced_ppid1_shim_orphan_is_reaped(Linux)