Skip to content

fix(runtime): refuse inventing Ready from Unix restore soft-probe without heartbeat - #414

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/unix-restore-refuse-ready-without-heartbeat
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/unix-restore-refuse-ready-without-heartbeat

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • cargo test -p a3s-box-runtime --lib set_boot_completion
  • cargo test -p a3s-box-runtime --lib attach_running_process_refuses
  • CI green on this PR (Unix path covers test_restore_boot_completion_refuses_ready_without_exec_heartbeat)

…hout heartbeat

Snapshot-restore boot completion now publishes Ready only when the one-shot
exec heartbeat authenticated; otherwise leave Created (no box.ready) for
observe/promote_if_ready (#414 / #413 parity). Does not flip B2 or invent
Live digests.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 43c9741 into main Sep 16, 2026
10 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the honesty/unix-restore-refuse-ready-without-heartbeat branch September 16, 2026 01:09
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
…c heartbeat (#415)

Linux attach_sandbox now promotes Ready only via authenticated exec heartbeat
(promote_ready_if_exec_authenticated); otherwise leave Created for
observe/promote_if_ready (#415 / #413/#414 parity). Does not flip B2 or invent
Live digests.

Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
…ted (#416)

Managed MicroVM start now requires authenticated Ready (or promote_if_ready)
before returning a start handle that callers durable-promote to Running.
Pool warm publish aligns Ready after wait_for_exec_available (#416 / #414
seam). Does not flip B2 or invent Live digests.

Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
…426)

set_boot_completion_state must not invent Ready from call-order alone.
Retain authenticated ExecClient on Windows wait/attach/pool paths so the
gate matches Unix #414 (#425).

EOF

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