Skip to content

fix(runtime): refuse Sandbox Ready without authenticated exec wait - #430

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/430-sandbox-refuse-ready-without-exec-wait
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/430-sandbox-refuse-ready-without-exec-wait

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Sandbox boot_sandbox always calls wait_for_exec_ready (no Unix-only gate)
  • Publishes Ready only via set_boot_completion_state; fails closed + cleanup on soft Created
  • Unit test: sandbox_boot_completion_refuses_ready_without_exec_client
  • Docs: CHANGELOG + ROADMAP (fix(runtime): refuse Sandbox Ready without authenticated exec wait #430)
  • Does not invent Live digests, flip B2, or widen timeouts

Test plan

  • cargo test -p a3s-box-runtime --lib sandbox_boot_completion_refuses_ready_without_exec_client
  • Confirm Sandbox readiness is not #[cfg(unix)]-only
  • Confirm no B2 / Live invent / prune widening

Sandbox boot must wait for exec on Unix and Windows and publish Ready only via set_boot_completion_state — controller.start Ok alone must not invent Ready (#430).

EOF

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 3e12908 into main Sep 16, 2026
2 of 7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/430-sandbox-refuse-ready-without-exec-wait branch September 16, 2026 02:39
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
…433)

Rootfs-maintenance boot must publish Ready only via set_boot_completion_state
and fail-close when the authenticated exec client was not retained (#433 / #425/#430).
Does not invent Live digests or flip B2.

Co-authored-by: Cursor <[email protected]>
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