Repository navigation
vm-guests: renderer decision, guest registry + carve-out list, deploy vm: spec (#5772) - #9186
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 9 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements steps 1, 4, and 5 of the #5772 execution plan (audit note on #5772, comment 6785960494). Steps 2-3 (the two host lifecycle proofs) remain, specced in the doc — they need a dedicated amd host visit (nixos-rebuild switch + real guest starts), not a registry change.
What lands
nixos/vm-guests/default.nix— pure-data guest registry + the mutable carve-out list (starts empty) + full-drift waiver list (also empty) with the waiver rule stated: data-only drift for carve-outs; OS-definition drift requires a named waiver with owner + reason + expiry. Also records the guest generation shape: {domain definition, flake-built disk image, NixOS source rev}, with data volumes attached to generations, never inside them. Prometheus is registered honestly asdefined-not-enabled(microvm profile still commented out for amd).vmGuestsexposing that registry.doc/2026-11-12_vm-guests-generation-discipline.md— decision rationale, generation shape, carve-out/waiver rule, thedeploy vm:<name>integration spec (define/start, status, rollback, destroy with data volumes surviving unless--purge-data), and the exact remaining step-2/step-3 proof plan.No host configuration changes: nothing is enabled, no profile is uncommented, no switch is implied by this PR.
Tests
nix-instantiate --eval --strict --json -E '(import ./nixos/vm-guests)'— pass; returns the registry withcarveOuts: [],waivers: [].nix eval .#vmGuests.renderer.libvirt --raw— pass, printsnixvirt(oracle: the flake output evaluates through the full flake).nixfmt --check nixos/vm-guests/default.nix flake.nix— pass.Refs #5772 — deliberately no closing keyword: the issue stays open for the step-2/3 lifecycle proofs.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.