Repository navigation
Commit c99a72a
fix(sandbox): check for other sessions before deleting agent scope workspace
When pruning sandbox containers with agent scope, verify no other active
sessions are using the same workspace directory before deleting it.
This prevents data loss when multiple sessions share an agent workspace.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>1 parent 798d0af commit c99a72a
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
69 | 82 | | |
70 | 83 | | |
71 | 84 | | |
| |||
0 commit comments