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
Deepen recovery readiness details
rcourtman3f21acd0da1d
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex aae26ea935..fb93798e81 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -1388,9 +1388,20 @@ That same recovery drill-in surface now also keeps provider-specific metadatainside a provider-neutral detail shell through`frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx`, so PBSdatastore and verification enrichments remain available without presenting the-event drawer itself as if PBS were the native recovery model. Operator-facing-detail labels in that drawer should prefer neutral target wording such as-`Target Ref`, `Target Resource`, and `Target Health`.+details drawer as a PBS-only surface.+The point-details drawer also owns restore-safe operator guidance. It may+surface a next action path, verification provenance, and chain coverage for the+selected point, but it must stay read-side until the backend exposes a governed+restore execution contract; UI copy should guide verification, target+confirmation, and isolated test-restore planning without inventing local+restore buttons or implying an unsafe action has been approved. Chain context+must be derived from the current recovery result set so mixed PVE/PBS/TrueNAS+history can explain adjacent local snapshot, local copy, and remote copy+stages without requiring all stages to land in the same day group.+Provider-specific metadata must not recast the event drawer itself as if PBS+were the native recovery model. Operator-facing detail labels in that drawer+should prefer neutral target wording such as `Target Ref`, `Target Resource`,+and `Target Health`.Those transport hooks are direct governed runtime surfaces, not just pageimplementation detail: `frontend-modern/src/hooks/useRecoveryPoints.ts`,`frontend-modern/src/hooks/useRecoveryPointsFacets.ts`,@@ -1768,7 +1779,10 @@ monitoring-style scan path rather than a report-export path. Recovery eventsshould default to the concise columns operators need to triage quickly, whilesecondary fields such as verification, size, target, and details remainavailable through the shared column picker instead of crowding the baseline-grid.+desktop view. When the responsive event table collapses columns on mobile, the+primary item cell must retain enough method, platform, target, and verification+context to preserve restore-readiness meaning rather than hiding all secondary+evidence behind desktop-only columns in the desktop grid.That same event-row scan rule should mirror the protected-items table in theprimary identity cell. `RecoveryHistoryTable.tsx` should lead each event rowwith a compact outcome status cue plus the canonical item name, so operatorsdiff --git a/frontend-modern/src/components/Recovery/Recovery.tsx b/frontend-modern/src/components/Recovery/Recovery.tsxindex ca1fff09da..15bf3098dc 100644--- a/frontend-modern/src/components/Recovery/Recovery.tsx+++ b/frontend-modern/src/components/Recovery/Recovery.tsx@@ -713,6 +713,7 @@ const Recovery: Component = () => {platformOptions={platformOptions}queryFilter={queryFilter}recoveryPoints={recoveryPointsModel}+ relatedPoints={sortedPoints}resetAdvancedArtifactFilters={resetAdvancedArtifactFilters}resetAllArtifactFilters={resetAllArtifactFilters}resourcesById={resourcesById}diff --git a/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx b/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsxindex f62c8da14e..051320a53e 100644--- a/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx+++ b/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx@@ -14,7 +14,7 @@ import { PageControls } from '@/components/shared/PageControls';import { SearchInput } from '@/components/shared/SearchInput';import type { ColumnDef } from '@/hooks/useColumnVisibility';import { STORAGE_KEYS } from '@/utils/localStorage';-import type { RecoveryOutcome } from '@/types/recovery';+import type { RecoveryOutcome, RecoveryPoint } from '@/types/recovery';import type { Resource } from '@/types/resource';import {getRecoveryBreadcrumbLinkClass,@@ -88,6 +88,7 @@ interface RecoveryHistorySectionProps {platformOptions: Accessor<string[]>;queryFilter: Accessor<string>;recoveryPoints: RecoveryPointsModel;+ relatedPoints: Accessor<RecoveryPoint[]>;resetAdvancedArtifactFilters: () => void;resetAllArtifactFilters: () => void;resourcesById: Accessor<Map<string, Resource>>;@@ -474,8 +475,10 @@ export const RecoveryHistorySection: Component<RecoveryHistorySectionProps> = (pcurrentPage={props.currentPage}groupedByDay={props.groupedByDay}hasActiveArtifactFilters={props.hasActiveArtifactFilters}+ isMobile={props.isMobile}mobileVisibleArtifactColumns={props.mobileVisibleArtifactColumns}recoveryPoints={props.recoveryPoints}+ relatedPoints={props.relatedPoints}resetAllArtifactFilters={props.resetAllArtifactFilters}resourcesById={props.resourcesById}selectedPoint={selectedPoint}diff --git a/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx b/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsxindex 11d81a8153..20aa687772 100644--- a/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx+++ b/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx@@ -77,8 +77,10 @@ interface RecoveryHistoryTableProps {currentPage: Accessor<number>;groupedByDay: Accessor<RecoveryPointGroup[]>;hasActiveArtifactFilters: Accessor<boolean>;+ isMobile: boolean;mobileVisibleArtifactColumns: Accessor<ColumnDef[]>;recoveryPoints: RecoveryPointsModel;+ relatedPoints: Accessor<RecoveryPoint[]>;resetAllArtifactFilters: () => void;resourcesById: Accessor<Map<string, Resource>>;selectedPoint: Accessor<RecoveryPoint | null>;@@ -188,6 +190,12 @@ export const RecoveryHistoryTable: Component<RecoveryHistoryTableProps> = (props})();const repoLabel = getRecoveryPointRepositoryLabel(point);const detailsSummary = getRecoveryPointDetailsSummary(point);+ const verificationLabel =+ point.verified === true+ ? 'Verified'+ : point.verified === false+ ? 'Verification failed'+ : 'Verification unknown';const entityId = String(point.entityId || '').trim();const cluster = String(point.display?.clusterLabel || point.cluster || '',@@ -247,14 +255,26 @@ export const RecoveryHistoryTable: Component<RecoveryHistoryTableProps> = (propstitle={getRecoveryOutcomeLabel(outcome)}ariaLabel={getRecoveryOutcomeLabel(outcome)}/>- <div class="flex min-w-0 flex-1 items-baseline gap-1.5">- <span class="min-w-0 truncate text-[12px] font-medium">- {item}- </span>- <Show when={itemSecondary}>- <span class="shrink-0 text-[10px] font-mono tabular-nums text-muted">- {itemSecondary}+ <div class="min-w-0 flex-1">+ <div class="flex min-w-0 items-baseline gap-1.5">+ <span class="min-w-0 truncate text-[12px] font-medium">+ {item}</span>+ <Show when={itemSecondary}>+ <span class="shrink-0 text-[10px] font-mono tabular-nums text-muted">+ {itemSecondary}+ </span>+ </Show>+ </div>+ <Show when={props.isMobile}>+ <div class="mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-[10px] leading-4 text-muted">+ <span>{getRecoveryPointModeLabel(point.mode)}</span>+ <span>{getSourcePlatformLabel(platform)}</span>+ <Show when={repoLabel}>+ <span class="max-w-full truncate">{repoLabel}</span>+ </Show>+ <span>{verificationLabel}</span>+ </div></Show></div></div>@@ -435,7 +455,10 @@ export const RecoveryHistoryTable: Component<RecoveryHistoryTableProps> = (props</button></div><div class="px-4">- <RecoveryPointDetails point={point} relatedPoints={group.items} />+ <RecoveryPointDetails+ point={point}+ relatedPoints={props.relatedPoints()}+ /></div></TableCell></TableRow>diff --git a/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx b/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsxindex 9a98866be9..18a5460447 100644--- a/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx+++ b/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx@@ -89,6 +89,11 @@ describe('RecoveryPointDetails', () => {expect(screen.getByText('Platform Details')).toBeInTheDocument();expect(screen.queryByText('PBS Details')).not.toBeInTheDocument();expect(screen.getByText('Platform-specific recovery metadata, verification state, and target health.')).toBeInTheDocument();+ expect(screen.getByText('Restore action path')).toBeInTheDocument();+ expect(screen.getByText('Ready for restore planning')).toBeInTheDocument();+ expect(screen.getByText('Verification provenance')).toBeInTheDocument();+ expect(screen.getByText('PBS catalog verification')).toBeInTheDocument();+ expect(screen.getAllByText('High confidence').length).toBeGreaterThan(0);expect(screen.getByText('Target Health')).toBeInTheDocument();expect(screen.getByText('Verification')).toBeInTheDocument();expect(screen.getByText('Item Type')).toBeInTheDocument();@@ -117,6 +122,34 @@ describe('RecoveryPointDetails', () => {expect(within(platformCard as HTMLDivElement).getByText('PBS')).toBeInTheDocument();});+ it('surfaces next restore actions when a successful point has not been verified', () => {+ render(() => (+ <RecoveryPointDetails+ point={{+ id: 'point-unverified',+ platform: 'truenas',+ kind: 'snapshot',+ mode: 'snapshot',+ outcome: 'success',+ completedAt: '2026-03-10T10:00:00Z',+ display: {+ itemLabel: 'tank/apps',+ itemType: 'dataset',+ nodeHostLabel: 'tn-scale-01',+ },+ }}+ />+ ));++ expect(screen.getByText('Restore action path')).toBeInTheDocument();+ expect(screen.getByText('Verify before restore use')).toBeInTheDocument();+ expect(screen.getByText('Run artifact verification')).toBeInTheDocument();+ expect(screen.getByText('Confirm target and chain')).toBeInTheDocument();+ expect(screen.getByText('Verification provenance')).toBeInTheDocument();+ expect(screen.getAllByText('Needs verification').length).toBeGreaterThan(0);+ expect(screen.getByText('No verification timestamp recorded')).toBeInTheDocument();+ });+it('uses canonical platform labels without forcing provider detail panels for other platforms', () => {render(() => (<RecoveryPointDetails@@ -218,7 +251,11 @@ describe('RecoveryPointDetails', () => {));expect(screen.getByText('Failure detail')).toBeInTheDocument();- expect(screen.getByText(/Inspect the platform task log for the failing step/i)).toBeInTheDocument();+ expect(+ screen.getAllByText(/Inspect the platform task log for the failing step/i).length,+ ).toBeGreaterThan(0);+ expect(screen.getByText('Investigate source task')).toBeInTheDocument();+ expect(screen.getByText('Open source task evidence')).toBeInTheDocument();expect(screen.queryByText('VMID')).not.toBeInTheDocument();expect(screen.queryByText('0')).not.toBeInTheDocument();});diff --git a/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx b/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsxindex 1077f759e4..2902717f52 100644--- a/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx+++ b/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx@@ -82,6 +82,7 @@ const labelForRef = (ref: RecoveryExternalRef | null | undefined): string => {};type RecoveryChainStage = 'snapshot' | 'local' | 'remote';+type RestoreActionTone = 'success' | 'warning' | 'danger' | 'info';const CHAIN_STAGES: Array<{ id: RecoveryChainStage; label: string }> = [{ id: 'snapshot', label: 'Local snapshot' },@@ -89,6 +90,27 @@ const CHAIN_STAGES: Array<{ id: RecoveryChainStage; label: string }> = [{ id: 'remote', label: 'Remote copy' },];+interface ProtectionChainStageSummary {+ id: RecoveryChainStage;+ label: string;+ point: RecoveryPoint | null;+ outcome: ReturnType<typeof normalizeRecoveryOutcome> | null;+ outcomeLabel: string;+ detail: string;+}++interface RestoreActionStep {+ label: string;+ detail: string;+}++interface RestoreActionPath {+ label: string;+ detail: string;+ tone: RestoreActionTone;+ steps: RestoreActionStep[];+}+const normalizeDetailText = (value: unknown): string => {if (typeof value === 'string') return value.trim();if (typeof value === 'number' && Number.isFinite(value)) return String(value);@@ -146,6 +168,38 @@ const getArtifactSummaryLabel = (p: RecoveryPoint): string => {return kindLabel === modeLabel ? kindLabel : `${kindLabel} / ${modeLabel}`;};+const getVerificationTimestampMs = (p: RecoveryPoint): number => {+ const timestampKeys = [+ 'verifiedAt',+ 'lastVerifiedAt',+ 'verificationAt',+ 'verificationTime',+ 'verificationTimestamp',+ 'verificationStartedAt',+ 'verificationCompletedAt',+ ];++ for (const key of timestampKeys) {+ const value = p.details?.[key];+ if (typeof value === 'number' && Number.isFinite(value)) {+ const ms = value > 10_000_000_000 ? value : value * 1000;+ if (Number.isFinite(ms) && ms > 0) return ms;+ }+ if (typeof value === 'string') {+ const trimmed = value.trim();+ if (!trimmed) continue;+ const parsed = Date.parse(trimmed);+ if (Number.isFinite(parsed) && parsed > 0) return parsed;+ const numeric = Number(trimmed);+ if (Number.isFinite(numeric) && numeric > 0) {+ return numeric > 10_000_000_000 ? numeric : numeric * 1000;+ }+ }+ }++ return 0;+};+const getTargetSummaryLabel = (p: RecoveryPoint): string => {const repositoryLabel = getRecoveryPointRepositoryLabel(p);if (repositoryLabel) return repositoryLabel;@@ -178,6 +232,209 @@ const formatChainPointDetail = (p: RecoveryPoint): string => {.join(' · ');};+const getVerificationEvidenceLabel = (p: RecoveryPoint): string => {+ const state = detailString(p, 'verificationState') || detailString(p, 'verificationStatus');+ if (state) return `State: ${state}`;+ const rawVerification =+ detailString(p, 'verification') ||+ detailString(p, 'verificationResult') ||+ detailString(p, 'verifyResult');+ if (rawVerification) return `Source: ${rawVerification}`;+ const upid = detailString(p, 'verificationUpid') || detailString(p, 'verificationTaskId');+ if (upid) return 'Verification task reference recorded';+ if (p.verified === true) return 'Verified flag recorded by recovery ingest';+ if (p.verified === false) return 'Failed verification flag recorded by recovery ingest';+ return 'No verification evidence recorded';+};++const getVerificationMethodLabel = (p: RecoveryPoint): string => {+ const explicit =+ detailString(p, 'verificationMethod') ||+ detailString(p, 'verificationSource') ||+ detailString(p, 'verifier');+ if (explicit) return explicit;++ const platform = normalizeSourcePlatformQueryValue(getRecoveryPointPlatform(p));+ if (platform === 'proxmox-pbs' && (detailString(p, 'verificationState') || detailString(p, 'verificationUpid'))) {+ return 'PBS catalog verification';+ }+ if (detailString(p, 'verification')) return 'Backup metadata verification flag';+ if (p.verified != null) return 'Recovery ingest verification flag';+ return 'No verifier recorded';+};++const getVerificationConfidence = (+ p: RecoveryPoint,+ outcome: ReturnType<typeof normalizeRecoveryOutcome>,+): { label: string; className: string } => {+ if (p.verified === true) {+ const hasSourceEvidence =+ Boolean(detailString(p, 'verificationState')) ||+ Boolean(detailString(p, 'verification')) ||+ Boolean(detailString(p, 'verificationUpid'));+ return {+ label: hasSourceEvidence ? 'High confidence' : 'Recorded verified',+ className: 'text-emerald-600 dark:text-emerald-400',+ };+ }+ if (p.verified === false) {+ return {+ label: 'Failed verification',+ className: 'text-rose-600 dark:text-rose-400',+ };+ }+ if (outcome === 'success' || outcome === 'warning') {+ return {+ label: 'Needs verification',+ className: 'text-amber-600 dark:text-amber-400',+ };+ }+ return {+ label: 'Not assessed',+ className: 'text-muted',+ };+};++const getRestoreActionPath = (+ p: RecoveryPoint,+ targetLabel: string,+ platformLabel: string,+ chain: ProtectionChainStageSummary[],+ failureDetail: string,+): RestoreActionPath => {+ const outcome = normalizeRecoveryOutcome(p.outcome);+ const presentStages = chain.filter((stage) => stage.point !== null);+ const chainDetail =+ presentStages.length > 1+ ? `${presentStages.map((stage) => stage.label).join(', ')} present in current results.`+ : presentStages.length === 1+ ? `${presentStages[0].label} present in current results.`+ : 'No adjacent chain stages are visible in the current results.';++ if (outcome === 'failed') {+ return {+ label: 'Investigate source task',+ detail: 'This event did not produce a usable recovery point.',+ tone: 'danger',+ steps: [+ {+ label: 'Open source task evidence',+ detail: failureDetail || 'Inspect the source platform task or job log for the failing step.',+ },+ {+ label: 'Re-run protection before restore planning',+ detail: 'Use a newer successful point or complete a fresh protection run before relying on this item.',+ },+ ],+ };+ }++ if (outcome === 'running') {+ return {+ label: 'Wait for completion',+ detail: 'The event is still collecting recovery metadata.',+ tone: 'info',+ steps: [+ {+ label: 'Keep this point out of restore plans',+ detail: 'Use the completed event row once the platform reports a terminal outcome.',+ },+ {+ label: 'Check chain coverage after completion',+ detail: chainDetail,+ },+ ],+ };+ }++ if (p.verified === false) {+ return {+ label: 'Do not restore from this point yet',+ detail: 'Verification failed, so the artifact should be treated as suspect.',+ tone: 'warning',+ steps: [+ {+ label: 'Rerun platform verification',+ detail: 'Verify the artifact from the source platform before promoting it to a restore candidate.',+ },+ {+ label: 'Prefer an older verified point',+ detail: 'Use a known-good point if restore pressure is high.',+ },+ ],+ };+ }++ if (p.verified === true) {+ return {+ label: 'Ready for restore planning',+ detail: 'The recovery point is verified; restore still needs an operator-approved target and isolation decision.',+ tone: 'success',+ steps: [+ {+ label: 'Confirm target and retention',+ detail: `${targetLabel} · ${chainDetail}`,+ },+ {+ label: 'Plan an isolated test restore',+ detail: 'Restore to an alternate location first when replacing production would be destructive.',+ },+ {+ label: 'Execute from the source platform',+ detail: `Use ${platformLabel || 'the source platform'} with this point's item and target identifiers.`,+ },+ ],+ };+ }++ if (outcome === 'success' || outcome === 'warning') {+ return {+ label: 'Verify before restore use',+ detail: 'The event completed, but no successful verification result is recorded.',+ tone: 'warning',+ steps: [+ {+ label: 'Run artifact verification',+ detail: 'Use the platform verifier or a non-destructive test restore before treating this as a restore candidate.',+ },+ {+ label: 'Confirm target and chain',+ detail: `${targetLabel} · ${chainDetail}`,+ },+ ],+ };+ }++ return {+ label: 'Review before restore planning',+ detail: 'The event outcome is not enough to trust this point automatically.',+ tone: 'warning',+ steps: [+ {+ label: 'Inspect platform details',+ detail: 'Check the source platform state, target location, and any technical metadata before restore use.',+ },+ {+ label: 'Prefer a verified point',+ detail: 'Use a verified successful point where one exists for the same item.',+ },+ ],+ };+};++const getRestoreActionToneClass = (tone: RestoreActionTone): string => {+ switch (tone) {+ case 'success':+ return 'border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-200';+ case 'danger':+ return 'border-rose-500/30 bg-rose-500/10 text-rose-700 dark:text-rose-200';+ case 'info':+ return 'border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-200';+ default:+ return 'border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-200';+ }+};+const computeDatastoreUsagePercent = (datastore: PBSDatastore): number => {if (Number.isFinite(datastore.total) && datastore.total > 0 && Number.isFinite(datastore.used)) {const calculated = (datastore.used / datastore.total) * 100;@@ -389,7 +646,7 @@ export const RecoveryPointDetails: Component<RecoveryPointDetailsProps> = (props}const candidates = [...byId.values()];- return CHAIN_STAGES.map((stage) => {+ return CHAIN_STAGES.map((stage): ProtectionChainStageSummary => {const stagePoint =candidates.filter((candidate) => getPointChainStage(candidate) === stage.id)@@ -407,6 +664,44 @@ export const RecoveryPointDetails: Component<RecoveryPointDetailsProps> = (propsconst hasProtectionChain = createMemo(() =>protectionChain().some((stage) => stage.point !== null),);+ const verificationTimestamp = createMemo(() => getVerificationTimestampMs(point()));+ const verificationConfidence = createMemo(() =>+ getVerificationConfidence(point(), normalizedOutcome()),+ );+ const verificationProvenancePairs = createMemo(() => [+ {+ k: 'Verifier',+ v: getVerificationMethodLabel(point()),+ valueClass: 'text-base-content',+ },+ {+ k: 'Checked',+ v:+ verificationTimestamp() > 0+ ? formatAbsoluteTime(verificationTimestamp())+ : 'No verification timestamp recorded',+ valueClass: 'text-base-content',+ },+ {+ k: 'Evidence',+ v: getVerificationEvidenceLabel(point()),+ valueClass: 'text-base-content',+ },+ {+ k: 'Confidence',+ v: verificationConfidence().label,+ valueClass: verificationConfidence().className,+ },+ ]);+ const restoreActionPath = createMemo(() =>+ getRestoreActionPath(+ point(),+ targetLabel(),+ platformLabel(),+ protectionChain(),+ failureDetail(),+ ),+ );const operatorSummaryPairs = createMemo(() => [{k: 'Outcome',@@ -608,6 +903,29 @@ export const RecoveryPointDetails: Component<RecoveryPointDetailsProps> = (props</div></div></Show>+ <div+ class={`mt-3 rounded border px-3 py-2 text-xs ${getRestoreActionToneClass(+ restoreActionPath().tone,+ )}`}+ >+ <div class="flex flex-wrap items-start justify-between gap-2">+ <div>+ <div class="font-semibold">Restore action path</div>+ <div class="mt-0.5 text-[13px] font-semibold">{restoreActionPath().label}</div>+ <div class="mt-1 text-[11px] leading-4">{restoreActionPath().detail}</div>+ </div>+ </div>+ <div class="mt-2 grid gap-2 md:grid-cols-2">+ <For each={restoreActionPath().steps}>+ {(step) => (+ <div class="rounded border border-current/15 bg-surface/70 px-2.5 py-2">+ <div class="font-medium">{step.label}</div>+ <div class="mt-1 text-[11px] leading-4">{step.detail}</div>+ </div>+ )}+ </For>+ </div>+ </div></div><div class="grid grid-cols-1 md:grid-cols-2 gap-2">@@ -623,6 +941,36 @@ export const RecoveryPointDetails: Component<RecoveryPointDetailsProps> = (props</For></div>+ <div class="rounded border border-border bg-surface p-3">+ <div class="flex flex-wrap items-start justify-between gap-3">+ <div>+ <div class="text-[10px] font-semibold uppercase tracking-wide text-muted">+ Verification provenance+ </div>+ <div class="mt-1 text-xs text-muted">+ Recorded verification evidence for this recovery point.+ </div>+ </div>+ <span class={`text-xs font-semibold ${verificationConfidence().className}`}>+ {verificationConfidence().label}+ </span>+ </div>+ <div class="mt-2 grid grid-cols-1 gap-2 sm:grid-cols-2 lg:grid-cols-4">+ <For each={verificationProvenancePairs()}>+ {(pair) => (+ <div class="rounded border border-border bg-surface-alt/45 px-3 py-2 text-xs">+ <div class="text-[10px] font-semibold uppercase tracking-wide text-muted">+ {pair.k}+ </div>+ <div class={`mt-0.5 text-[11px] leading-4 break-words ${pair.valueClass}`}>+ {pair.v}+ </div>+ </div>+ )}+ </For>+ </div>+ </div>+<div class="grid grid-cols-1 md:grid-cols-2 gap-2 text-xs text-muted"><div class="rounded border border-border bg-surface px-3 py-2"><div class="text-[10px] font-semibold uppercase tracking-wide text-muted">Started</div>diff --git a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsxindex 84d62a5507..b1f50485cd 100644--- a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx+++ b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx@@ -825,6 +825,94 @@ describe('Recovery', () => {expect(within(detailsPanel as HTMLTableCellElement).getByText('Finance')).toBeInTheDocument();});+ it('uses the current history result set for cross-day protection chain context', async () => {+ const originalPoints = pointsByRollupId['res:vm-123'];+ pointsByRollupId['res:vm-123'] = [+ {+ ...originalPoints[0],+ id: 'p1-local',+ itemResourceId: 'vm-123',+ completedAt: '2026-02-14T10:00:00.000Z',+ },+ {+ id: 'p1-remote',+ platform: 'proxmox-pbs',+ itemResourceId: 'vm-123',+ kind: 'backup',+ mode: 'remote',+ outcome: 'success',+ verified: true,+ completedAt: '2026-02-13T09:30:00.000Z',+ repositoryRef: {+ type: 'pbs-datastore',+ namespace: 'pbs-main',+ name: 'fast-store',+ },+ display: {+ itemType: 'vm',+ subjectType: 'proxmox-vm',+ entityIdLabel: '123',+ },+ },+ ];++ try {+ render(() => <Recovery />);++ fireEvent.click(await screen.findByText('VM 123'));+ await screen.findByText(/Showing 1 - 2 of 2 recovery points/i);+ fireEvent.click(screen.getByText('10:00'));++ const detailsPanel = await screen.findByText('Recovery Point Details');+ const detailsCell = detailsPanel.closest('td');+ expect(detailsCell).not.toBeNull();+ expect(+ within(detailsCell as HTMLTableCellElement).getByText('Protection chain'),+ ).toBeInTheDocument();+ expect(+ within(detailsCell as HTMLTableCellElement).getByText('Remote copy'),+ ).toBeInTheDocument();+ expect(+ within(detailsCell as HTMLTableCellElement).getByText(/fast-store · PBS/i),+ ).toBeInTheDocument();+ } finally {+ pointsByRollupId['res:vm-123'] = originalPoints;+ }+ });++ it('keeps recovery event context visible when mobile columns collapse', async () => {+ const originalWidth = window.innerWidth;+ Object.defineProperty(window, 'innerWidth', {+ configurable: true,+ writable: true,+ value: 500,+ });++ try {+ render(() => <Recovery />);++ fireEvent.click(await screen.findByText('VM 123'));+ await screen.findByText(/Showing 1 - 1 of 1 recovery points/i);++ const tables = await screen.findAllByRole('table');+ const historyTable = tables[tables.length - 1];+ const historyRow = within(historyTable).getByText('VMID 123').closest('tr');+ expect(historyRow).not.toBeNull();+ expect(within(historyRow!).getByText('Local Copy')).toBeInTheDocument();+ expect(within(historyRow!).getByText('PVE')).toBeInTheDocument();+ expect(within(historyRow!).getByText('fast-store')).toBeInTheDocument();+ expect(within(historyRow!).getByText('Verification unknown')).toBeInTheDocument();+ expect(within(historyTable).queryByText('Method')).not.toBeInTheDocument();+ expect(within(historyTable).queryByText('Target')).not.toBeInTheDocument();+ } finally {+ Object.defineProperty(window, 'innerWidth', {+ configurable: true,+ writable: true,+ value: originalWidth,+ });+ }+ });+it('keeps optional history placement columns on the neutral recovery vocabulary', async () => {facetsPayload.clusters = ['lab-cluster'];facetsPayload.nodesAgents = ['pve-01'];