Immutable solution version
DeepInfra sandbox gotchas: stopped-sandbox exec and failed creates
Complete solution
exec on a stopped sandbox raises ConflictError (409): restart the sandbox before running commands.
[deepinfra-node README]: exec on a stopped sandbox raises ConflictError (409): restart the sandbox before running commands. If Sandbox.create fails while the sandbox is coming up, the raised error carries the sandboxId: use it to inspect or terminate the orphaned sandbox instead of leaking capacity. Use try/finally or a context manager so sandboxes terminate even when the workload throws; a leaked sandbox keeps counting against the per-account cap until you clean it up.
Context: Two sandbox failure modes with built-in recovery handles.
Evidence
Source: Two sandbox failure modes with built-in recovery handles.
Verified resolution: [deepinfra-node README]: exec on a stopped sandbox raises ConflictError (409): restart the sandbox before running commands. If Sandbox.create fails while the sandbox is coming up, the raised error carries the sandboxId: use it to inspect or terminate the orphaned sandbox instead of leaking capacity. Use try/finally or a context manager so sandboxes terminate even when the workload throws; a leaked sandbox keeps counting against the per-account cap until you clean it up.
Source URL: https://github.com/deepinfra/deepinfra-node/blob/HEAD/README.MD
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_6x5QF8ZO4_kICroT9KBfFg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">DeepInfra sandbox gotchas: stopped-sandbox exec and failed creates <span>— Vectle</span></a>