8 writes to HealthReports
Aspire.Dashboard (1)
ServiceClient\Partials.cs (1)
44HealthReports = HealthReports.Select(ToHealthReportViewModel).OrderBy(vm => vm.Name).ToImmutableArray(),
Aspire.Dashboard.Components.Tests (4)
Controls\ResourceDetailsTests.cs (1)
1004HealthReports = [],
Layout\ResourcesLayoutTests.cs (1)
552HealthReports = []
Pages\ResourcesTests.cs (1)
1071HealthReports = healthReports ?? [],
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
53HealthReports = healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
Aspire.Dashboard.Playwright.Tests (2)
Integration\Playwright\ResourcePaneResponsiveTests.cs (1)
2842HealthReports = health is { } status ? [new("Synthetic fixture check", status, null, null)] : []
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
53HealthReports = healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
Aspire.Dashboard.Tests (1)
tests\Shared\DashboardModel\ModelTestHelpers.cs (1)
53HealthReports = healthReports ?? (reportHealthStatus is null && !createNullHealthReport ? [] : [new HealthReportViewModel("healthcheck", reportHealthStatus, null, null)]),
6 references to HealthReports
Aspire.Dashboard (5)
Components\Controls\ResourceDetails.razor.cs (2)
104Resource.HealthReports 176_isHealthChecksExpanded = _resource.HealthReports.Any() || _resource.HealthStatus is null; // null means we're waiting for health reports
Components\Pages\ResourceOverview.Details.cs (1)
200resource.HealthReports.OrderBy(r => r.Name, StringComparer.OrdinalIgnoreCase).ToList();
Model\TelemetryExportService.cs (2)
755HealthReports = resource.HealthReports.Length > 0 756? resource.HealthReports.OrderBy(h => h.Name).ToDistinctDictionary(
Aspire.Dashboard.Tests (1)
Model\SqliteResourceRepositoryTests.cs (1)
504Assert.Equal("ready", Assert.Single(actual.HealthReports).Name);