Repository navigation
Preserve allocation ownership across managed KVM restore - #918
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
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.
A restored managed guest now carries the original allocation operation tag alongside its binding tag. The app derives the ID from the exact owned agent allocation, and source qualification, permit-bound destination preparation, and quarantine verification check both before placement commit. Signed Delete retains its existing two-tag guard. The binding-only bare cold fixture and native diskless slot remain unchanged.
The integration runs the real prepare builder and unchanged Delete host script on the resulting fixture configuration. Missing or mismatched ownership never reaches stop/destroy, partial preparation remains fenced, and migrated SQL checks verify the old allocation ID survives both placement commit and pre-commit abort. Verified 352 focused tests, both migrated portable SQL suites, typecheck, lint, and public-tree hygiene. Live cross-host wake and deletion are not yet verified; no host settings or pilot state changed.