- 
                Notifications
    You must be signed in to change notification settings 
- Fork 36
Feat: enhance sandbox management with kill button #175
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
Conversation
- Added kill button component to sandbox header for direct sandbox termination - Added teamId prop to SandboxDetailsHeader for improved team context handling - Modified polling behavior to stop when sandbox is not running - Updated sandbox context to use lastFallbackData instead of serverSandboxInfo for more reliable state management - Improved header layout with flexbox ordering for better mobile responsiveness The changes focus
| The latest updates on your projects. Learn more about Vercel for GitHub. 
 | 
| 
 | 
| 
 1./2. addressed by using popover and dropdown menu sub trigger. | 
| bugbot run | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Bugbot reviewed your changes and found no bugs!
| 
 we discovered weird race-conditions when removing sandboxes through the sandbox list. overall the sandboxes page/dashboard needs to be a bit stabler which is addressed by #168. as for next steps here: i would deploy sandbox killing from details for now to not be blocked by this and work through the other tasks at hand for now and implement killing from the list as soon as the sandboxes page / performance i much more predictable through the open pr. | 
Note
Adds sandbox kill actions (details header + list table), introduces confirmation popover, and refines sandbox info/metrics polling tied to running state.
KillButtonwith confirmation viaAlertPopover; disabled when not running.RefreshControlnow shows 0s polling when sandbox not running.actionscolumn with dropdown to kill a running sandbox; shows loader and confirmation sub-menu.passHref.SandboxContextnow tracksisRunningStateandlastFallbackData.serverSandboxInfotolastFallbackData.killSandboxActionto DELETE/sandboxes/{sandboxID}with auth; maps errors (404 → "Sandbox not found").AlertPopoverprimitive for confirm/cancel flows.Written by Cursor Bugbot for commit d8a1473. This will update automatically on new commits. Configure here.