Repository navigation
fix(runtime): refuse inventing Unix exec-ready Ready from guest exit before heartbeat - #411
Merged
ZhiXiao-Lin merged 1 commit intoSep 15, 2026
Conversation
…before heartbeat Durable guest exit (or try_wait/has_exited completion) before the exec heartbeat must fail closed as BoxBootError — Windows #407/#408 parity — instead of inventing Ready/Ok(()). EOF Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
deleted the
honesty/unix-exec-ready-refuse-guest-terminal-before-heartbeat
branch
September 15, 2026 22:55
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 15, 2026
…resence (#412) Managed observe and promote_if_ready now require guest-control.ready plus a named-pipe heartbeat. Pool wait_for_exec_available fails closed instead of unconditional Ok(()) — #407/#408/#411 parity. EOF Co-authored-by: Cursor <[email protected]>
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
wait_for_exec_readyno longer invents Ready/Ok(())when durable guest exit is already persisted (ortry_wait_exit/has_exitedsees completion) before the exec heartbeat.BoxBootErrormatches Windows fix(runtime): refuse inventing Windows destroy exit from provider zero #407/fix(runtime): refuse inventing Windows exec-ready success on provider exit #408; boot cleanup still collects the authenticated exit.Test plan
wait_for_exec_ready_*lib tests pass locallytest_wait_for_exec_ready_fails_closed_when_guest_exit_persisted_before_heartbeat