Commit 1512d4c
Update Code Interpreter docs for improved context isolation
Documents the fix for code context isolation bug where contexts leaked
state after 10 executions. Each context now has dedicated executor
resources throughout its lifetime, ensuring complete isolation.
Changes:
- Add context isolation note explaining dedicated resources
- Emphasize isolation guarantees in createCodeContext()
- Add cleanup best practice for deleteCodeContext()
- Remove implied pool size limitations
Related to cloudflare/sandbox-sdk#249
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 0f1dfd7 commit 1512d4c
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | | - | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
124 | | - | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
| |||
0 commit comments