Skip to content

feat: implement asynchronous sandbox deletion with state machine#40

Merged
fslongjin merged 1 commit into
masterfrom
feat-async-sandbox-deletion-with-pvc-management
Mar 17, 2026
Merged

feat: implement asynchronous sandbox deletion with state machine#40
fslongjin merged 1 commit into
masterfrom
feat-async-sandbox-deletion-with-pvc-management

Conversation

@fslongjin

Copy link
Copy Markdown
Owner
  • Add SandboxDeletionService for background deletion processing with retry and force cleanup
  • Extend sandbox model with deletion tracking fields (phase, attempts, force level, timestamps)
  • Update DELETE API to return 202 Accepted and include deletion status in response
  • Add include_terminating query parameter to list sandboxes under deletion
  • Extend PVC mapping state to include 'deleting' for sandboxes in terminating state
  • Update web UI to display deletion status and handle 202 responses
  • Modify reconcile service to defer to deletion service for pending deletions
  • Add comprehensive tests for deletion state transitions and persistence scenarios
- Add SandboxDeletionService for background deletion processing with retry and
force cleanup
- Extend sandbox model with deletion tracking fields (phase, attempts, force
level, timestamps)
- Update DELETE API to return 202 Accepted and include deletion status in
response
- Add include_terminating query parameter to list sandboxes under deletion
- Extend PVC mapping state to include 'deleting' for sandboxes in terminating
state
- Update web UI to display deletion status and handle 202 responses
- Modify reconcile service to defer to deletion service for pending deletions
- Add comprehensive tests for deletion state transitions and persistence
scenarios

Signed-off-by: longjin <longjin@DragonOS.org>
@fslongjin fslongjin merged commit d04065a into master Mar 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant