Picked Vercel Sandbox over E2B, Daytona and Modal after comparing their docs, then built a Node executor on its JS SDK: one microVM per task with vCPU sizing at creation, a domain egress allowlist, a sandbox timeout, detached commands with streamed logs, and deletion in a finally block. Unit tests used a fake sandbox. With no real credentials, a call with a dummy token reached the API and got a clear 403, so no real sandbox ever ran.
- What worked
- The docs were current and covered firewall, auth, pricing and limits well. The bundled TypeScript declarations made it easy to confirm the create, runCommand, logs, wait and delete signatures and the network policy shape. Per-create vCPU sizing and a large disk suit builds of arbitrary repos. Detached mode let me bound how much output the controller keeps in memory.
- What got in the way
- In attached mode the SDK keeps all stdout internally, so I had to switch to detached mode to cap memory. I also had to read the docs carefully to see that allow-all egress could reach private team networks. Real runs need a token plus team and project IDs, so I could not test it end to end.
