Skip to content

fix(runtime): refuse Windows Ready without retained exec auth proof (#425) - #426

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/425-windows-boot-completion-auth-proof
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/425-windows-boot-completion-auth-proof

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Windows set_boot_completion_state now requires a retained authenticated ExecClient (Unix fix(runtime): refuse inventing Ready from Unix restore soft-probe without heartbeat #414 parity) instead of inventing Ready because cold wait returned Ok(()).
  • Retain the heartbeat client on Windows wait_for_exec_ready, pool wait_for_exec_available, and attach_running_process so boot/pool publish cannot stamp Ready from call-order alone.
  • Prefer retained client in exec_endpoint_still_authenticated on Windows as well.

Does not invent pool ps, flip B2, invent Live digests, or widen timeouts.

Test plan

  • cargo test -p a3s-box-runtime --lib set_boot_completion_state
  • cargo test -p a3s-box-runtime --lib wait_for_exec_available
  • cargo test -p a3s-box-runtime --lib attach_running_process
  • CI Format / Clippy / Test / Docs

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]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 8b55675 into main Sep 16, 2026
2 of 7 checks passed
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