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.

Govern throughput presentation

rcourtman17f37165c1a5
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 c0c1d873da..64fb1e1e58 100644
--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
@@ -88,6 +88,8 @@ regression protection.
66. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts`
67. `frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx`
68. `frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx`
+69. `frontend-modern/src/components/Workloads/WorkloadsSummary.tsx`
+70. `frontend-modern/src/utils/throughputPresentation.ts`
69. `frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx`
70. `frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx`
71. `frontend-modern/src/components/Infrastructure/unifiedResourceTableModel.ts`
@@ -437,6 +439,14 @@ The infrastructure and workload summary cards now share a canonical
throughput-rate formatter in `frontend-modern/src/utils/throughputPresentation.ts`,
so bytes-per-second labels stay consistent between the two summary surfaces
instead of each component carrying its own rate string builder.
+That shared throughput boundary is now also explicitly governed here.
+`frontend-modern/src/components/Workloads/WorkloadsSummary.tsx` is the
+canonical workload-summary hot-path surface, and
+`frontend-modern/src/utils/throughputPresentation.ts` is the canonical
+bytes-per-second formatter shared by workload and infrastructure summary
+cards. Future throughput wording or workload-summary hot-path changes must
+extend these performance-owned surfaces instead of leaving the formatter or
+summary shell unowned in registry coverage.
Infrastructure selector status ordering must now tolerate arbitrary filter-set
strings without widening the canonical hot-path order tuple. Unknown statuses
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index eab5ab4b57..633e942043 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -2990,6 +2990,8 @@
"frontend-modern/src/components/Infrastructure/useInfrastructureSummaryState.ts",
"frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts",
"frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts",
+ "frontend-modern/src/components/Workloads/WorkloadsSummary.tsx",
+ "frontend-modern/src/utils/throughputPresentation.ts",
"internal/api/router_bench_test.go",
"internal/api/slo.go",
"internal/api/slo_bench_test.go"
@@ -3114,7 +3116,8 @@
"frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts",
"frontend-modern/src/components/Infrastructure/useInfrastructureSummaryState.ts",
"frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts",
- "frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts"
+ "frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts",
+ "frontend-modern/src/components/Workloads/WorkloadsSummary.tsx"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
@@ -3147,7 +3150,21 @@
"frontend-modern/src/components/Dashboard/ThresholdSlider.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/infrastructureSummaryModel.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx",
- "frontend-modern/src/components/Infrastructure/__tests__/unifiedResourceTableStateModel.test.ts"
+ "frontend-modern/src/components/Infrastructure/__tests__/unifiedResourceTableStateModel.test.ts",
+ "frontend-modern/src/components/Workloads/WorkloadsSummary.test.tsx"
+ ]
+ },
+ {
+ "id": "throughput-presentation-helper",
+ "label": "throughput presentation helper proof",
+ "match_prefixes": [],
+ "match_files": [
+ "frontend-modern/src/utils/throughputPresentation.ts"
+ ],
+ "allow_same_subsystem_tests": false,
+ "test_prefixes": [],
+ "exact_files": [
+ "frontend-modern/src/utils/__tests__/throughputPresentation.test.ts"
]
},
{