3 writes to HealthReports
Aspire.Cli.Tests (3)
Backchannel\TrayResourceHealthTests.cs (2)
58HealthReports = 96HealthReports = [new() { Name = "ready", Status = null }]
Mcp\ListResourcesToolTests.cs (1)
937HealthReports =
6 references to HealthReports
aspire (6)
Backchannel\ResourceSnapshotMapper.cs (1)
71var healthReports = snapshot.HealthReports.OrderBy(h => h.Name).ToDistinctDictionary(
Backchannel\TrayResourceHealth.cs (5)
52var pendingCheck = resource.HealthReports.Any(report => report.Status is null); 57|| resource.HealthReports.Any(report => IsHealth(report.Status, "Unhealthy")) 69|| resource.HealthReports.Any(report => IsHealth(report.Status, "Degraded"))) 77&& resource.HealthStatus is null && resource.HealthReports.Length == 0)) 90&& resource.HealthReports.All(report => IsHealth(report.Status, "Healthy"))