Skip to content

Add snapshots vs templates comparison#132

Merged
dobrac merged 2 commits intomainfrom
dobrac/snapshot-template-usecases
Feb 26, 2026
Merged

Add snapshots vs templates comparison#132
dobrac merged 2 commits intomainfrom
dobrac/snapshot-template-usecases

Conversation

@dobrac
Copy link
Copy Markdown
Contributor

@dobrac dobrac commented Feb 26, 2026

Add a new "Snapshots vs. Templates" section to the snapshots documentation page.

The section includes a comparison table highlighting key differences: templates provide reproducible, deterministic environments via declarative code, while snapshots capture runtime state for checkpointing, rollback, and forking workflows.

Also added a "Use cases" section listing five concrete scenarios: checkpointing agent work, rollback points, forking workflows, warm starts, and sharing state.


Note

Low Risk
Low risk documentation-only change that adds guidance text and a comparison table; no runtime or API behavior is modified.

Overview
Adds a new “Snapshots vs. Templates” section to docs/sandbox/snapshots.mdx, including a comparison table clarifying when to use deterministic templates vs runtime-captured snapshots.

Also adds a Use cases section with concrete scenarios for snapshots (checkpointing, rollback, workflow forking, cached/warm starts, and sharing state).

Written by Cursor Bugbot for commit 0a4adae. This will update automatically on new commits. Configure here.

Includes a comparison table highlighting how templates provide reproducible, deterministic environments while snapshots capture runtime state for checkpointing, rollback, and forking workflows.
@dobrac dobrac marked this pull request as ready for review February 26, 2026 03:53
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev>
@dobrac dobrac merged commit 25ebcf4 into main Feb 26, 2026
7 checks passed
@dobrac dobrac deleted the dobrac/snapshot-template-usecases branch February 26, 2026 21:23
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