Skip to content

Add sandbox memory snapshot support for JS client#1

Merged
conorbranagan merged 6 commits intoniteshift-v0.3.25-unreleasedfrom
feat/sandbox-memory-snapshots-js
Oct 16, 2025
Merged

Add sandbox memory snapshot support for JS client#1
conorbranagan merged 6 commits intoniteshift-v0.3.25-unreleasedfrom
feat/sandbox-memory-snapshots-js

Conversation

@conorbranagan
Copy link
Copy Markdown

Summary

  • expose _experimentalEnableSnapshot through the JS sandbox creation flow
  • add Sandbox.experimentalSnapshot and Sandbox.experimentalFromSnapshot plus a SandboxSnapshot handle
  • cover the new memory snapshot flow with unit tests against mocked gRPC

Testing

  • npm run lint
  • npm run check
  • npx vitest run test/sandbox_snapshot.test.ts

@conorbranagan

View Niteshift Task

@conorbranagan conorbranagan force-pushed the feat/sandbox-memory-snapshots-js branch from fcab466 to ab0f1ba Compare October 15, 2025 13:36
@conorbranagan conorbranagan force-pushed the feat/sandbox-memory-snapshots-js branch 2 times, most recently from a637729 to fc04be7 Compare October 16, 2025 17:37
@conorbranagan conorbranagan marked this pull request as ready for review October 16, 2025 17:39
@conorbranagan conorbranagan merged commit c5345ee into niteshift-v0.3.25-unreleased Oct 16, 2025
6 of 10 checks passed
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