2 writes to HealthReports
Aspire.Cli.Tests (2)
Backchannel\TrayResourceHealthTests.cs (1)
58
HealthReports
=
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)
39
var pendingCheck = resource.
HealthReports
.Any(report => report.Status is null);
44
|| resource.
HealthReports
.Any(report => IsHealth(report.Status, "Unhealthy"))
56
|| resource.
HealthReports
.Any(report => IsHealth(report.Status, "Degraded")))
64
&& resource.HealthStatus is null && resource.
HealthReports
.Length == 0))
77
&& resource.
HealthReports
.All(report => IsHealth(report.Status, "Healthy"))