Improve validate GPU runs and web UI feedback

This commit is contained in:
2026-04-05 17:50:13 +03:00
parent 33e0a5bef2
commit cc2b49ea41
4 changed files with 274 additions and 65 deletions

View File

@@ -259,7 +259,7 @@ func TestRenderMetricsUsesBufferedChartRefresh(t *testing.T) {
if !strings.Contains(body, `/api/metrics/chart/gpu-all-memclock.svg`) {
t.Fatalf("metrics page should include GPU memory clock chart: %s", body)
}
if !strings.Contains(body, `renderGPUOverviewCards(indices)`) {
if !strings.Contains(body, `renderGPUOverviewCards(indices, names)`) {
t.Fatalf("metrics page should build per-GPU chart cards dynamically: %s", body)
}
}