Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Stop claiming all-clear on legacy Patrol runs
rcourtman5a14ca5ed6de
diff --git a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md b/docs/release-control/v6/internal/subsystems/patrol-intelligence.mdindex d9ebc79da2..911d1fff7f 100644--- a/docs/release-control/v6/internal/subsystems/patrol-intelligence.md+++ b/docs/release-control/v6/internal/subsystems/patrol-intelligence.md@@ -277,6 +277,10 @@ That same unknown-snapshot state should be visible in the selected-run shelltoo. When the operator is filtered to a legacy run without findings snapshotids, the selected-run banner should explicitly say that findings snapshot datais unavailable instead of implying a fully verifiable run-scoped findings view.+That same trust rule applies inside expanded run-history narratives. A legacy+run without findings snapshot ids must not render an `All clear` conclusion+just because its aggregate counters are zero; the narrative should explicitly+state that run-specific findings could not be fully verified.That same findings surface should keep its section chrome functional ratherthan promotional. Inside the Patrol findings tab, the selected tab alreadynames the surface, so the findings card should not add another in-card productdiff --git a/frontend-modern/src/components/patrol/RunHistoryEntry.tsx b/frontend-modern/src/components/patrol/RunHistoryEntry.tsxindex 819bac6246..613a04c23b 100644--- a/frontend-modern/src/components/patrol/RunHistoryEntry.tsx+++ b/frontend-modern/src/components/patrol/RunHistoryEntry.tsx@@ -152,6 +152,7 @@ export function RunHistoryEntry(props: RunHistoryEntryProps) {const canonicalScopeResourceIds = getCanonicalScopeResourceIds(run);const runIsHealthy = isPatrolRunHealthy(run.status, run.error_count);const coverageSummary = getPatrolRunCoverageSummary(run);+ const hasFindingsSnapshot = run.finding_ids !== undefined;return (<div@@ -249,6 +250,11 @@ export function RunHistoryEntry(props: RunHistoryEntryProps) {No new issues, but <strong>{run.existing_findings}</strong> existing issue{run.existing_findings !== 1 ? 's' : ''} remain.</>+ ) : !hasFindingsSnapshot ? (+ <span class="text-blue-600 dark:text-blue-400">+ This run predates findings snapshots, so run-specific findings cannot be fully+ verified.+ </span>) : runIsHealthy ? (<span class="text-green-600 dark:text-green-400">All clear — no new issues.</span>) : (diff --git a/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsx b/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsxindex 4c3161fe72..dd25d87ee5 100644--- a/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsx+++ b/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsx@@ -145,6 +145,12 @@ describe('RunHistoryEntry', () => {finding_ids: undefined,},});+ expect(+ screen.getByText(+ 'This run predates findings snapshots, so run-specific findings cannot be fully verified.',+ ),+ ).toBeInTheDocument();+ expect(screen.queryByText('All clear — no new issues.')).not.toBeInTheDocument();});it('uses a shared coverage summary when a scoped run checked fewer resources than its scope', () => {