fix: show Killed/Paused instead of Stopped in sandbox detail header#341
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
fix: show Killed/Paused instead of Stopped in sandbox detail header#341devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
The STATUS badge showed 'STOPPED' for both killed and paused sandboxes. Now shows the specific state: - Running: green badge (unchanged) - Paused: yellow/warning badge (already worked) - Killed: red/error 'KILLED' badge (was showing 'STOPPED') Also updates: - Header label from 'stopped at' to 'killed at' for killed sandboxes - Filesystem banner from 'Sandbox Stopped' to 'Sandbox Killed'/'Sandbox Paused' Co-Authored-By: [email protected] <[email protected]>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The STATUS badge on the sandbox detail page showed STOPPED for both killed and paused sandboxes, even though the Events tab correctly showed the specific lifecycle event (KILLED, PAUSED, etc).
Now shows the specific state:
Also updates:
StoppedBanner: "Sandbox Stopped" → "Sandbox Killed" or "Sandbox Paused" based on actual stateReview & Testing Checklist for Human
Notes
status.tsxcomponent already had apausedcheck but was missing akilledcheck — the killed state fell through to the generic!isRunningbranch which rendered "Stopped".statefield ('running' | 'paused' | 'killed') was already available viasandboxInfo.statefrom the context.Link to Devin session: https://app.devin.ai/sessions/d3e24b0cac0d479883100d6af16be531