Skip to content

fix: show Killed/Paused instead of Stopped in sandbox detail header#341

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1779558189-sandbox-killed-status
Open

fix: show Killed/Paused instead of Stopped in sandbox detail header#341
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1779558189-sandbox-killed-status

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

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:

  • Running — green badge with pulsing dot (unchanged)
  • Paused — yellow/warning badge (already worked correctly via early return)
  • Killed — red/error KILLED badge (was incorrectly showing STOPPED)

Also updates:

  • Header time label: "stopped at" → "killed at" for killed sandboxes
  • Filesystem StoppedBanner: "Sandbox Stopped" → "Sandbox Killed" or "Sandbox Paused" based on actual state

Review & Testing Checklist for Human

  • Navigate to a killed sandbox detail page — verify the STATUS badge shows "KILLED" in red (not "STOPPED")
  • Navigate to a paused sandbox — verify STATUS shows "PAUSED" in yellow and the time label says "paused at"
  • Navigate to a running sandbox — verify STATUS shows "RUNNING" in green (regression check)
  • On a killed sandbox, check the filesystem tab — verify the banner says "Sandbox Killed" instead of "Sandbox Stopped"

Notes

  • The status.tsx component already had a paused check but was missing a killed check — the killed state fell through to the generic !isRunning branch which rendered "Stopped".
  • No API or type changes needed — the state field ('running' | 'paused' | 'killed') was already available via sandboxInfo.state from the context.

Link to Devin session: https://app.devin.ai/sessions/d3e24b0cac0d479883100d6af16be531

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]>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment May 23, 2026 5:47pm
web-juliett Ready Ready Preview, Comment May 23, 2026 5:47pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants