Skip to content

cli: drop snapshot/restore in favor of fork as the CoW primitive#15

Merged
aljoscha merged 1 commit into
mainfrom
drop-snapshot
May 5, 2026
Merged

cli: drop snapshot/restore in favor of fork as the CoW primitive#15
aljoscha merged 1 commit into
mainfrom
drop-snapshot

Conversation

@aljoscha
Copy link
Copy Markdown
Owner

Removes the user-facing ember snapshot {create,restore,list,delete} commands along with the corresponding StorageBackend trait methods, backend impls (ZFS, dm-thin, APFS), the SnapshotEntry/SnapshotInfo types, and the VmMetadata.snapshots field. Internal @base and fork-<name> snapshots used by image cloning and fork stay in place.

The "checkpoint before risky change → roll back" workflow becomes "fork before the change → delete the bad VM". Fork already exercises the same CoW machinery on every backend, so this is a strict simplification.

Removes the user-facing `ember snapshot {create,restore,list,delete}`
commands along with the corresponding StorageBackend trait methods,
backend impls (ZFS, dm-thin, APFS), the SnapshotEntry/SnapshotInfo
types, and the VmMetadata.snapshots field. Internal `@base` and
`fork-<name>` snapshots used by image cloning and fork stay in place.

The "checkpoint before risky change → roll back" workflow becomes
"fork before the change → delete the bad VM". Fork already exercises
the same CoW machinery on every backend, so this is a strict
simplification.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@antiguru antiguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@aljoscha aljoscha merged commit e40a218 into main May 5, 2026
2 checks passed
@aljoscha aljoscha deleted the drop-snapshot branch May 5, 2026 09:22
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.

2 participants