-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Sync docs: Fix code context state isolation #26749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
Add documentation explaining that each code context is completely isolated with a dedicated executor process. Includes example showing concurrent execution across multiple contexts. Related to cloudflare/sandbox-sdk#249 which fixed state isolation bug.
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Adds documentation for improved code context isolation: - Each context now gets a dedicated executor process (1:1 binding) - Contexts prevent concurrent execution on the same context - Complete state isolation between contexts guaranteed Related to cloudflare/sandbox-sdk#249 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Documentation UpdatesUpdated Code Interpreter API documentation to reflect the isolation improvements from cloudflare/sandbox-sdk#249: Changes Made
Files Modified
These changes help users understand the improved reliability and isolation guarantees of the code interpreter feature. 🤖 Generated with Claude Code |
- Add isolation mention to introduction - Expand default context behavior note with specific benefits - Document automatic scaling without artificial limits Complements existing isolation documentation from PR #249.
Documents environment variables for code interpreter executor pool configuration and removal of MAX_SIZE limits in version 0.3.4. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Summary
Documents the code context isolation guarantees and configuration changes after bug fix in sandbox-sdk.
Changes
Related
Context
PR #249 in sandbox-sdk fixed a critical bug where code contexts leaked state after multiple executions. Each context now gets a dedicated executor process from creation to deletion, ensuring complete isolation. The system also removes maximum pool size limits, allowing organic scaling. This documentation update makes users aware of these reliability guarantees and configuration options.
🤖 Generated with Claude Code