Skip to content

Conversation

@agents-git-bot
Copy link
Contributor

@agents-git-bot agents-git-bot bot commented Jan 1, 2026

Summary

Documents the bug fix from cloudflare/sandbox-sdk#323 where the sleepAfter option passed to getSandbox() was being ignored.

Changes

  • Added a note to the sleepAfter section in sandbox-options.mdx explaining that this option now works correctly as documented in v0.2.17
  • Prior to v0.2.17, the option was ignored due to a timing issue where the Container constructor called renewActivityTimeout() with the default before the RPC call to setSleepAfter() could run

Related PR

Type of documentation update

Bug fix clarification - informing users that a previously documented feature now works correctly.

Add note to sandbox-options.mdx explaining that the sleepAfter option
passed to getSandbox() now works correctly as documented. Prior to
v0.2.17, this option was ignored due to a timing issue where the
Container constructor called renewActivityTimeout() with the default
before the RPC call to setSleepAfter() could run.

Related: cloudflare/sandbox-sdk#323
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/sandbox/ @whoiskatrin, @ghostwriternr, @cloudflare/pcx-technical-writing, @cloudflare/ai-agents

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants