Repository navigation
feat(id): host adopt — copy-in step + P5 acceptance scenarios in the VM test (#10697) - #16620
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 59 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. |
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.
What
Implements the copy-in step of the #10697 P5 deployment pack and evidences the three remaining acceptance criteria in the
nixos-world-hostVM test:id host adopt <ROOT> <WORLD>— a new operator verb.Supervisor::adoptandHostFile::adoptalready existed inid-worlds, but no CLI verb and no control-socket request exposed them, so a world directory copied into a running node's data root could never appear inhost listby the runbook's steps. This adds:ControlRequest::Adopt { world, actor }+handlearm (host_control.rs)HostLifecycle::adopt(host.rs) + theNodeControlarm, soid serve --world-hostnodes answer it too (node_control.rs)adopt_act(commands/host.rs): through the running host when one answers, into the host file directly when none does — the same shape asimporthost.sock, filesystem-permissioned, with no network listener), the copy-in-while-asleep procedure, and the post-power-cut verification steps per design §5. Book reference (cli-host-nav.md) gains theadoptverb.crash()+ reboot: live world returns live by replay, asleep world stays asleep, operator path verified end to end). globalTimeout 600 → 900 for the reboot.Refs #10697. The issue stays open until the id-e2e nightly on main runs the extended VM test green; that run is the acceptance evidence for the tunnel-split, copy-in, and power-cut criteria.
Authored by lane 1737-L (alpha DRIVE run) via the Git-API contents route; no clone.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.