Vercel Sandbox now supports filesystem snapshots to capture your state. You can capture a Sandbox's complete filesystem state as a snapshot and launch new Sandboxes from that snapshot using the Sandbox API.
This eliminates repeated setup when working with expensive operations like dependency installation, builds, or fixture creation. Create the environment once, snapshot it, then reuse that exact filesystem state across multiple isolated runs.
Snapshots capture the entire filesystem of a running Sandbox. New Sandboxes can launch from that snapshot, providing immediate access to pre-installed dependencies and configured environments.
See the documentation to get started with snapshots.
Read more
Continue reading...
This eliminates repeated setup when working with expensive operations like dependency installation, builds, or fixture creation. Create the environment once, snapshot it, then reuse that exact filesystem state across multiple isolated runs.
How snapshots work
Snapshots capture the entire filesystem of a running Sandbox. New Sandboxes can launch from that snapshot, providing immediate access to pre-installed dependencies and configured environments.
Key capabilities
Create a snapshot from any running Sandbox withsandbox.snapshot()
Launch new Sandboxes from snapshots viasource: { type: 'snapshot', snapshotId }
Reuse the same snapshot with multiple Sandboxes for parallel testing and experimentation
See the documentation to get started with snapshots.
Read more
Continue reading...