Skip to content

feat: default Linux Sandbox to SandboxViaOci - #328

Merged
ZhiXiao-Lin merged 4 commits into
mainfrom
feat/sandbox-default-oci-migration
Sep 12, 2026
Merged

ZhiXiao-Lin merged 4 commits into
mainfrom
feat/sandbox-default-oci-migration

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • On Linux, absent A3S_BOX_OCI_MIGRATION selects SandboxViaOci for new Sandbox records (omit-isolation stays MicroVM).
  • Explicit off keeps the VM-only backend; explicit sandbox hard-fails when the OCI owner is not launch-ready.
  • Soft-compose a fail-closed unavailable OCI backend when the default cannot start the owner, so MicroVM continues without OCI host prep.
  • Hosted sdk-local-sandbox (and no-kvm smoke) prove the composition with the env unset.
  • Includes the claim-surface docs from docs: freeze Linux Sandbox GA claim surface #327 (supersedes that docs-only PR).

Non-claims

  • No omit→MicroVM cutover
  • No b2_process_session_recovery_closed flip
  • No WHPX/KVM MicroVM production claim
  • No fixture-as-driver Live
  • No Cloud BX0.3

Test plan

  • Unit: environment_defaults_on_linux_and_rejects_unqualified_all_policy
  • CI SDK Local Sandbox x86_64/aarch64 green with A3S_BOX_OCI_MIGRATION unset
  • MicroVM/omit-isolation still works on hosts without OCI (soft unavailable path)
  • Explicit A3S_BOX_OCI_MIGRATION=sandbox still hard-fails when owner prep is missing

Align README/ROADMAP/CHANGELOG with CI-proven OCI sandbox ownership so docs no longer call the path a preview. Scope stays Sandbox GA only — no MicroVM cutover, B2 close, or BX0.3 claims.
Absent A3S_BOX_OCI_MIGRATION now selects the production OCI owner for new Sandbox records; off keeps legacy; explicit sandbox hard-fails if the owner is not ready. Soft-compose a fail-closed unavailable OCI backend when the default cannot start the owner so MicroVM still works. Prove in sdk-local-sandbox with the env unset.
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 9c9b1a8 into main Sep 12, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/sandbox-default-oci-migration branch September 12, 2026 12:29
ZhiXiao-Lin added a commit that referenced this pull request Sep 12, 2026
* docs: remove stale Sandbox opt-in wording after GA default

Align ROADMAP and README (EN/zh-CN) with SandboxViaOci when
A3S_BOX_OCI_MIGRATION is absent so docs no longer contradict #328.

* docs: note stale opt-in cleanup in CHANGELOG
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