From fc9b446d2e531f6d3c6f26c2545f538bebebd3c2 Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Wed, 24 Jun 2026 17:30:50 +0300 Subject: [PATCH] webui: per-source status bar in FRU/Elabel card + fix stale runtime-health test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show an explicit per-source status line after "Read All" instead of hiding failed/blocked sources in a "(skipped: …)" tail. Sources blocked by a missing Supermicro license (SFT-OOB-LIC / SFT-DCMS-SINGLE) are flagged in red with an actionable message, so engineers see that SAA DMI is gated rather than silently falling back to the futile ipmitool FRU path (BIOS re-syncs FRU from DMI on boot). Also fix TestDashboardRendersRuntimeHealthTable, stale since 4f6579e moved "inactive" to the OK service states: the fixture now uses a failed service and the assertion matches the current contract (failed flagged, inactive not). Co-Authored-By: Claude Opus 4.8 --- audit/internal/webui/page_export_tools.go | 45 +++++++++++++++++++---- audit/internal/webui/server_test.go | 5 ++- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/audit/internal/webui/page_export_tools.go b/audit/internal/webui/page_export_tools.go index fd91f7d..be6964e 100644 --- a/audit/internal/webui/page_export_tools.go +++ b/audit/internal/webui/page_export_tools.go @@ -413,6 +413,7 @@ func renderFRUEditorCard() string { return `
FRU / Elabel

Reads and edits hardware identity fields from all available sources. Each field shows its source method.

+