You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a containment option to spawnSandbox/spawnSandboxAsync so callers can name a backend (e.g. 'lxc') instead of always getting the host default — Bubblewrap on Linux.
Moves mxc_spawn_request onto koffi .async so a slow native spawn can't block Node's event loop.
This can merge independently. It targets main, not PR 4, and shares no source with PRs 1–4. The only file it has in common with PR 4 is sdk/node/tests/integration/native-streaming.test.ts, which 3-way merges cleanly in either direction (PR 4 already awaits its new call site).
This test does not verify that each completion adopts its own handle: FakeNative.id() always returns 23 and free() only increments a counter, so both promises could accidentally adopt the first handle and every assertion would still pass. Make the fake return a handle-specific ID so this test actually catches shared/out-of-order out-parameter bugs.
Document microvm exception in spawnSandboxAsync containment contract
sdk/node/src/sandbox.ts:655
This IntelliSense contract overstates parity: spawnSandboxAsync still rejects microvm, while spawnSandbox can launch the generated MicroVM config through the executor (the README now documents this exception at lines 307–313). Please include that exception here so callers do not infer that every typed containment value behaves identically on both APIs.
Soham Das (SohamDas2021)
changed the title
[LXC] (5/5) Let the Node SDK select a containment backend in-process
[LXC] (5/5) Enable Node SDK select a containment backend in-process
Sep 30, 2026
This branch has not been deployed
No deployments
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
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.
Adds a containment option to spawnSandbox/spawnSandboxAsync so callers can name a backend (e.g. 'lxc') instead of always getting the host default — Bubblewrap on Linux.
Moves mxc_spawn_request onto koffi .async so a slow native spawn can't block Node's event loop.
This can merge independently. It targets
main, not PR 4, and shares no source with PRs 1–4. The only file it has in common with PR 4 issdk/node/tests/integration/native-streaming.test.ts, which 3-way merges cleanly in either direction (PR 4 alreadyawaits its new call site).Microsoft Reviewers: Open in CodeFlow