Skip to content

feat: force supervised create for Box-owned native Sandbox Host - #338

Merged
ZhiXiao-Lin merged 3 commits into
mainfrom
feat/native-owner-supervised-create-default
Sep 13, 2026
Merged

ZhiXiao-Lin merged 3 commits into
mainfrom
feat/native-owner-supervised-create-default

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Box-owned native-linux-host-service spawn always exports A3S_OCI_NATIVE_SESSION_SUPERVISOR=1 so production SandboxViaOci create shares Host → Supervisor → Launcher with Live reopen.
  • Sandbox SDK smoke requires sessionSupervisor in native-linux-recovery.v6.
  • Explicit non-claims: no B2 harness close, no MicroVM cutover, no WHPX/KVM production; external operator-launched Hosts that omit the env remain Host-bound.

Test plan

  • CI Format / Clippy / Test green
  • SDK Local Sandbox (x86_64 + aarch64) green — proves supervised create on GA path
  • Confirm smoke asserts sessionSupervisor without harness exporting the env

Made with Cursor

ZhiXiao-Lin and others added 3 commits September 13, 2026 11:03
Box-owned native-linux-host-service spawn always sets A3S_OCI_NATIVE_SESSION_SUPERVISOR=1 so SandboxViaOci create and Live reopen share Host-Supervisor-Launcher. SDK sandbox smoke requires sessionSupervisor. External Hosts stay Host-bound; no B2 or cutover claim.

Co-authored-by: Cursor <[email protected]>
Supervised create leaves launcher/init under the session supervisor after Host SIGKILL. Owner-death smoke now SIGKILLs that supervisor so GA still proves stopped-only tombstone reconcile; Live harness keeps the supervisor.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin

Copy link
Copy Markdown
Author

SDK Local Sandbox x86_64 failed: \old OCI launcher remained alive after OCI owner SIGKILL\ — expected under supervised create (Host→Supervisor→Launcher). Pushed smoke fix: tear down \sessionSupervisor\ in the stopped-only owner-death gate while still requiring it in recovery.v6.

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 233a1c9 into main Sep 13, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/native-owner-supervised-create-default branch September 13, 2026 04:19
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