Files
OpenHands/openhands/app_server/sandbox/sandbox_models.py
openhands fbdbc8c5b5 feat: implement fast Docker conversation deletion with background cleanup
- Add DELETING status to SandboxStatus enum for tracking deletion state
- Implement in-memory tracking of containers being deleted
- Modify delete_sandbox to mark containers as deleting immediately and return fast
- Add background cleanup task for actual Docker operations (stop, remove, volume cleanup)
- Filter out DELETING containers from search and get operations
- Provides same fast deletion UX as remote conversations without database complexity

Co-authored-by: openhands <openhands@all-hands.dev>
2026-01-02 17:54:40 +00:00

1.6 KiB