4 writes to Status
Aspire.Cli.Tests (4)
Backchannel\TrayResourceHealthTests.cs (3)
60new() { Name = "pending", Status = null }, 61new() { Name = "other", Status = otherStatus } 95HealthReports = [new() { Name = "ready", Status = null }]
Mcp\ListResourcesToolTests.cs (1)
940Status = "Healthy",
5 references to Status
aspire (5)
Backchannel\ResourceSnapshotMapper.cs (1)
75Status = h.Status,
Backchannel\TrayResourceHealth.cs (4)
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"))) 86&& resource.HealthReports.All(report => IsHealth(report.Status, "Healthy"))