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