Skip to content

feat: reap orphaned supervised sessions on fresh Host ensure - #339

Merged
ZhiXiao-Lin merged 2 commits into
mainfrom
feat/reap-orphaned-session-supervisor-on-ensure
Sep 13, 2026
Merged

ZhiXiao-Lin merged 2 commits into
mainfrom
feat/reap-orphaned-session-supervisor-on-ensure

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Fresh SandboxViaOci construction reaps orphaned session supervisor / launcher / init when reclaiming a dead native Linux Host, so stopped-only owner-death reconcile sees a tombstone in product code.
  • Retained-manager Live reopen keeps the default ensure path (no reap) so Host SIGKILL can reopen an alive supervised session.
  • SDK sandbox smoke no longer SIGKILLs the supervisor itself; it asserts orphans survive Host death until Box ensure tears them down.
  • Docs/changelog updated without B2 close, MicroVM cutover, or WHPX/KVM production claims.

Test plan

  • Linux CI Format / Clippy / unit tests for a3s-box-runtime
  • SDK Local Sandbox smoke: owner-death path proves supervised create + product orphan reap + tombstone reconcile + restart next generation
  • Native Live qualification (if run): Host SIGKILL still reopens with supervisor intact (no reap on retained-manager ensure)

ZhiXiao-Lin and others added 2 commits September 13, 2026 12:27
Stopped-only SandboxViaOci construction must tear down Live-survivable
supervisor/launcher/init when reclaiming a dead Host, so product reconcile
sees a tombstone without a smoke-script SIGKILL workaround. Live retained-
manager reopen keeps the default no-reap path.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 095139b into main Sep 13, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/reap-orphaned-session-supervisor-on-ensure branch September 13, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant