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 Proxmox lifecycle presentation helpers

rcourtmand898fca26c30
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index 19e2e019f6..f40bead54d 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -82,6 +82,9 @@ management, and fleet control surfaces.
58. `frontend-modern/src/utils/configuredNodeStatusPresentation.ts`
59. `frontend-modern/src/utils/unifiedAgentInventoryPresentation.ts`
60. `frontend-modern/src/utils/unifiedAgentStatusPresentation.ts`
+61. `frontend-modern/src/utils/clusterEndpointPresentation.ts`
+62. `frontend-modern/src/utils/nodeModalPresentation.ts`
+63. `frontend-modern/src/utils/proxmoxSettingsPresentation.ts`
## Shared Boundaries
@@ -208,6 +211,12 @@ as the composition boundary, and the new direct-node/discovery runtime hooks as
the canonical state owners, instead of leaving those
panels ungoverned beside the canonical
unified-agent install path.
+That same direct Proxmox workspace owner now also includes the shared
+presentation helpers `frontend-modern/src/utils/clusterEndpointPresentation.ts`
+and `frontend-modern/src/utils/proxmoxSettingsPresentation.ts`, so endpoint
+reachability state, discovery-prefill defaults, and variant copy stay on the
+same governed lifecycle surface instead of drifting into card-local strings or
+prefill assembly.
That canonical /api/auto-register behavior now also includes hostname/IP continuity:
reruns that arrive through a different canonical host form must reuse the same
Pulse-managed node record and token instead of forking duplicate fleet entries.
@@ -380,6 +389,10 @@ The corresponding node setup modal owner is now an explicit shell-plus-sections
surface: `NodeModal.tsx` composes `NodeModalBasicInfoSection.tsx`,
`NodeModalAuthenticationSection.tsx`, `NodeModalMonitoringSection.tsx`,
`NodeModalStatusFooter.tsx`, `nodeModalModel.ts`, and `useNodeModalState.ts`.
+That same node setup owner also includes
+`frontend-modern/src/utils/nodeModalPresentation.ts`, which now owns the
+canonical node-type defaults, endpoint/auth placeholders, monitoring coverage
+copy, and test-result styling for PVE, PBS, and PMG setup.
That presentation layer remains presentation-only for those API-managed
Proxmox, PBS, and PMG connections. Lifecycle guidance in that settings surface
may explain monitored-system caps, but commercial enforcement still belongs to
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index c836bb70fa..46de91a3a1 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -572,9 +572,12 @@
"frontend-modern/src/utils/agentInstallCommand.ts",
"frontend-modern/src/utils/agentProfilesPresentation.ts",
"frontend-modern/src/utils/agentProfileSuggestionPresentation.ts",
+ "frontend-modern/src/utils/clusterEndpointPresentation.ts",
"frontend-modern/src/utils/configuredNodeCapabilityPresentation.ts",
"frontend-modern/src/utils/configuredNodeStatusPresentation.ts",
"frontend-modern/src/utils/infrastructureSettingsPresentation.ts",
+ "frontend-modern/src/utils/nodeModalPresentation.ts",
+ "frontend-modern/src/utils/proxmoxSettingsPresentation.ts",
"frontend-modern/src/utils/unifiedAgentInventoryPresentation.ts",
"frontend-modern/src/utils/unifiedAgentStatusPresentation.ts",
"internal/api/agent_install_command_shared.go",
@@ -738,12 +741,14 @@
"frontend-modern/src/components/Settings/NodeModalMonitoringSection.tsx",
"frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx",
"frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx",
- "frontend-modern/src/components/Settings/useNodeModalState.ts"
+ "frontend-modern/src/components/Settings/useNodeModalState.ts",
+ "frontend-modern/src/utils/nodeModalPresentation.ts"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
"exact_files": [
- "frontend-modern/src/components/Settings/__tests__/NodeModal.guardrails.test.ts"
+ "frontend-modern/src/components/Settings/__tests__/NodeModal.guardrails.test.ts",
+ "frontend-modern/src/utils/__tests__/nodeModalPresentation.test.ts"
]
},
{
@@ -821,7 +826,9 @@
"frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts",
"frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts",
"frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts",
- "frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts"
+ "frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts",
+ "frontend-modern/src/utils/clusterEndpointPresentation.ts",
+ "frontend-modern/src/utils/proxmoxSettingsPresentation.ts"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
@@ -830,7 +837,9 @@
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
- "frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts"
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts"
]
},
{
diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.py
index bfdfee4831..038e68a474 100644
--- a/scripts/release_control/canonical_completion_guard_test.py
+++ b/scripts/release_control/canonical_completion_guard_test.py
@@ -1609,7 +1609,8 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"allow_same_subsystem_tests": False,
"test_prefixes": [],
"exact_files": [
- "frontend-modern/src/components/Settings/__tests__/NodeModal.guardrails.test.ts"
+ "frontend-modern/src/components/Settings/__tests__/NodeModal.guardrails.test.ts",
+ "frontend-modern/src/utils/__tests__/nodeModalPresentation.test.ts",
],
}
],
@@ -1993,7 +1994,9 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
}
],
@@ -2043,7 +2046,9 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
}
],
@@ -2105,7 +2110,9 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
}
],
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index ef9b7d7f27..bbe31d36f8 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -1639,7 +1639,8 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(
lifecycle_match["verification_requirement"]["exact_files"],
[
- "frontend-modern/src/components/Settings/__tests__/NodeModal.guardrails.test.ts"
+ "frontend-modern/src/components/Settings/__tests__/NodeModal.guardrails.test.ts",
+ "frontend-modern/src/utils/__tests__/nodeModalPresentation.test.ts",
],
)
@@ -1820,7 +1821,9 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
)
@@ -1856,7 +1859,9 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
)
@@ -1896,7 +1901,9 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
)
@@ -1932,7 +1939,9 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
)
@@ -1963,7 +1972,9 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
],
)