Repository navigation
Conversation
The create-time refusals and their rollback now have end-to-end coverage. Each refusal is asserted together with the state it must leave alone: an overlapping mapping disables tracking but still writes the image; a label collision and a foreign ref of the same label fail before the output is created and move no ref; a re-create without --discard-unsnapshotted leaves the image byte-identical and its base in place; a mounted image is refused until --replace-mounted accompanies the discard; and a --from failure after the tracking checks leaves the old image tracked with its refs unmoved. The git-less paths run the binary with an empty PATH: the mounted gate still fires on an old image, and retirement without git removes only the sidecar, warns, and leaves the refs under refs/ext4kit/<label>/. A foreign sidecar is reported, owns no refs, and needs neither the discard override nor moves another image's history. Tracking stays opt-in for re-creates: without --track the gates still refuse and --discard-unsnapshotted still retires the old refs. Assisted-by: Claude Code: DeepSeek-V4.1-Flash Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
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.
The create-time refusals and their rollback now have end-to-end coverage. Each refusal is asserted together with the state it must leave alone: an overlapping mapping disables tracking but still writes the image; a label collision and a foreign ref of the same label fail before the output is created and move no ref; a re-create without --discard-unsnapshotted leaves the image byte-identical and its base in place; a mounted image is refused until --replace-mounted accompanies the discard; and a --from failure after the tracking checks leaves the old image tracked with its refs unmoved.
The git-less paths run the binary with an empty PATH: the mounted gate still fires on an old image, and retirement without git removes only the sidecar, warns, and leaves the refs under refs/ext4kit//. A foreign sidecar is reported, owns no refs, and needs neither the discard override nor moves another image's history. Tracking stays opt-in for re-creates: without --track the gates still refuse and --discard-unsnapshotted still retires the old refs.