Skip to content

fix(runtime): fail closed when snapshot-lower marker target is missing - #520

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-snapshot-lower-missing-fail-closed
Sep 18, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-snapshot-lower-missing-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Boot layout returns StateError when .snapshot-lower is present but the lower dir is missing, matching prepare_preserved_rootfs.
  • Removes warn-and-fallthrough to image pull.
  • Does not close B3/B2.

Test plan

  • cargo check -p a3s-box-runtime --features vm
  • Linux CI when runners resume

Made with Cursor

Boot must not invent a fresh image rootfs for a snapshot-shaped box when
.snapshot-lower points at a missing directory.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit c125a9c into main Sep 18, 2026
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant