Skip to content

test(control-plane): fence cancelled microvm results - #14

Open
CN059 wants to merge 2 commits into
agent/real-microvm-failure-e2efrom
agent/real-microvm-cancel-race
Open

CN059 wants to merge 2 commits into
agent/real-microvm-failure-e2efrom
agent/real-microvm-cancel-race

Conversation

@CN059

@CN059 CN059 commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

  • run an 8-second infinite-loop C workload in a real Firecracker microVM and cancel it after the VMM is active
  • verify first-terminal-wins persistence, idempotent cancellation replay, rejection of the judge late result, CLI status responsiveness, and API/vsock reclamation
  • record exact KVM/runtime/PostgreSQL evidence while keeping immediate guest interruption explicitly Unverified

Requirements and controls

  • FR-JUDGE-003, FR-SCHED-001
  • ACC-P0-003, ACC-P0-017, ACC-P0-018
  • THR-RESOURCE-001
  • CTL-RECLAIM-001, CTL-IDEMPOTENCY-001
  • RISK-EXEC-001, ADR-0005

Verification

  • focused strict cancellation test: PASS (1 test, 16.16 s)
  • cargo fmt --all -- --check: PASS
  • cargo check --workspace --all-targets --locked: PASS
  • cargo clippy --workspace --all-targets --locked -- -D warnings: PASS
  • full workspace with PostgreSQL and OPENOJ_REQUIRE_KVM=1: PASS (152 tests; process E2E 9/9; runtime KVM smoke 1/1)
  • cargo deny --locked check advisories bans sources: PASS with existing duplicate-version warnings
  • workspace, docs, sandbox/develop/verify Skill validation: PASS

Boundary

This PR proves terminal fencing and bounded eventual teardown while a real microVM workload is active. The current synchronous executor still waits for the guest stage deadline before teardown; it does not yet implement an external cancel endpoint, in-flight lease polling, guest Cancel, or immediate VMM termination. That is the next implementation slice.

Stacked on #13; review only the two commits after agent/real-microvm-failure-e2e.

CN059 added 2 commits August 31, 2026 08:50
Exercise a real Firecracker workload while the control plane commits a canonical cancellation. Verify idempotent replay, first-terminal-wins fencing, judge rejection of the late result, status responsiveness, and socket reclamation without claiming immediate guest interruption.
Record the real-KVM cancellation fencing evidence, exact artifact digests and workspace gates. Keep immediate in-flight interruption, periodic renewal, and production isolation explicitly Unverified.
@CN059
CN059 force-pushed the agent/real-microvm-failure-e2e branch from d61f9b0 to b8b53a7 Compare August 31, 2026 00:51
@CN059
CN059 force-pushed the agent/real-microvm-cancel-race branch from 2498cda to 480db9a Compare August 31, 2026 00:51
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