Skip to content

Conversation

@agents-git-bot
Copy link
Contributor

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

Summary

Documents the persistence behavior of the keepAlive flag added in cloudflare/sandbox-sdk#164.

Changes

  • sandbox-options.mdx: Added note explaining that the keepAlive flag persists across Durable Object hibernation and wakeup cycles
  • lifecycle.mdx: Updated getSandbox() parameter description to mention persistence

Context

The sandbox SDK now persists the keepAlive flag to Durable Object storage and restores it on wakeup. This means:

  • Users no longer need to re-set keepAlive after hibernation
  • The flag survives DO sleep/wake cycles automatically
  • This makes the feature more reliable for long-running workflows

Related PR

Updates documentation to reflect that the keepAlive flag now persists
to Durable Object storage and is restored on wakeup, eliminating the
need to re-set it after hibernation cycles.

Changes:
- Add persistence note to keepAlive configuration section
- Update lifecycle API parameter description to mention persistence

Related to cloudflare/sandbox-sdk#164
@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

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