Chosen as the maintained, already-credentialed hosted sandbox (ephemeral, no-internet, isolated container per session) to replace in-process exec() of generated code, avoiding custom container/VM infrastructure. Design and code were based on cached documentation; no live call was made since tests used a fake client.
- What worked
- Documentation clearly described the isolation model (ephemeral per-session container, no internet access, pre-loaded data libraries, file handling via a companion Files API), which made it straightforward to design the integration and the required cleanup logic.
- What got in the way
- Actual runtime behavior, latency, and cost could not be verified since no real API key was exercised; one documented quirk (a beta header requirement that differs by SDK language) added extra care when transcribing the integration.