Skip to content

Update from code changes: exec timeout and SandboxTimeoutError#417

Merged
jackowfish merged 1 commit into
mainfrom
mintlify/c1b9e667
Jul 21, 2026
Merged

Update from code changes: exec timeout and SandboxTimeoutError#417
jackowfish merged 1 commit into
mainfrom
mintlify/c1b9e667

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new per-request exec timeout and the SandboxTimeoutError class added to the Python and TypeScript Sandbox SDKs. exec now waits without a client-side timeout by default and is never retried, so callers who want a bound must opt in and handle the new error. Other endpoints keep the existing 30-second client timeout. Triggering change: https://github.com/porter-dev/code/pull/7013.

Changes

  • sandbox/sdk/python/reference.mdx: added timeout argument to exec and an "exec timeouts" subsection with example.
  • sandbox/sdk/typescript/reference.mdx: added requestOptions.timeoutMs to exec and an "exec timeouts" subsection with example.
  • sandbox/sdk/python/errors.mdx and sandbox/sdk/typescript/errors.mdx: added SandboxTimeoutError to the imports snippet and error table.

@mintlify

mintlify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview Jul 15, 2026, 6:55 PM

@jackowfish
jackowfish merged commit 47eac32 into main Jul 21, 2026
2 checks passed
@jackowfish
jackowfish deleted the mintlify/c1b9e667 branch July 21, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant