fix(vm): reduce registry rootfs staging pressure#2425
Merged
Conversation
Remove temporary registry layer data before formatting the merged rootfs, preserve formatter execution failures over missing fallbacks, and validate required ext4 tools in rust-vm CI. Closes #2423 Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
pimlock
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
July 22, 2026 17:46
3 tasks
|
Label |
drew
approved these changes
Jul 22, 2026
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.
Summary
Reduce peak disk usage while building registry-backed VM root filesystems, and keep the formatter error that explains failures instead of masking it with a missing fallback path. The rust-vm job now validates that the GitHub-hosted runner already provides the required ext4 tools without installing packages.
Related Issue
Closes #2423
Changes
mke2fs/mkfs.ext4failures over unavailable fallback candidates, with regression coverage for failure, missing-tool, and successful-fallback behavior.mke2fs,mkfs.ext4, anddebugfson the rust-vm runner without installinge2fsprogsin the job.Testing
mise run pre-commitpassese2e/changed)mise exec -- cargo test -p openshell-driver-vmChecklist