Skip to content

fix(runtime): fail closed on snapshot CoW inventory I/O errors - #521

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

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-snapshot-cow-inventory-fail-closed

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • referenced_rootfs_paths returns Result; boxes-dir / marker read failures abort delete/prune instead of leaving snapshots unprotected.
  • CLI box_references_lower treats non-NotFound read errors as in-use.
  • Does not close B3/B2.

Test plan

  • cargo check runtime + cli
  • Linux CI when runners resume

Made with Cursor

delete/prune must not treat unread .snapshot-lower markers as unprotected;
CLI snapshot rm treats unreadable markers as in-use.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 66f9114 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