Repository navigation
Conversation
This was referenced Aug 25, 2026
Run synchronous executors in a blocking task while renewing the lease at the negotiated cadence and immediately before result submission. On cancellation or lease loss, use a least-authority per-VM handle to terminate Firecracker, await teardown, discard the execution result, and keep the judge node available.
Record the real-KVM evidence that control-plane cancellation interrupts the Attempt-owned Firecracker process before the guest stage deadline, reclaims sockets within three seconds, and leaves the judge available. Preserve the protocol, production isolation, lease-loss and operator-surface limits as explicit unverified boundaries. Refs: FR-JUDGE-003, FR-SCHED-001, ACC-P0-003, ACC-P0-017, ACC-P0-018, ADR-0005, THR-RESOURCE-001, CTL-RECLAIM-001, CTL-IDEMPOTENCY-001, RISK-EXEC-001 Tests: cargo test --workspace --all-targets --locked with KVM (156 passed); focused real-microVM matrix (4 passed); fmt, check, clippy -D warnings, cargo deny, check-workspace, check-docs and five skill validators passed Unverified: real-KVM lease-loss and UDS disconnect interruption; cooperative guest Cancel; production jailer/cgroup/seccomp/watchdog; resource-exhaustion matrix; operator API/CLI cancel; release performance
CN059
force-pushed
the
agent/real-microvm-cancel-race
branch
from
August 31, 2026 00:51
2498cda to
480db9a
Compare
CN059
force-pushed
the
agent/inflight-microvm-cancellation
branch
from
August 31, 2026 00:51
801567e to
f4e2b11
Compare
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
Architecture and compatibility
This realizes the execution-plane ownership accepted by ADR-0005. It does not move VM ownership into the control plane and does not change host or guest v0alpha1 schemas, generated bindings, migrations, network policy, credentials, or runtime images. The existing guest Cancel messages remain unchanged; prompt interruption uses the least-authority host VMM handle because the current synchronous guest agent cannot consume control messages while a child is running.
Validation
Unverified
Real-KVM lease-loss and UDS-disconnect interruption, cooperative guest cancellation, production jailer/cgroup/seccomp/watchdog profiles, the resource-exhaustion matrix, an operator-facing API or CLI cancellation command, and release performance remain unverified.
Stacked on #14. Review only the two commits between agent/real-microvm-cancel-race and this branch.