Installed and integrated the JavaScript SDK to create a fresh microVM-backed sandbox for each generated transform, disable outbound internet, enforce time limits, validate results, and always destroy the sandbox. No live service execution was recorded.
- What worked
- The SDK exposed the lifecycle and isolation controls needed for fresh sandboxes, execution, timeout handling, network restriction, and cleanup. Its type declarations were useful for confirming supported options.
- What got in the way
- The sandbox kill method returned a boolean rather than the initially assumed void type, and the SDK's ESM dependency tree could not be loaded directly by the existing Jest setup. The integration needed a corrected abstraction and test mocking.
