Repository navigation
fix(cli): trust OCI wait exit for DedicatedVm foreground runs - #646
Merged
Merged
Conversation
RequireGuestProof dropped authenticated provider exit 0 on OCI-routed MicroVM, so run --rm invented exit_code 1 after successful guest exit 0. Trust OCI wait when run_context_uses_oci; keep RequireGuestProof for legacy libkrun MicroVM. Co-authored-by: Cursor <[email protected]>
Author
|
Tip-proven on WSL2 with OCI 7fc78e7: exit_code 0 + clean stop/delete. Depends on OCI-Runtime#348 for Host contract; this PR is the Box-side exit parity. |
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 22, 2026
Honest binder update: tip evidence with OCI #348 + Box #646/#647; gate 5 still blocked until tips land on main and OCI is pinned. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 22, 2026
* fix(kvm): allow persistent in DedicatedVm OCI qualification create and non-rm run set config.persistent to retain the writable layer; the fixed DedicatedVm profile rejected that as unqualified and blocked gate 3 create/start/stop. Persistence alone is accepted; other custom mounts/controls stay fail-closed. Co-authored-by: Cursor <[email protected]> * docs(kvm): record gate 3 tip-proven status for packaged DedicatedVm Honest binder update: tip evidence with OCI #348 + Box #646/#647; gate 5 still blocked until tips land on main and OCI is pinned. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]>
3 tasks
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
RequireGuestProoffor MicroVM isolation, which drops provider exit0without.a3s_exit_code, then invents CLI/metadataexit1.run_context_uses_oci; keep RequireGuestProof for legacy libkrun MicroVM.Tip evidence (WSL2
/dev/kvm)7fc78e7(feat: preserve file/FS request_id on Unavailable for retry #348):a3s-box run --rm … echo hello-644k; exit 0→ process rc 0, removed-logsexit_code0,owner.stderrempty.Test plan
cargo test -p a3s-box-cli --lib foreground_oci_routedcargo test -p a3s-box-cli --lib foreground_workload_exit_codeCloses part of #644 (exit parity). Does not claim gate 5 / Enterprise GA.