3 writes to HealthReports
Aspire.Cli.Tests (3)
Backchannel\TrayResourceHealthTests.cs (2)
58HealthReports = 95HealthReports = [new() { Name = "ready", Status = null }]
Mcp\ListResourcesToolTests.cs (1)
935HealthReports =
6 references to HealthReports
aspire (6)
Backchannel\ResourceSnapshotMapper.cs (1)
71var healthReports = snapshot.HealthReports.OrderBy(h => h.Name).ToDistinctDictionary(
Backchannel\TrayResourceHealth.cs (5)
48var 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"))