microsoft / microsoft/aspire

[AspireE2E] Running Aspire Starter App with Redis project while docker is not installed or is disabled. The state of the cache in the health checks does not match the state displayed in the resources.

Open
#12,006 0 comments 0 reactions 0 assignees View on GitHub
area-templates
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO**

1. This issue reproduces in Aspire 9.5.1

**INSTALL STEPS**
1. Clean machine: Win11 x64 24h2 ENU
2. Install VS 18.0.0 Insiders 2
3. Add feed for Aspire 13.0
4. dotnet new install Aspire.ProjectTemplates::13.0.0-preview.1.25513.10 --force

**REPRO STEPS**
1. Open VS > Create a new project > Aspire Starter App [.NET 10.0, Aspire version 13.0] > Check 'Use Redis for caching' > Build and F5
2. Click cache to show the details
3. Under Health checks, check the state of cache

**ACTUAL**
The state of the cache in the health checks shows 'Waiting' while the state displayed in the resources is 'Runtime unhealthy'
Image

**EXPECTED**
The state of the cache in the health checks should match the state displayed in the resources.
Image

Contributor guide

Open the contributing guide

Research direction

Reproduce the Aspire Starter App with “Use Redis for caching” while Docker is unavailable, then inspect the cache resource details and its Health checks state. Compare the resource status shown as “Runtime unhealthy” with the health check status shown as “Waiting”; done means both views report the same state.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker, redis
Domain
backend, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.