Skip to content

test(control-plane): persist real microvm failure verdicts - #13

Open
CN059 wants to merge 3 commits into
agent/real-microvm-judge-e2efrom
agent/real-microvm-failure-e2e
Open

CN059 wants to merge 3 commits into
agent/real-microvm-judge-e2efrom
agent/real-microvm-failure-e2e

Conversation

@CN059

@CN059 CN059 commented Aug 24, 2026

Copy link
Copy Markdown
Member

Stack

This PR is stacked on #11 and should be reviewed/merged after it. #12 is an independent sibling on #10; these tests read the verified runtime manifest dynamically and do not hard-code its rootfs digest.

Summary

  • parameterize the real CLI/PostgreSQL/UDS/judge-node/Firecracker process E2E around a fixed source fixture
  • add a compile-error case that must persist CompileError at the failed Build stage
  • add an infinite-loop case that must persist TimeLimitExceeded at the failed Run stage
  • require bounded diagnostics, content-addressed failure evidence, skipped successor stages, Firecracker provenance, and API/vsock reclamation
  • record exact real-KVM evidence and remaining negative-path gaps

Scope

This is a test/evidence change. It does not change protocol, schema, migrations, production behavior, network, credentials, argv construction, or trust boundaries. It extends the accepted-path evidence from #11 without implementing object storage or production isolation.

Validation

  • focused strict real-process suite: 3/3 passed serially in 25.18s (Accepted, CompileError, TimeLimitExceeded)
  • full workspace with isolated PostgreSQL 18 and OPENOJ_REQUIRE_KVM=1: 151 tests passed
  • process E2E: 8/8 passed in 13.16s
  • strict algorithm-c runtime KVM smoke: passed in 1.87s
  • fmt, workspace check, Clippy -D warnings: passed
  • cargo-deny advisories/bans/sources: passed with existing duplicate-version warnings
  • dependency direction and docs checks: passed
  • four applicable Skill validators: passed

Clippy initially rejected the 121-line case helper; assertions were split into a dedicated helper and the gate passed without an allow attribute.

Unverified

Real-microVM cancellation/forced-kill/lease-expiry races, object-storage delivery and short-lived authorization, HTTP identity/audit, hostile resource exhaustion and concurrent guest survival, production jailer/cgroup/namespace/seccomp/watchdog, licensing review, and release performance.

@CN059
CN059 force-pushed the agent/real-microvm-judge-e2e branch from d6445af to adb5943 Compare August 31, 2026 00:51
@CN059
CN059 force-pushed the agent/real-microvm-failure-e2e branch from d61f9b0 to b8b53a7 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