Skip to main content

Runtime Certification

Phase 7 treats runtime certification as a required host-level check before a provider is marked production-ready. Run dependency checks:
Generate a durable artifact for release or host signoff:
For Phase 14 worker identity signoff, run the signed-token lifecycle smoke:
This verifies token issue, inspect, verify, revocation rejection, and rotation-plan generation using secret files. Set STACYVM_WORKER_SIGNING_KEY_FILE, STACYVM_OLD_WORKER_SIGNING_KEY_FILE, STACYVM_WORKER_IDENTITY_AUDIENCE, or STACYVM_WORKER_IDENTITY_TTL to point at deployment-specific values. Workers that receive signed tokens from an external issuer can run with stacyvm worker --worker-token-file /run/secrets/stacyvm-worker-token. The worker reloads that file for every heartbeat and lease-renewal request, allowing a sidecar to replace short-lived token files before expiry without a worker restart. The script exits non-zero when any required check fails. Warnings are included in the artifact but do not fail the command. Attach the generated artifact to the release checklist, support ticket, or infrastructure change record for the host being certified. For Firecracker and PRoot, set optional paths to make host validation stricter:

Certification Matrix

stacyvm doctor --production remains the operator-facing readiness command. Docker provider integration tests are opt-in to keep default CI independent of Docker Hub and host daemon state. Run them on a certified Docker host with STACYVM_DOCKER_INTEGRATION=1 make test. The certification script is the lower-level host check for runtime dependencies that may not exist in CI or on developer laptops.

Required Phase 8 Signoff Artifacts

Before calling a single-node host production-ready, collect:
  • stacyvm config lint --production --file <config>
  • stacyvm upgrade rehearse --config <config> --database <db> --backup-output <path>
  • stacyvm doctor --production
  • scripts/certify-runtime.sh <runtime> --format markdown --output <runtime>-certification.md
  • scripts/certify-worker-identity.sh <worker-id> --format markdown --output worker-identity-certification.md
  • Provider conformance or smoke output for the configured runtime.
Store these artifacts with the deployment record. Do not treat a runtime as certified because CI passed on another host; runtime certification is per-host and depends on kernel, daemon, KVM, rootfs, and installed runtime state.