Skip to content

VS Code Extension shows Runtime Unhealthy as error #18909

Description

@afscrome

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

On the aspire dashboard, Runtime unhealthy, shows up as a warning. But in the VS Code extension, it shows up as an error
Image

Expected Behavior

I'd expect the rendering between the dashboard and vs code extension to match up. (i.e. render as a warning)

Also as I think about it more, I do wonder if Runtime Unhealthy should be displayed more like Waiting - as essentially the resource is waiting on your container runtime to start.

Steps To Reproduce

  1. Ensure docker (or any other container runtime is not running)
  2. Start an app host in VS Code. (I used playground/redis/Redis.AppHost/)

Exceptions (if any)

No response

Aspire doctor output

No response

Anything else?

Aspire
  ✅ Aspire CLI version 13.4.6 (channel: stable)  

AppHost
  ✅ AppHost version 13.5.0 (Redis.AppHost\Redis.AppHost.csproj)  

.NET SDK
  ✅ .NET 10.0.302 installed (x64)  

Container Runtime
  ⚠️ Docker: installed but not running ← active  
       Start Docker Desktop       

Environment
  ✅ HTTPS development certificate is trusted  

Summary: 4 passed, 1 warnings, 0 failed
For detailed prerequisites: https://aka.ms/aspire-prerequisites

Aspire CLI Installations
========================

╭────────────────────────────────────┬────────────────────────────────────┬─────────┬───────────┬─────────────╮
│ Path                               │ Version                            │ Channel │ Route     │ PATH status │
├────────────────────────────────────┼────────────────────────────────────┼─────────┼───────────┼─────────────┤
│ C:\Users\alexanderc\.aspire\bin\as │ 13.4.6+87fe259e4fc244c599019a7b130 │ stable  │ (unknown) │ active      │
│ pire.exe (current)                 │ 4c85a1488f248                      │         │           │             │
╰────────────────────────────────────┴────────────────────────────────────┴─────────┴───────────┴─────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions