mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-11 10:23:17 +08:00
Free x86-64 ubuntu-latest runners expose /dev/kvm, so the existing kind e2e job can exercise the micro-VM (kata + cloud-hypervisor) runtime alongside gVisor on one shared control plane: - enable /dev/kvm (udev rule) before create-kind-cluster.sh, which then mounts it and labels the node for the microvm sandbox class; - deploy the counter-microvm demo (run-microvm-demo-kind.sh) next to the gVisor counter and run the demo lifecycle suite against both; - cache the assembled micro-VM assets (keyed on assemble.sh) so the expensive virtiofsd-from-source build only runs when the pins change; push-to-main + a weekly schedule keep the cache warm for PRs. The demo lifecycle suite (create -> suspend -> resume -> in-RAM continuity) is reused for the micro-VM by parameterizing the source ActorTemplate via E2E_TEMPLATE_NAMESPACE/NAME (default the gVisor counter) and the golden-ready wait via E2E_TEMPLATE_READY_TIMEOUT. PR AI assisted.