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.

Document host-relative memory contracts (#1326)

[email protected]d201b14f1ba2
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 4f70961346..243c809921 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -138,6 +138,13 @@ TLS floor in the dynamic config.
## Shared Boundaries
+`frontend-modern/src/utils/localStorage.ts` is a shared browser-preference key
+registry, not deployment state. Workload presentation preferences added there,
+including the Proxmox guest-memory comparison basis, must remain optional,
+client-local, and backwards-compatible: a missing or invalid stored value
+falls back to the shipped guest-allocation view and cannot affect install,
+upgrade, update, release, or artifact-selection behavior.
+
1. `frontend-modern/src/api/updates.ts` shared with `api-contracts`: the updates frontend client is both a deployment-installability control surface and a canonical API payload contract boundary.
The version payload consumed by this client must preserve the distinction
between the running app build `version` and the deployable
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 0b90b36e19..1ca9c62db5 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -23,6 +23,13 @@
Own reusable frontend primitives and canonical page-shell patterns so feature
work extends shared components instead of creating new local variants.
+Platform-owned workload controls extend the shared `WorkloadsFilter` view
+options rather than creating page-local toolbar shells. The Proxmox overview
+may expose a labelled `Guest` / `Host` memory-percentage basis control through
+the shared compact segmented-control primitive; the page owns and persists the
+preference, while the workload state, table, panel, and row contracts carry the
+selected basis and resolved parent-node data to the canonical memory bar.
+
Presentation helpers that mirror a server-side classification must name the
predicate they mirror and expose it as a single exported function rather than
diff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
index 1ee3bf824b..601e9530c5 100644
--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
@@ -563,6 +563,11 @@ change may globally weaken the Task 03 lifecycle-state idempotency invariant.
duplicate hot-path type matching.
16. Extend grouped workload derivation, summary fallbacks, and grouped/windowed table presentation through `frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts`, extend viewport-driven grouped table synchronization through `frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts`, and extend node parent mapping through `frontend-modern/src/components/Workloads/workloadTopology.ts`, rather than rebuilding grouped selectors, summary snapshot math, scroll listeners, or topology lookups inside `frontend-modern/src/components/Workloads/useWorkloadsState.ts`
17. Extend workload control defaults, persistent view preferences, keyboard reset behavior, column-visibility ownership, and tag-search flow through `frontend-modern/src/components/Workloads/useWorkloadsControlsState.ts` and `frontend-modern/src/components/Workloads/workloadsFilterModel.ts` rather than rebuilding sort/search/grouping state, reset drift, or column-toggle plumbing inside `frontend-modern/src/components/Workloads/useWorkloadsState.ts`
+ A platform-owned memory comparison preference may be supplied as an
+ accessor to `useWorkloadsState`. Host-relative sorting must reuse the
+ bounded parent-node map from `workloadTopology.ts`; it must not scan the
+ node inventory per comparator call or resolve topology independently in
+ each row.
Platform-owned Workloads surfaces may scope column visibility preferences
when a shared workload metric has platform-specific meaning. Docker
container surfaces must force the `app-container` column profile, suppress
@@ -592,6 +597,12 @@ change may globally weaken the Task 03 lifecycle-state idempotency invariant.
19. Extend threshold-slider value-position math, title/label derivation, and drag scroll-lock runtime through `frontend-modern/src/components/Workloads/thresholdSliderModel.ts` and `frontend-modern/src/components/Workloads/useThresholdSliderState.ts` rather than rebuilding slider-local state and pointer lifecycle inside `frontend-modern/src/components/Workloads/ThresholdSlider.tsx`
20. Extend stacked disk-bar capacity math, segment/tooltip derivation, summary-strategy selection, and resize-observer runtime through `frontend-modern/src/components/Workloads/stackedDiskBarModel.ts` and `frontend-modern/src/components/Workloads/useStackedDiskBarState.ts` rather than rebuilding disk-bar-local state, mode branching, and tooltip shaping inside `frontend-modern/src/components/Workloads/StackedDiskBar.tsx`. Compact multi-disk rows default to same-height per-disk lanes so each filesystem has its own visible usage bar without implying the whole host disk state is one max or aggregate percentage; explicit `mode="stacked"` remains the capacity-contribution stack for callers that intentionally need that presentation, and explicit aggregate callers may choose total-capacity or worst-disk summaries when the owning table's operator job needs one compact risk signal, while tooltips continue to carry the full per-disk breakdown.
21. Extend stacked memory-bar capacity math, balloon/swap derivation, and resize-observer runtime through `frontend-modern/src/components/Workloads/stackedMemoryBarModel.ts` and `frontend-modern/src/components/Workloads/useStackedMemoryBarState.ts` rather than rebuilding memory-bar-local state, tooltip shaping, and label-fit logic inside `frontend-modern/src/components/Workloads/StackedMemoryBar.tsx`
+ Direct used-versus-total comparisons may provide a comparison label and a
+ separate severity percentage. This lets Proxmox guest rows draw used bytes
+ against the host total while retaining guest-allocation threshold meaning.
+ Host-relative mode must not relabel guest-relative history as host history;
+ until raw-byte history supports the alternate denominator, the memory cell
+ stays on the current comparison bar when the rest of the table uses trends.
22. Extend metric-bar width, label-fit logic, and resize-observer runtime through `frontend-modern/src/components/Workloads/metricBarModel.ts` and `frontend-modern/src/components/Workloads/useMetricBarState.ts` rather than rebuilding metric-local state and threshold mapping inside `frontend-modern/src/components/Workloads/MetricBar.tsx`
23. Extend enhanced CPU bar usage/anomaly presentation and tooltip runtime through `frontend-modern/src/components/Workloads/enhancedCpuBarModel.ts` and `frontend-modern/src/components/Workloads/useEnhancedCPUBarState.ts` rather than rebuilding tooltip-local state and CPU-threshold formatting inside `frontend-modern/src/components/Workloads/EnhancedCPUBar.tsx`
Workload and unified-resource metric bars may accept resolved alert display
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 4a62aba3b4..bac0355076 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -455,6 +455,11 @@ dense, and backed by the canonical guest `LastBackup` synchronization from PVE
storage and PBS evidence; the Proxmox Backups tab is the drilldown for
coverage, restore-point, and source-detail evidence, not the first place users
must visit to learn whether a guest is backed up.
+The adjacent Proxmox overview memory-basis control is operational workload
+presentation only. Comparing a VM or LXC's used bytes with its parent-node
+memory total may change the memory bar and memory sort order, but it must not
+change Backup-column freshness, protection coverage, restore-point
+correlation, storage-health state, or recovery authority.
That overview Backup signal belongs to Proxmox VMs and LXCs. If the embedded
Workloads table demotes Docker-in-LXC `app-container` rows out of peer
membership, the backup surface must still receive the page model's Proxmox