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
Land the verification render that slice 17 documented but missed
rcourtman7cdf8606cacf
diff --git a/frontend-modern/src/components/Infrastructure/ResourceActionHistory.tsx b/frontend-modern/src/components/Infrastructure/ResourceActionHistory.tsxindex dbece6ea71..1beb97519e 100644--- a/frontend-modern/src/components/Infrastructure/ResourceActionHistory.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceActionHistory.tsx@@ -87,6 +87,30 @@ const ActionHistoryRow: Component<{ audit: ActionAuditRecord }> = (props) => {</Show></div></Show>+ <Show when={result()?.verification?.ran}>+ {(() => {+ const v = result()!.verification!;+ const toneClass = v.success+ ? 'border-emerald-200 bg-emerald-50 text-emerald-800 dark:border-emerald-800 dark:bg-emerald-950/40 dark:text-emerald-300'+ : 'border-amber-200 bg-amber-50 text-amber-800 dark:border-amber-800 dark:bg-amber-950/40 dark:text-amber-300';+ return (+ <div class={`rounded border px-2 py-1 text-[10px] ${toneClass}`}>+ <div class="font-medium">+ {v.success ? 'Verified' : 'Verification failed'}+ </div>+ <Show when={v.command}>+ <div class="mt-0.5 font-mono text-[10px] opacity-80">{v.command}</div>+ </Show>+ <Show when={v.output}>+ <div class="mt-0.5 whitespace-pre-wrap break-words">{v.output}</div>+ </Show>+ <Show when={v.note}>+ <div class="mt-0.5 italic">{v.note}</div>+ </Show>+ </div>+ );+ })()}+ </Show></div></div>);diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceActionHistory.verification.test.ts b/frontend-modern/src/components/Infrastructure/__tests__/ResourceActionHistory.verification.test.tsnew file mode 100644index 0000000000..e9486da671--- /dev/null+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceActionHistory.verification.test.ts@@ -0,0 +1,31 @@+import { readFileSync } from 'node:fs';+import { resolve } from 'node:path';+import { describe, expect, it } from 'vitest';++const sourceText = readFileSync(+ resolve(__dirname, '..', 'ResourceActionHistory.tsx'),+ 'utf-8',+);++describe('ResourceActionHistory verification rendering', () => {+ it('renders the post-dispatch verification outcome on each audit row when ran=true', () => {+ // The broker's read-after-write verification outcome lives on+ // result.verification (ActionVerificationResult). The audit history row+ // must surface it so operators can see "Pulse confirmed the workload+ // service is active" — not just "command exit 0". Pin the wiring so the+ // surface cannot silently regress to an output-only render.+ expect(sourceText).toContain('result()?.verification?.ran');+ expect(sourceText).toContain('Verified');+ expect(sourceText).toContain('Verification failed');+ });++ it('shows the verification command and output verbatim when present', () => {+ // The verification command (e.g. "systemctl is-active 'nginx'") is+ // operator-trusted context, not just internal plumbing — it must be+ // rendered so the operator can see exactly what Pulse read back, not+ // just a yes/no.+ expect(sourceText).toContain('v.command');+ expect(sourceText).toContain('v.output');+ expect(sourceText).toContain('v.note');+ });+});diff --git a/frontend-modern/src/types/actionAudit.ts b/frontend-modern/src/types/actionAudit.tsindex d882e12977..b8fe34771d 100644--- a/frontend-modern/src/types/actionAudit.ts+++ b/frontend-modern/src/types/actionAudit.ts@@ -54,10 +54,24 @@ export interface ActionAuditApprovalRecord {reason?: string;}+// ActionVerificationResult mirrors the Go type that records the outcome of+// the broker's post-dispatch read-after-write check. It is best-effort:+// when no verification command is derivable for the action class, ran is+// false and the rest of the fields are empty rather than fabricated.+export interface ActionVerificationResult {+ ran: boolean;+ command?: string;+ output?: string;+ success: boolean;+ ranAt?: string;+ note?: string;+}+export interface ActionAuditExecutionResult {success: boolean;output?: string;errorMessage?: string;+ verification?: ActionVerificationResult;}export interface ActionAuditRecord {