Skip to content

Document timeout behavior after sandbox auto-resume#174

Draft
mlejva wants to merge 1 commit intomainfrom
cursor/autoresume-timeout-docs-83cb
Draft

Document timeout behavior after sandbox auto-resume#174
mlejva wants to merge 1 commit intomainfrom
cursor/autoresume-timeout-docs-83cb

Conversation

@mlejva
Copy link
Member

@mlejva mlejva commented Mar 21, 2026

Summary

Adds documentation about what happens with the sandbox timeout after it auto-resumes, which was previously undocumented.

Changes

docs/sandbox/auto-resume.mdx

  • Added a new "Timeout after auto-resume" section explaining that when a sandbox auto-resumes, it starts a fresh timeout equal to the original timeout set at creation time
  • Includes a numbered step-by-step example showing the pause → resume → timeout cycle
  • Notes that the lifecycle configuration is persistent across pause/resume cycles
  • References setTimeout/set_timeout for overriding the timeout after resume
  • Updated the Cleanup section to reinforce that the timeout resets each time the sandbox resumes

docs/sandbox/persistence.mdx

  • Updated the Sandbox's timeout section to mention that auto-resume also resets the timeout (not just manual connect)

Slack Thread

Open in Web Open in Cursor 

- Add new 'Timeout after auto-resume' section to auto-resume.mdx explaining
  that the original timeout resets from the moment the sandbox resumes
- Include a step-by-step example of the pause/resume/timeout cycle
- Note that setTimeout/set_timeout can override the timeout after resume
- Update cleanup section to reinforce the timeout reset behavior
- Update persistence.mdx timeout section to mention auto-resume resets

Co-authored-by: Vasek Mlejnsky <vasek.mlejnsky@gmail.com>
@mintlify
Copy link
Contributor

mintlify bot commented Mar 21, 2026

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

Project Status Preview Updated (UTC)
e2b 🟢 Ready View Preview Mar 21, 2026, 9:10 PM

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.

2 participants