Why
The current runtime can snapshot a running VM’s memory because we operate the hypervisor. The v2 platform exposes no snapshot or memory-export operation at all, so a filesystem archive is the only checkpoint that can exist here. This is an API ceiling, not a missing feature.What this changes for you
If you checkpoint an installed environment — dependencies, a built toolchain, a seeded database directory — nothing changes. That is a filesystem, and it restores exactly. If you checkpoint a warmed process — a loaded model, an open connection pool, a debugger paused at a breakpoint — that state is gone on restore. Your process starts again from scratch, with its files in place. The practical test: if you would be happy with the result ofreboot plus your files, a
checkpoint gives you that.
The kind argument
The current runtime accepts kind: "full" for a memory-inclusive checkpoint. Here:
- omitting
kind, or asking fordisk_only, works and produces a filesystem checkpoint - explicitly asking for
fullis refused, rather than quietly giving you a disk-only checkpoint under a name that promises more
Restore is in-place
restoreCheckpoint rolls the current sandbox’s filesystem back to the checkpoint. It does not
create a new sandbox.
Forking a new sandbox from a checkpoint is not available yet.
createFromCheckpoint fails
on v2. It is being worked on. Until then, restore into an existing sandbox.