Skip to content

fix(runtime): re-prove exec health before WarmPool idle acquire (#423) - #423

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/warm-pool-acquire-reauth
Sep 16, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
honesty/warm-pool-acquire-reauth

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • WarmPool acquire re-proves exec health before handing out an idle VM.
  • Stale Ready without heartbeat is destroyed (counted as eviction) and replaced via miss/boot instead of inventing an operable lease from pool membership alone.
  • Does not invent pool ps, flip B2, invent Live digests, or widen idle TTL.

Test plan

  • cargo test -p a3s-box-runtime --lib warm_pool_acquire_refuses_ready_without_authenticated_heartbeat
  • CI Format / Clippy / Test on PR

Idle pool membership must not invent an operable Ready lease. Acquire
re-authenticates via health_check; stale Ready VMs are destroyed and the
miss/boot path runs instead of handing out dead guests.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 8576f60 into main Sep 16, 2026
5 of 7 checks passed
ZhiXiao-Lin added a commit that referenced this pull request Sep 16, 2026
In-memory Ready alone must not invent idle membership. Release re-proves health and destroys on failure (#429 / #423).

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