Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Clarify recovery verification evidence

rcourtmanf3885dc12896
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 0a3de37d2a..41fe8551cd 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -1990,7 +1990,9 @@ raw JSON copy actions belong behind `Technical details`; the primary drawer
should keep human metadata, recorded verification provenance, target health,
and collapsed file lists without repeating the same verification fact in
provider-specific sections or rendering empty verifier/evidence placeholders
-when no verification record exists. Container recovery points should present
+when no verification record exists. Verification provenance should translate
+provider states such as PBS catalog `ok` into operator language instead of
+surfacing raw transport status tokens. Container recovery points should present
container ids with operator vocabulary such as `CTID`, and duplicated placement
or target values should not be repeated under lower-priority metadata labels.
Provider-specific metadata must not recast the event drawer itself as if PBS
diff --git a/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx b/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx
index 3d3fe9c454..47fe75b68b 100644
--- a/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryPointDetails.test.tsx
@@ -100,6 +100,8 @@ describe('RecoveryPointDetails', () => {
expect(screen.getByText('Verification provenance')).toBeInTheDocument();
expect(screen.getByText('PBS catalog verification')).toBeInTheDocument();
expect(screen.getAllByText('High confidence').length).toBeGreaterThan(0);
+ expect(screen.getByText('Catalog check passed')).toBeInTheDocument();
+ expect(screen.queryByText('State: ok')).not.toBeInTheDocument();
expect(screen.getByText('Target Health')).toBeInTheDocument();
expect(screen.queryByText('UPID:')).not.toBeInTheDocument();
expect(screen.getByText('Recovery metadata')).toBeInTheDocument();
@@ -184,7 +186,8 @@ describe('RecoveryPointDetails', () => {
expect(screen.getByText('Verification provenance')).toBeInTheDocument();
expect(screen.getByText('PBS catalog verification')).toBeInTheDocument();
- expect(screen.getByText('State: ok')).toBeInTheDocument();
+ expect(screen.getByText('Catalog check passed')).toBeInTheDocument();
+ expect(screen.queryByText('State: ok')).not.toBeInTheDocument();
expect(screen.queryByText('No verification timestamp recorded')).not.toBeInTheDocument();
expect(screen.getByText('CTID')).toBeInTheDocument();
expect(screen.queryByText('VMID')).not.toBeInTheDocument();
diff --git a/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx b/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx
index 77c08a64e7..3750859ee5 100644
--- a/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryPointDetails.tsx
@@ -232,9 +232,25 @@ const formatChainPointDetail = (p: RecoveryPoint): string => {
.join(' · ');
};
+const formatVerificationStateEvidence = (p: RecoveryPoint, state: string): string => {
+ const normalizedState = state.trim().toLowerCase();
+ const platform = normalizeSourcePlatformQueryValue(getRecoveryPointPlatform(p));
+ const isPbs = platform === 'proxmox-pbs';
+ if (['ok', 'passed', 'pass', 'success', 'successful', 'verified'].includes(normalizedState)) {
+ return isPbs ? 'Catalog check passed' : 'Verification passed';
+ }
+ if (['failed', 'fail', 'error', 'errored'].includes(normalizedState)) {
+ return isPbs ? 'Catalog check failed' : 'Verification failed';
+ }
+ if (['running', 'pending', 'started', 'in-progress', 'in_progress'].includes(normalizedState)) {
+ return isPbs ? 'Catalog check in progress' : 'Verification in progress';
+ }
+ return `Verification state: ${state}`;
+};
+
const getVerificationEvidenceLabel = (p: RecoveryPoint): string => {
const state = detailString(p, 'verificationState') || detailString(p, 'verificationStatus');
- if (state) return `State: ${state}`;
+ if (state) return formatVerificationStateEvidence(p, state);
const rawVerification =
detailString(p, 'verification') ||
detailString(p, 'verificationResult') ||
diff --git a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
index 878b1738ed..1aff8db2cb 100644
--- a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
+++ b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
@@ -1021,6 +1021,9 @@ describe('Recovery', () => {
outcome: 'success',
verified: true,
completedAt: '2026-02-13T09:30:00.000Z',
+ details: {
+ verificationState: 'ok',
+ },
repositoryRef: {
type: 'pbs-datastore',
namespace: 'pbs-main',
@@ -1053,6 +1056,17 @@ describe('Recovery', () => {
expect(
within(detailsCell as HTMLTableCellElement).getByText(/fast-store · PBS/i),
).toBeInTheDocument();
+
+ fireEvent.click(screen.getByText('09:30'));
+ const remoteDetailsPanel = await screen.findByText('Recovery Point Details');
+ const remoteDetailsCell = remoteDetailsPanel.closest('td');
+ expect(remoteDetailsCell).not.toBeNull();
+ expect(
+ within(remoteDetailsCell as HTMLTableCellElement).getByText('Catalog check passed'),
+ ).toBeInTheDocument();
+ expect(
+ within(remoteDetailsCell as HTMLTableCellElement).queryByText('State: ok'),
+ ).not.toBeInTheDocument();
} finally {
pointsByRollupId['res:vm-123'] = originalPoints;
}