Skip to content

feat(sdk,cli): support custom/infinite snapshots expiration#36

Draft
QuiiBz wants to merge 1 commit intomainfrom
custom-snapshots-expiration
Draft

feat(sdk,cli): support custom/infinite snapshots expiration#36
QuiiBz wants to merge 1 commit intomainfrom
custom-snapshots-expiration

Conversation

@QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented Feb 6, 2026

Add support for custom or infinite snapshots expiration, instead of the current 7 days default. If unspecified, we'll still fallback to the default expiration

Similar to the timeout field in Sandbox.create(), we accept a new expiration field in sandbox.snapshot() that represents the desired snapshot expiration in milliseconds. If set to 0, the snapshot will never expire

WIP

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sandbox-sdk Ready Ready Preview Feb 6, 2026 10:08am

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.

1 participant