Document sandbox snapshots in the Sandbox SDK reference (DEP-6836) - #188
Closed
robstolarz wants to merge 2 commits into
Closed
robstolarz wants to merge 2 commits into
robstolarz wants to merge 2 commits into
Conversation
Adds a Snapshots section covering sandbox.snapshot(), the capturing /
ready / failed lifecycle, booting with runtime: {snapshotId}, get /
list / delete, retention, and the Unavailable error before rollout.
Drops Snapshots from Coming soon.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vc2qUwW9e3Tzxd63r71Dvc
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vc2qUwW9e3Tzxd63r71Dvc
3 of 4 tasks
Contributor
Author
|
From Claude: moved to depot/app#3670 — docs changes are authored in app and synced here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Warning
Do not merge until the api snapshot stack (depot/api#5151 … #5200) is deployed. Merging syncs to the live site, and until then the RPCs return
Unavailable.DEP-6836. This PR documents sandbox snapshots in the Sandbox SDK reference and pairs with depot/sandbox-sdk#10 (row 10 of the snapshot stack), and removes snapshots from "Coming soon". It covers:
capturing→ready/failedlifecycle withwait()andSnapshotFailedError.FailedPrecondition) and covers the filesystem only; environment variables and processes are not captured.runtime: {snapshotId}: it must bereadyand not expired, any sandbox in the org can pull it, and the disk defaults to the source's size.capturing), retention and expiry, and theUnavailableavailability note.Test plan
pnpm run fmt:checkpasses (the only CI check in this repo).Deferred / known-open
🤖 Generated with Claude Code