feat(sandbox): add JS Dockerfile snapshots#2951
Open
Mukil Loganathan (langchain-infra) wants to merge 1 commit into
Open
feat(sandbox): add JS Dockerfile snapshots#2951Mukil Loganathan (langchain-infra) wants to merge 1 commit into
Mukil Loganathan (langchain-infra) wants to merge 1 commit into
Conversation
JS perf benchmarkLower is better. Noisy on shared runners — treat as a signal, not a gate. Base64-heavy payloadSingle large base64 string per message — the shape the worker-offload path is optimized for.
Structural payloadMany small strings across a wide/nested object graph. Should bypass worker offload and use sync flush.
|
Ramon Nogueira (ramon-langchain)
approved these changes
May 28, 2026
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.
Summary
SandboxClient.createSnapshotFromDockerfile(...)while keeping the existing Docker-imagecreateSnapshot(...)signature unchanged.Release Note
JS SDK sandbox clients can now build snapshots from a local Dockerfile context.
Test Plan
rtk pnpm test -- src/tests/sandbox.test.tsrtk pnpm exec oxfmt --check src/sandbox/client.ts src/sandbox/types.ts src/sandbox/index.ts src/tests/sandbox.test.tsrtk pnpm exec oxlint src/sandbox/client.ts src/sandbox/types.ts src/sandbox/index.ts src/tests/sandbox.test.tsrtk pnpm run check:typesrtk pnpm run build55d870c0-1d0f-48fe-aa8b-c10f543a17f1: built Dockerfile, captured ready snapshotb1ef5128-b2af-4f63-9a56-275e02cc054b, deleted test snapshot.