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.

Assert the mixed PBS access evidence boundary

pulse-triage[bot]4a4af7209409
diff --git a/docs/release-control/v6/internal/subsystems/monitoring.md b/docs/release-control/v6/internal/subsystems/monitoring.md
index fcd463b53a..fdfdf4224f 100644
--- a/docs/release-control/v6/internal/subsystems/monitoring.md
+++ b/docs/release-control/v6/internal/subsystems/monitoring.md
@@ -29,7 +29,9 @@ the observed-group batch or renew recovery-point evidence. Provider history
stays partial/unavailable rather than claiming protection.
An actual access rejection still withdraws that namespace's raw rows, including
-when every namespace failed and another failure was transient. Failed discovery
+when every namespace failed and another failure was transient. Wholly unread
+mixed failures keep access Unknown rather than inventing universal denial;
+uniformly rejected collection still reports Denied. Failed discovery
cannot override a namespace request actually made: neither a rejection nor an
accepted empty listing can be undone by carry-forward. Durable historical facts
remain qualified by collection/access evidence until a complete accepted scan
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 78a3f733cb..c6d332c8a8 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -33,7 +33,9 @@ the observed-group batch or renew recovery-point evidence. Provider history
stays partial/unavailable rather than claiming protection.
An actual access rejection still withdraws that namespace's raw rows, including
-when every namespace failed and another failure was transient. Failed discovery
+when every namespace failed and another failure was transient. Wholly unread
+mixed failures keep access Unknown rather than inventing universal denial;
+uniformly rejected collection still reports Denied. Failed discovery
cannot override a namespace request actually made: neither a rejection nor an
accepted empty listing can be undone by carry-forward. Durable historical facts
remain qualified by collection/access evidence until a complete accepted scan
diff --git a/internal/monitoring/pbs_namespace_continuity_test.go b/internal/monitoring/pbs_namespace_continuity_test.go
index 870e7a8f09..e3d4b72dea 100644
--- a/internal/monitoring/pbs_namespace_continuity_test.go
+++ b/internal/monitoring/pbs_namespace_continuity_test.go
@@ -263,8 +263,10 @@ func TestPBSNamespaceMixedFailuresDoNotResurrectDeniedScope(t *testing.T) {
t.Error("other instance inventory disappeared or denied row was resurrected")
}
for _, p := range f.postures(t) {
- if p.State == recovery.ProtectionStateProtected {
- t.Errorf("wholly unread collection claimed protection: %+v", p)
+ if p.State == recovery.ProtectionStateProtected || len(p.ProviderStates) != 1 ||
+ p.ProviderStates[0].Permissions != operationaltrust.EvidencePermissionsUnknown ||
+ p.ProviderStates[0].HistoryCompleteness != recovery.ProtectionHistoryUnavailable {
+ t.Errorf("mixed rejected/unread scopes invented protection or universal denial: %+v", p)
}
}
}