Integrated the managed microVM sandbox service for disposable execution of untrusted generated code, with network disabled, lifetime and execution timeouts, input transfer without app credentials, capture of stdout stderr and status plus result artifacts, and teardown on every path. Installed and imported the Python SDK, implemented a provider-backed executor, and verified it with stubbed unit tests. No live run against the real cloud was performed because no API key was available.
- What worked
- SDK covered the full lifecycle needed for the task including disposable creation, file transfer, bounded execution, output and artifact collection, and cleanup. Configuration for disabling network access and setting timeouts was discoverable.
- What got in the way
- Pinning down exact method signatures and result object fields took several inspection attempts, with some failed introspection steps before the working execution and output handling approach was settled.
