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 shared resource summary presentation

rcourtmandc9805311276
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 633e942043..b9a6061771 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -3525,6 +3525,7 @@
"frontend-modern/src/components/Infrastructure/InfrastructureSummary.tsx",
"frontend-modern/src/components/Infrastructure/infrastructureSummaryModel.ts",
"frontend-modern/src/components/Infrastructure/ResourceChangeSummary.tsx",
+ "frontend-modern/src/components/Infrastructure/ResourceCorrelationSummary.tsx",
"frontend-modern/src/components/Infrastructure/resourceDetailDiscoveryModel.ts",
"frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx",
"frontend-modern/src/components/Infrastructure/ResourceDetailDrawerDebugTab.tsx",
@@ -3535,6 +3536,7 @@
"frontend-modern/src/components/Infrastructure/ResourceDetailDrawerSupportDisclosure.tsx",
"frontend-modern/src/components/Infrastructure/resourceDetailMappers.ts",
"frontend-modern/src/components/Infrastructure/ResourceFacetSummary.tsx",
+ "frontend-modern/src/components/Infrastructure/ResourcePolicySummary.tsx",
"frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx",
"frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx",
"frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx",
@@ -3559,7 +3561,9 @@
"frontend-modern/src/routing/resourceLinks.ts",
"frontend-modern/src/types/resource.ts",
"frontend-modern/src/utils/resourceChangePresentation.ts",
+ "frontend-modern/src/utils/resourceCorrelationPresentation.ts",
"frontend-modern/src/utils/resourceIdentity.ts",
+ "frontend-modern/src/utils/resourcePolicyPresentation.ts",
"internal/api/resources.go"
],
"verification": {
@@ -3626,6 +3630,7 @@
"frontend-modern/src/components/Infrastructure/InfrastructureSummary.tsx",
"frontend-modern/src/components/Infrastructure/infrastructureSummaryModel.ts",
"frontend-modern/src/components/Infrastructure/ResourceChangeSummary.tsx",
+ "frontend-modern/src/components/Infrastructure/ResourceCorrelationSummary.tsx",
"frontend-modern/src/components/Infrastructure/resourceDetailDiscoveryModel.ts",
"frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx",
"frontend-modern/src/components/Infrastructure/ResourceDetailDrawerDebugTab.tsx",
@@ -3636,6 +3641,7 @@
"frontend-modern/src/components/Infrastructure/ResourceDetailDrawerSupportDisclosure.tsx",
"frontend-modern/src/components/Infrastructure/resourceDetailMappers.ts",
"frontend-modern/src/components/Infrastructure/ResourceFacetSummary.tsx",
+ "frontend-modern/src/components/Infrastructure/ResourcePolicySummary.tsx",
"frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx",
"frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx",
"frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx",
@@ -3668,11 +3674,13 @@
"frontend-modern/src/components/Infrastructure/__tests__/infrastructureSelectors.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/infrastructureSummaryModel.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceChangeSummary.test.tsx",
+ "frontend-modern/src/components/Infrastructure/__tests__/ResourceCorrelationSummary.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.discovery.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerIdentityModel.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/resourceDetailMappers.test.ts",
+ "frontend-modern/src/components/Infrastructure/__tests__/ResourcePolicySummary.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/unifiedResourceTableStateModel.test.ts",
@@ -3701,6 +3709,32 @@
"frontend-modern/src/utils/__tests__/resourceChangePresentation.test.ts"
]
},
+ {
+ "id": "resource-correlation-presentation-helper",
+ "label": "resource correlation presentation helper proof",
+ "match_prefixes": [],
+ "match_files": [
+ "frontend-modern/src/utils/resourceCorrelationPresentation.ts"
+ ],
+ "allow_same_subsystem_tests": false,
+ "test_prefixes": [],
+ "exact_files": [
+ "frontend-modern/src/utils/__tests__/resourceCorrelationPresentation.test.ts"
+ ]
+ },
+ {
+ "id": "resource-policy-presentation-helper",
+ "label": "resource policy presentation helper proof",
+ "match_prefixes": [],
+ "match_files": [
+ "frontend-modern/src/utils/resourcePolicyPresentation.ts"
+ ],
+ "allow_same_subsystem_tests": false,
+ "test_prefixes": [],
+ "exact_files": [
+ "frontend-modern/src/utils/__tests__/resourcePolicyPresentation.test.ts"
+ ]
+ },
{
"id": "metrics-target-runtime",
"label": "unified resource metrics target proof",
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 6da5214b7b..4445274081 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -50,33 +50,37 @@ cross-source deduplication.
28. `frontend-modern/src/components/Infrastructure/ResourceDetailDrawerSupportDisclosure.tsx`
29. `frontend-modern/src/components/Infrastructure/ResourceFacetSummary.tsx`
30. `frontend-modern/src/components/Infrastructure/ResourceChangeSummary.tsx`
-31. `frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx`
-32. `frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx`
-33. `frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx`
-34. `frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx`
-35. `frontend-modern/src/components/Infrastructure/unifiedResourceTableModel.ts`
-36. `frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts`
-37. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDerivedState.ts`
-38. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerServiceModel.ts`
-39. `frontend-modern/src/components/Infrastructure/resourceDetailDiscoveryModel.ts`
-40. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerOperationalModel.ts`
-41. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerHistoryState.ts`
-42. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDockerActionsState.ts`
-43. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerState.ts`
-44. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts`
-45. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts`
-46. `frontend-modern/src/components/Discovery/DiscoveryTab.tsx`
-47. `frontend-modern/src/components/Discovery/useDiscoveryTabState.ts`
-48. `frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx`
-49. `frontend-modern/src/features/infrastructure/useInfrastructurePageRouteState.ts`
-50. `frontend-modern/src/features/infrastructure/useInfrastructurePageState.ts`
-51. `frontend-modern/src/features/infrastructure/infrastructurePageModel.ts`
-52. `frontend-modern/src/components/Infrastructure/InfrastructureSummary.tsx`
-53. `frontend-modern/src/components/Infrastructure/useInfrastructureSummaryState.ts`
-54. `frontend-modern/src/components/Infrastructure/infrastructureSummaryModel.ts`
-55. `frontend-modern/src/utils/resourceChangePresentation.ts`
-56. `frontend-modern/src/utils/resourceIdentity.ts`
-57. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerIdentityModel.ts`
+31. `frontend-modern/src/components/Infrastructure/ResourceCorrelationSummary.tsx`
+32. `frontend-modern/src/components/Infrastructure/ResourcePolicySummary.tsx`
+33. `frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx`
+34. `frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx`
+35. `frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx`
+36. `frontend-modern/src/components/Infrastructure/UnifiedResourceServiceInfrastructureCard.tsx`
+37. `frontend-modern/src/components/Infrastructure/unifiedResourceTableModel.ts`
+38. `frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts`
+39. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDerivedState.ts`
+40. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerServiceModel.ts`
+41. `frontend-modern/src/components/Infrastructure/resourceDetailDiscoveryModel.ts`
+42. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerOperationalModel.ts`
+43. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerHistoryState.ts`
+44. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDockerActionsState.ts`
+45. `frontend-modern/src/components/Infrastructure/useResourceDetailDrawerState.ts`
+46. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableState.ts`
+47. `frontend-modern/src/components/Infrastructure/useUnifiedResourceTableViewportSync.ts`
+48. `frontend-modern/src/components/Discovery/DiscoveryTab.tsx`
+49. `frontend-modern/src/components/Discovery/useDiscoveryTabState.ts`
+50. `frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx`
+51. `frontend-modern/src/features/infrastructure/useInfrastructurePageRouteState.ts`
+52. `frontend-modern/src/features/infrastructure/useInfrastructurePageState.ts`
+53. `frontend-modern/src/features/infrastructure/infrastructurePageModel.ts`
+54. `frontend-modern/src/components/Infrastructure/InfrastructureSummary.tsx`
+55. `frontend-modern/src/components/Infrastructure/useInfrastructureSummaryState.ts`
+56. `frontend-modern/src/components/Infrastructure/infrastructureSummaryModel.ts`
+57. `frontend-modern/src/utils/resourceChangePresentation.ts`
+58. `frontend-modern/src/utils/resourceCorrelationPresentation.ts`
+59. `frontend-modern/src/utils/resourcePolicyPresentation.ts`
+60. `frontend-modern/src/utils/resourceIdentity.ts`
+61. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerIdentityModel.ts`
## Shared Boundaries
@@ -802,6 +806,18 @@ headline formatting, and timeline sort order. Future recent-change wording or
badge changes should extend those unified-resource owners instead of leaving
recent-change presentation unowned or rebuilding helper-local labels inside AI,
Patrol, performance, or infrastructure surfaces.
+The shared correlation and policy-posture presentation boundaries are also
+owned here now. `frontend-modern/src/components/Infrastructure/ResourceCorrelationSummary.tsx`
+is the canonical shared card for dependency, dependent, and learned-correlation
+context, while `frontend-modern/src/utils/resourceCorrelationPresentation.ts`
+owns endpoint labels, headline formatting, summary wording, and canonical
+correlation ordering. `frontend-modern/src/components/Infrastructure/ResourcePolicySummary.tsx`
+is the canonical shared card for governed policy-posture counts, while
+`frontend-modern/src/utils/resourcePolicyPresentation.ts` owns the canonical
+sensitivity, routing, and redaction labels and aggregate count summaries.
+Future correlation or policy-posture wording changes should extend those
+unified-resource owners instead of drifting into page-local loops in AI,
+Patrol, or infrastructure surfaces.
`ResourceFacetSummary` now consumes the shared
`frontend-modern/src/utils/resourceChangePresentation.ts` label helper for
canonical change kinds, source types, and adapter provenance, so the chip
diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.py
index 474242c666..bfdfee4831 100644
--- a/scripts/release_control/canonical_completion_guard_test.py
+++ b/scripts/release_control/canonical_completion_guard_test.py
@@ -500,8 +500,10 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"test_prefixes": [],
"exact_files": [
"frontend-modern/src/components/Infrastructure/__tests__/ResourceChangeSummary.test.tsx",
+ "frontend-modern/src/components/Infrastructure/__tests__/ResourceCorrelationSummary.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.discovery.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx",
+ "frontend-modern/src/components/Infrastructure/__tests__/ResourcePolicySummary.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/infrastructureSelectors.test.ts",
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index ecef239204..1b6142e20a 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -4324,8 +4324,10 @@ class SubsystemLookupTest(unittest.TestCase):
match["verification_requirement"]["exact_files"],
[
"frontend-modern/src/components/Infrastructure/__tests__/ResourceChangeSummary.test.tsx",
+ "frontend-modern/src/components/Infrastructure/__tests__/ResourceCorrelationSummary.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.discovery.test.ts",
"frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx",
+ "frontend-modern/src/components/Infrastructure/__tests__/ResourcePolicySummary.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.performance.contract.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx",
"frontend-modern/src/components/Infrastructure/__tests__/infrastructureSelectors.test.ts",