Narrow the runtime enum to libvirt #16
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/inventory!16
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/microvm-withdrawal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
runtimemachine fact now accepts one value,libvirt. Both example machines already declare it, so no running machine changes and a fleet diff from allod/deploy against this branch reports all four machines unchanged. The fact itself stays: it is still required on every guest, still refused on a hypervisor, and still validated as present, a string and a known value, so consumers keep deriving from it. All three checks build green. If this is wrong, the change is one list member and a handful of check cases; revert the commit.Refs allod/strategy#46. Merge order: after allod/archetypes#71, which stops mapping the removed member to a guest module.
What changes
validRuntimes = [ "libvirt" ].runtime-fact-mutationsdrops the case that accepted a synthetic microvm guest and the two example-machine assertions the one-member enum makes tautological. The hypervisor-with-runtime fixture carries the remaining valid member, so it still trips only the runtime-free diagnostic. The unknown, missing and non-string runtime cases, the shape cases and the drift sabotage are unchanged.lib/validation.nix,microvmVolumesormicrovmStateRootexists in this tree, so the enum member and the check cases were the whole of it.Risk
Validation
nix build .#checks.x86_64-linux.<name>one at a time, all green: repository-registry, runtime-fact-mutations, vm-specs-json.fleet-diff --override inventory=7a12fbd36c6abbf7e9ddd041a7f005f62a939995 --expect-nonefrom allod/deploy: allod-dev, installer, nexus, privacy-1 all unchanged; expectation matches.grep -ri microvmover the tree finds nothing.