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.

refactor(settings): surface truenas in platform connections

rcourtman4d11ca5a788a
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index 7b61cc2cb9..da0f489c42 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -36,7 +36,7 @@ management, and fleet control surfaces.
12. `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`
13. `frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx`
14. `frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx`
-15. `frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx`
+15. `frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx`
16. `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`
17. `frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts`
18. `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`
@@ -85,6 +85,10 @@ management, and fleet control surfaces.
61. `frontend-modern/src/utils/clusterEndpointPresentation.ts`
62. `frontend-modern/src/utils/nodeModalPresentation.ts`
63. `frontend-modern/src/utils/proxmoxSettingsPresentation.ts`
+64. `frontend-modern/src/components/Settings/PlatformConnectionsWorkspace.tsx`
+65. `frontend-modern/src/components/Settings/platformConnectionsModel.ts`
+66. `frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx`
+67. `frontend-modern/src/components/Settings/useTrueNASSettingsPanelState.ts`
## Shared Boundaries
@@ -121,7 +125,7 @@ management, and fleet control surfaces.
4. Keep shared `internal/api/` helper edits isolated from agent lifecycle semantics: Patrol-specific status transport or alert-trigger wiring changes in shared handlers must not bleed into auto-register, installer, or fleet-control behavior unless this contract moves in the same slice.
4. Keep legacy Unified Agent compatibility names explicitly secondary when touching shared `internal/api/` runtime helpers: the legacy host-route family and `host-agent:*` scope names may remain as ingress or migration aliases, but they must not retake primary ownership in router state, live runtime scope checks, handler commentary, or operator-facing guidance.
5. Add or change installer flags, persisted service arguments, or upgrade-safe re-entry behavior through `scripts/install.sh` and `scripts/install.ps1`.
-6. Add or change profile management, the extracted agent profiles runtime owner, the pure unified-agent inventory/install model, the direct Proxmox workspace shell, route model, reporting summary owner, shared install/inventory/dialog section owners, the split infrastructure install/reporting state owners, the split direct-node/discovery infrastructure settings owners plus their shared model, shared frontend install-command assembly, Proxmox setup/install API transport, setup-completion install handoff transport, deploy-fallback manual install transport, and fleet-control presentation through `frontend-modern/src/api/agentProfiles.ts`, `frontend-modern/src/api/nodes.ts`, `frontend-modern/src/components/Settings/AgentProfilesPanel.tsx`, `frontend-modern/src/components/Settings/useAgentProfilesPanelState.ts`, `frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx`, `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx`, `frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInventorySection.tsx`, `frontend-modern/src/components/Settings/InfrastructureActiveRowDetails.tsx`, `frontend-modern/src/components/Settings/InfrastructureIgnoredRowDetails.tsx`, `frontend-modern/src/components/Settings/InfrastructureStopMonitoringDialog.tsx`, `frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx`, `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`, `frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts`, `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`, `frontend-modern/src/components/Settings/proxmoxSettingsModel.ts`, `frontend-modern/src/components/Settings/ProxmoxDirectWorkspace.tsx`, `frontend-modern/src/components/Settings/ProxmoxConfiguredNodesTable.tsx`, `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`, `frontend-modern/src/components/Settings/ProxmoxNodeModalStack.tsx`, `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`, `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`, `frontend-modern/src/components/Settings/infrastructureSettingsModel.ts`, `frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts`, `frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts`, `frontend-modern/src/components/Settings/useInfrastructureInstallState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureReportingState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`, `frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts`, `frontend-modern/src/components/Settings/NodeModal.tsx`, `frontend-modern/src/components/Settings/nodeModalModel.ts`, `frontend-modern/src/components/Settings/useNodeModalState.ts`, `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`, `frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx`, and `frontend-modern/src/utils/agentInstallCommand.ts`.
+6. Add or change profile management, the extracted agent profiles runtime owner, the pure unified-agent inventory/install model, the API-backed platform connections workspace shell, route model, reporting summary owner, shared install/inventory/dialog section owners, the split infrastructure install/reporting state owners, the split direct-node/discovery infrastructure settings owners plus their shared model, shared frontend install-command assembly, Proxmox setup/install API transport, TrueNAS platform-connection management, setup-completion install handoff transport, deploy-fallback manual install transport, and fleet-control presentation through `frontend-modern/src/api/agentProfiles.ts`, `frontend-modern/src/api/nodes.ts`, `frontend-modern/src/components/Settings/AgentProfilesPanel.tsx`, `frontend-modern/src/components/Settings/useAgentProfilesPanelState.ts`, `frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx`, `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx`, `frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx`, `frontend-modern/src/components/Settings/InfrastructureInventorySection.tsx`, `frontend-modern/src/components/Settings/InfrastructureActiveRowDetails.tsx`, `frontend-modern/src/components/Settings/InfrastructureIgnoredRowDetails.tsx`, `frontend-modern/src/components/Settings/InfrastructureStopMonitoringDialog.tsx`, `frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx`, `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`, `frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts`, `frontend-modern/src/components/Settings/PlatformConnectionsWorkspace.tsx`, `frontend-modern/src/components/Settings/platformConnectionsModel.ts`, `frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx`, `frontend-modern/src/components/Settings/useTrueNASSettingsPanelState.ts`, `frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx`, `frontend-modern/src/components/Settings/proxmoxSettingsModel.ts`, `frontend-modern/src/components/Settings/ProxmoxDirectWorkspace.tsx`, `frontend-modern/src/components/Settings/ProxmoxConfiguredNodesTable.tsx`, `frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDiscoveryResultsCard.tsx`, `frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx`, `frontend-modern/src/components/Settings/ProxmoxNodeModalStack.tsx`, `frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx`, `frontend-modern/src/components/Settings/SettingsSectionNav.tsx`, `frontend-modern/src/components/Settings/infrastructureSettingsModel.ts`, `frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts`, `frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts`, `frontend-modern/src/components/Settings/useInfrastructureInstallState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureReportingState.tsx`, `frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts`, `frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts`, `frontend-modern/src/components/Settings/NodeModal.tsx`, `frontend-modern/src/components/Settings/nodeModalModel.ts`, `frontend-modern/src/components/Settings/useNodeModalState.ts`, `frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx`, and `frontend-modern/src/utils/agentInstallCommand.ts`.
7. Preserve canonical token-lifecycle reads in shared `internal/api/` auth/security helpers so lifecycle-adjacent setup and install flows do not revoke a displayed relay pairing token after `lastUsedAt` proves that an already paired device is actively depending on that credential.
8. Preserve backend-owned Pulse Mobile relay runtime credential minting in those same shared `internal/api/` auth/security helpers so lifecycle-adjacent setup and install flows reuse the canonical mobile token route instead of reintroducing wildcard or browser-authored runtime token bundles.
9. Preserve the dedicated backend-owned `relay:mobile:access` capability and its governed backward-compatible route inventory plus the shared helper call sites around it, so lifecycle-adjacent setup and install flows do not widen the mobile device credential back into general AI chat/execute scope ownership.
@@ -391,15 +395,17 @@ best-effort report.
When those lifecycle-adjacent calls fail validation, adjacent automation should
rely on the API-owned error codes rather than message-text heuristics, because
the backend contract owns the reporting validation classification.
-The direct Proxmox fallback workspace now also lives explicitly inside this
-lifecycle boundary: `InfrastructureWorkspace.tsx`,
+The API-backed platform connections workspace now also lives explicitly inside
+this lifecycle boundary: `InfrastructureWorkspace.tsx`,
`infrastructureWorkspaceModel.ts`,
`InfrastructureInstallPanel.tsx`, `InfrastructureInstallerSection.tsx`,
`InfrastructureReportingPanel.tsx`, `InfrastructureInventorySection.tsx`,
`InfrastructureActiveRowDetails.tsx`,
`InfrastructureIgnoredRowDetails.tsx`,
`InfrastructureStopMonitoringDialog.tsx`,
-`InfrastructureDirectConnectionsSummaryCard.tsx`,
+`InfrastructurePlatformConnectionsSummaryCard.tsx`,
+`PlatformConnectionsWorkspace.tsx`, `platformConnectionsModel.ts`,
+`TrueNASSettingsPanel.tsx`, `useTrueNASSettingsPanelState.ts`,
`ProxmoxSettingsPanel.tsx`, `proxmoxSettingsModel.ts`,
`ProxmoxDirectWorkspace.tsx`, `ProxmoxConfiguredNodesTable.tsx`,
`ProxmoxDirectConnectionsCard.tsx`, `ProxmoxDiscoveryResultsCard.tsx`,
@@ -409,13 +415,14 @@ lifecycle boundary: `InfrastructureWorkspace.tsx`,
`useInfrastructureConfiguredNodesState.ts`,
`useInfrastructureDiscoveryRuntimeState.ts`, `useInfrastructureSettingsState.ts`,
and `useProxmoxDirectWorkspaceState.ts` own the fallback install/direct/reporting
-operator flow, with `ProxmoxSettingsPanel.tsx` now acting as the shell and
-`ProxmoxDirectWorkspace.tsx` as the workspace owner, `useInfrastructureSettingsState.ts`
-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
+operator flow, with `PlatformConnectionsWorkspace.tsx` as the canonical
+API-backed platform shell, `ProxmoxSettingsPanel.tsx` and
+`TrueNASSettingsPanel.tsx` as provider-specific workspaces,
+`useInfrastructureSettingsState.ts` as the Proxmox composition boundary, and
+the direct-node/discovery runtime hooks plus `useTrueNASSettingsPanelState.ts`
+as the canonical provider state owners, instead of leaving those panels
+ungoverned beside the canonical unified-agent install path.
+That same API-backed platform 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
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index ecf18512c5..74d4f464e3 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -199,9 +199,10 @@ work extends shared components instead of creating new local variants.
10. Keep dashboard onboarding copy on the shared presentation owner in
`frontend-modern/src/utils/dashboardEmptyStatePresentation.ts`. Both the
infrastructure empty state and the dashboard route's no-resources state
- must name the canonical install workspace explicitly and expose the same
- first-host next step instead of falling back to passive “nothing here yet”
- wording.
+ must name the canonical install workspace explicitly, keep `Platform
+ connections` visible as the API-backed alternative for Proxmox and
+ TrueNAS, and expose the same first-host next step instead of falling back
+ to passive “nothing here yet” wording.
11. Keep the authenticated app root aligned with that same first-session path.
`frontend-modern/src/App.tsx` must land `/` on the dashboard shell and let
the governed dashboard empty state route first-time operators into
@@ -1488,8 +1489,9 @@ locks that direct-root contract so single-surface pages do not quietly regain
redundant outer spacing chrome.
The same shared settings-shell boundary now also owns the API-backed
alternative path inside Infrastructure Operations. `InfrastructureWorkspace.tsx`,
-`settingsHeaderMeta.ts`, `settingsNavigationModel.ts`,
-`dashboardEmptyStatePresentation.ts`, and adjacent setup guidance must treat
-`Platform connections` as the canonical API-backed alternative for Proxmox,
-TrueNAS, and future provider integrations instead of reviving top-level
-`Direct Proxmox` wording or shell-local provider routes.
+`InfrastructurePlatformConnectionsSummaryCard.tsx`, `settingsHeaderMeta.ts`,
+`settingsNavigationModel.ts`, `dashboardEmptyStatePresentation.ts`,
+`infrastructureEmptyStatePresentation.ts`, and adjacent setup guidance must
+treat `Platform connections` as the canonical API-backed alternative for
+Proxmox, TrueNAS, and future provider integrations instead of reviving
+top-level `Direct Proxmox` wording or shell-local provider routes.
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 10c6382eb7..c6239eec4c 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -538,13 +538,13 @@
"frontend-modern/src/components/Settings/AgentProfilesPanel.tsx",
"frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx",
"frontend-modern/src/components/Settings/InfrastructureActiveRowDetails.tsx",
- "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx",
"frontend-modern/src/components/Settings/InfrastructureIgnoredRowDetails.tsx",
"frontend-modern/src/components/Settings/InfrastructureInstallerSection.tsx",
"frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx",
"frontend-modern/src/components/Settings/InfrastructureInventorySection.tsx",
"frontend-modern/src/components/Settings/InfrastructureOperationsController.tsx",
"frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx",
+ "frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx",
"frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx",
"frontend-modern/src/components/Settings/infrastructureSettingsModel.ts",
"frontend-modern/src/components/Settings/InfrastructureStopMonitoringDialog.tsx",
@@ -557,6 +557,8 @@
"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/platformConnectionsModel.ts",
+ "frontend-modern/src/components/Settings/PlatformConnectionsWorkspace.tsx",
"frontend-modern/src/components/Settings/ProxmoxConfiguredNodesTable.tsx",
"frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx",
"frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx",
@@ -566,6 +568,7 @@
"frontend-modern/src/components/Settings/proxmoxSettingsModel.ts",
"frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx",
"frontend-modern/src/components/Settings/SettingsSectionNav.tsx",
+ "frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx",
"frontend-modern/src/components/Settings/useAgentProfilesPanelState.ts",
"frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts",
"frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts",
@@ -575,6 +578,7 @@
"frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts",
"frontend-modern/src/components/Settings/useNodeModalState.ts",
"frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts",
+ "frontend-modern/src/components/Settings/useTrueNASSettingsPanelState.ts",
"frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx",
"frontend-modern/src/utils/agentCapabilityPresentation.ts",
"frontend-modern/src/utils/agentInstallCommand.ts",
@@ -811,17 +815,19 @@
]
},
{
- "id": "direct-proxmox-workspace-surface",
- "label": "direct Proxmox workspace lifecycle proof",
+ "id": "platform-connections-workspace-surface",
+ "label": "platform connections workspace lifecycle proof",
"match_prefixes": [],
"match_files": [
"frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx",
- "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx",
"frontend-modern/src/components/Settings/InfrastructureInstallPanel.tsx",
+ "frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx",
"frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx",
"frontend-modern/src/components/Settings/infrastructureSettingsModel.ts",
"frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx",
"frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts",
+ "frontend-modern/src/components/Settings/platformConnectionsModel.ts",
+ "frontend-modern/src/components/Settings/PlatformConnectionsWorkspace.tsx",
"frontend-modern/src/components/Settings/ProxmoxConfiguredNodesTable.tsx",
"frontend-modern/src/components/Settings/ProxmoxDeleteNodeDialog.tsx",
"frontend-modern/src/components/Settings/ProxmoxDirectConnectionsCard.tsx",
@@ -831,10 +837,12 @@
"frontend-modern/src/components/Settings/proxmoxSettingsModel.ts",
"frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx",
"frontend-modern/src/components/Settings/SettingsSectionNav.tsx",
+ "frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx",
"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/useTrueNASSettingsPanelState.ts",
"frontend-modern/src/utils/clusterEndpointPresentation.ts",
"frontend-modern/src/utils/proxmoxSettingsPresentation.ts"
],
@@ -844,7 +852,10 @@
"frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
"frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/PlatformConnectionsWorkspace.test.tsx",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/TrueNASSettingsPanel.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/useTrueNASSettingsPanelState.test.tsx",
"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/frontend-modern/src/components/Dashboard/__tests__/DashboardStateCards.test.tsx b/frontend-modern/src/components/Dashboard/__tests__/DashboardStateCards.test.tsx
index 8f5c582d37..fcba4565d2 100644
--- a/frontend-modern/src/components/Dashboard/__tests__/DashboardStateCards.test.tsx
+++ b/frontend-modern/src/components/Dashboard/__tests__/DashboardStateCards.test.tsx
@@ -22,7 +22,7 @@ describe('DashboardStateCards', () => {
dashboardInfrastructureEmptyState={() => ({
title: 'No infrastructure hosts connected',
description:
- 'To start using Pulse, first add your infrastructure in Settings → Infrastructure → Install on a host. If you want an API-backed platform integration instead, use Settings → Infrastructure → Platform connections.',
+ 'To start using Pulse, first add your infrastructure in Settings → Infrastructure → Install on a host. If you want an API-backed platform such as Proxmox or TrueNAS instead, use Settings → Infrastructure → Platform connections.',
actionLabel: 'Open infrastructure setup',
})}
dashboardLoadingState={() => ({
diff --git a/frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx b/frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx
similarity index 64%
rename from frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx
rename to frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx
index fe32003850..3474d46b19 100644
--- a/frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx
@@ -1,30 +1,30 @@
import type { Component } from 'solid-js';
import { Card } from '@/components/shared/Card';
-interface InfrastructureDirectConnectionsSummaryCardProps {
+interface InfrastructurePlatformConnectionsSummaryCardProps {
pveCount: number;
pbsCount: number;
pmgCount: number;
- onManageDirectConnections: () => void;
+ onManagePlatformConnections: () => void;
}
-export const InfrastructureDirectConnectionsSummaryCard: Component<
- InfrastructureDirectConnectionsSummaryCardProps
+export const InfrastructurePlatformConnectionsSummaryCard: Component<
+ InfrastructurePlatformConnectionsSummaryCardProps
> = (props) => {
return (
<Card padding="lg" class="rounded-xl border border-border shadow-sm">
<div class="space-y-4">
<div class="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
<div>
- <h3 class="text-base font-semibold text-base-content">Direct Proxmox connections</h3>
+ <h3 class="text-base font-semibold text-base-content">Platform connections</h3>
<p class="text-sm text-muted">
- Review fallback Proxmox coverage separately from agent-managed hosts, then open the
- shared platform-connections workspace for Proxmox and TrueNAS integrations.
+ Manage the API-backed platforms Pulse polls directly. Proxmox VE, PBS, PMG, and
+ TrueNAS all live in the same shared platform-connections workspace.
</p>
</div>
<button
type="button"
- onClick={props.onManageDirectConnections}
+ onClick={props.onManagePlatformConnections}
class="inline-flex min-h-10 sm:min-h-9 items-center justify-center rounded-md border border-border px-3 py-2 text-sm font-medium text-base-content transition-colors hover:bg-surface-hover"
>
Open platform connections
@@ -45,9 +45,17 @@ export const InfrastructureDirectConnectionsSummaryCard: Component<
<div class="mt-1 text-xl font-semibold text-base-content">{props.pmgCount}</div>
</div>
</div>
+
+ <div class="rounded-lg border border-border bg-surface-alt px-4 py-3">
+ <div class="text-sm font-medium text-base-content">TrueNAS</div>
+ <p class="mt-1 text-sm text-muted">
+ Add and manage API-backed NAS systems, apps, disks, alerts, temperatures, and
+ recovery coverage from the TrueNAS tab in Platform connections.
+ </p>
+ </div>
</div>
</Card>
);
};
-export default InfrastructureDirectConnectionsSummaryCard;
+export default InfrastructurePlatformConnectionsSummaryCard;
diff --git a/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx b/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx
index 59de4802b5..336935f797 100644
--- a/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureReportingPanel.tsx
@@ -1,13 +1,13 @@
import type { Component } from 'solid-js';
import { AgentProfilesPanel } from './AgentProfilesPanel';
-import { InfrastructureDirectConnectionsSummaryCard } from './InfrastructureDirectConnectionsSummaryCard';
+import { InfrastructurePlatformConnectionsSummaryCard } from './InfrastructurePlatformConnectionsSummaryCard';
import { InfrastructureInventorySection } from './InfrastructureInventorySection';
import { InfrastructureStopMonitoringDialog } from './InfrastructureStopMonitoringDialog';
import type { ProxmoxSettingsPanelProps } from './proxmoxSettingsModel';
import { InfrastructureOperationsStateProvider } from './useInfrastructureOperationsState';
interface InfrastructureReportingPanelProps extends ProxmoxSettingsPanelProps {
- onManageDirectConnections: () => void;
+ onManagePlatformConnections: () => void;
}
export const InfrastructureReportingPanel: Component<InfrastructureReportingPanelProps> = (
@@ -21,11 +21,11 @@ export const InfrastructureReportingPanel: Component<InfrastructureReportingPane
</InfrastructureOperationsStateProvider>
<div class="grid gap-6 xl:grid-cols-[minmax(0,1.2fr)_minmax(320px,0.8fr)]">
- <InfrastructureDirectConnectionsSummaryCard
+ <InfrastructurePlatformConnectionsSummaryCard
pveCount={props.pveNodes().length}
pbsCount={props.pbsNodes().length}
pmgCount={props.pmgNodes().length}
- onManageDirectConnections={props.onManageDirectConnections}
+ onManagePlatformConnections={props.onManagePlatformConnections}
/>
</div>
diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
index add48cb2c1..d1e5bd5f4d 100644
--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
@@ -34,16 +34,16 @@ export const InfrastructureWorkspace: Component<InfrastructureWorkspaceProps> =
<h3 class="text-base font-semibold text-base-content">Connect your first system</h3>
<p class="text-sm text-muted">
Start with Install on a host to connect the first machine you want Pulse to monitor.
- If you already know you want an API-backed platform integration instead, go straight
- to Platform connections.
+ If you already know you want an API-backed platform such as Proxmox or TrueNAS
+ instead, go straight to Platform connections.
</p>
</div>
<div class="grid gap-3 lg:grid-cols-3">
<div class="rounded-md border border-border bg-surface px-4 py-3">
<p class="text-xs font-semibold uppercase tracking-wide text-muted">1. Choose path</p>
<p class="mt-1 text-sm text-base-content">
- Install Pulse on a host first, or open Platform connections for systems Pulse
- should poll through their own APIs.
+ Install Pulse on a host first, or open Platform connections for Proxmox, TrueNAS,
+ and other systems Pulse should poll through their own APIs.
</p>
</div>
<div class="rounded-md border border-border bg-surface px-4 py-3">
@@ -52,7 +52,7 @@ export const InfrastructureWorkspace: Component<InfrastructureWorkspaceProps> =
</p>
<p class="mt-1 text-sm text-base-content">
Create the install token Pulse expects for the first monitored host, or add the API
- credentials Pulse should store for platform-backed systems.
+ credentials Pulse should store for API-backed platforms like Proxmox and TrueNAS.
</p>
</div>
<div class="rounded-md border border-border bg-surface px-4 py-3">
@@ -121,7 +121,7 @@ export const InfrastructureWorkspace: Component<InfrastructureWorkspaceProps> =
<Match when={activeView() === 'inventory'}>
<InfrastructureReportingPanel
{...props}
- onManageDirectConnections={() => openView('platforms')}
+ onManagePlatformConnections={() => openView('platforms')}
/>
</Match>
</Switch>
diff --git a/frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx b/frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx
index dbcfc253d8..a48a860e95 100644
--- a/frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx
+++ b/frontend-modern/src/components/Settings/TrueNASSettingsPanel.tsx
@@ -34,9 +34,9 @@ export const TrueNASSettingsPanel: Component = () => {
description={
<>
<p>
- Connect TrueNAS through its API so Pulse can ingest pools, datasets, disks, alerts,
- and recovery artifacts as a first-class platform instead of treating the NAS like a
- generic host.
+ Connect TrueNAS through its API so Pulse can ingest pools, datasets, disks, disk
+ temperatures, apps, alerts, and recovery artifacts as a first-class platform instead
+ of treating the NAS like a generic host.
</p>
<p class="mt-2">
Use the unified agent on TrueNAS only as optional augmentation later if there is
@@ -72,7 +72,8 @@ export const TrueNASSettingsPanel: Component = () => {
<h3 class="text-base font-semibold text-base-content">TrueNAS connections</h3>
<p class="text-sm text-muted">
Manage the API-backed TrueNAS systems Pulse should poll and normalize into the
- unified resource model.
+ unified resource model for infrastructure, workloads, alerts, storage, and
+ recovery.
</p>
</div>
<div class="flex items-center gap-2">
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx
index 156194a076..4d7f06b89e 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx
@@ -9,7 +9,7 @@ import infrastructureInstallerSectionSource from '../InfrastructureInstallerSect
import infrastructureOperationsControllerSource from '../InfrastructureOperationsController.tsx?raw';
import infrastructureOperationsModelSource from '../infrastructureOperationsModel.tsx?raw';
import infrastructureReportingPanelSource from '../InfrastructureReportingPanel.tsx?raw';
-import infrastructureDirectConnectionsSummaryCardSource from '../InfrastructureDirectConnectionsSummaryCard.tsx?raw';
+import infrastructurePlatformConnectionsSummaryCardSource from '../InfrastructurePlatformConnectionsSummaryCard.tsx?raw';
import infrastructureInventorySectionSource from '../InfrastructureInventorySection.tsx?raw';
import infrastructureInstallStateSource from '../useInfrastructureInstallState.tsx?raw';
import infrastructureOperationsStateSource from '../useInfrastructureOperationsState.tsx?raw';
@@ -98,12 +98,13 @@ describe('InfrastructureOperationsController ownership guardrails', () => {
expect(infrastructureReportingPanelSource).toContain('InfrastructureInventorySection');
expect(infrastructureReportingPanelSource).toContain('InfrastructureStopMonitoringDialog');
expect(infrastructureReportingPanelSource).toContain(
- './InfrastructureDirectConnectionsSummaryCard',
+ './InfrastructurePlatformConnectionsSummaryCard',
);
- expect(infrastructureReportingPanelSource).not.toContain('Direct Proxmox connections');
- expect(infrastructureDirectConnectionsSummaryCardSource).toContain(
- 'Direct Proxmox connections',
+ expect(infrastructureReportingPanelSource).not.toContain('Platform connections');
+ expect(infrastructurePlatformConnectionsSummaryCardSource).toContain(
+ 'Platform connections',
);
+ expect(infrastructurePlatformConnectionsSummaryCardSource).toContain('TrueNAS');
expect(infrastructureOperationsStateSource).toContain("./infrastructureOperationsModel");
expect(infrastructureOperationsStateSource).toContain('./useInfrastructureInstallState');
expect(infrastructureOperationsStateSource).toContain('./useInfrastructureReportingState');
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
index 745d7f81f8..da8901e525 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
@@ -59,7 +59,7 @@ describe('InfrastructureWorkspace', () => {
expect(screen.getByText('Connect your first system')).toBeInTheDocument();
expect(
screen.getByText(
- 'Start with Install on a host to connect the first machine you want Pulse to monitor. If you already know you want an API-backed platform integration instead, go straight to Platform connections.',
+ 'Start with Install on a host to connect the first machine you want Pulse to monitor. If you already know you want an API-backed platform such as Proxmox or TrueNAS instead, go straight to Platform connections.',
),
).toBeInTheDocument();
expect(screen.getByText('1. Choose path')).toBeInTheDocument();
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index 3bd32e10c7..9f03efdcae 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -14,7 +14,7 @@ import infrastructureInstallerSectionSource from '../InfrastructureInstallerSect
import infrastructureOperationsControllerSource from '../InfrastructureOperationsController.tsx?raw';
import infrastructureOperationsModelSource from '../infrastructureOperationsModel.tsx?raw';
import infrastructureReportingPanelSource from '../InfrastructureReportingPanel.tsx?raw';
-import infrastructureDirectConnectionsSummaryCardSource from '../InfrastructureDirectConnectionsSummaryCard.tsx?raw';
+import infrastructurePlatformConnectionsSummaryCardSource from '../InfrastructurePlatformConnectionsSummaryCard.tsx?raw';
import trueNASSettingsPanelSource from '../TrueNASSettingsPanel.tsx?raw';
import infrastructureInventorySectionSource from '../InfrastructureInventorySection.tsx?raw';
import infrastructureActiveRowDetailsSource from '../InfrastructureActiveRowDetails.tsx?raw';
@@ -200,7 +200,7 @@ const extractedModules = [
'../InfrastructureInstallPanel.tsx',
'../InfrastructureInstallerSection.tsx',
'../InfrastructureReportingPanel.tsx',
- '../InfrastructureDirectConnectionsSummaryCard.tsx',
+ '../InfrastructurePlatformConnectionsSummaryCard.tsx',
'../InfrastructureInventorySection.tsx',
'../InfrastructureActiveRowDetails.tsx',
'../InfrastructureIgnoredRowDetails.tsx',
@@ -878,9 +878,9 @@ describe('Settings architecture guardrails', () => {
expect(infrastructureReportingPanelSource).toContain('InfrastructureInventorySection');
expect(infrastructureReportingPanelSource).toContain('InfrastructureStopMonitoringDialog');
expect(infrastructureReportingPanelSource).toContain(
- './InfrastructureDirectConnectionsSummaryCard',
+ './InfrastructurePlatformConnectionsSummaryCard',
);
- expect(infrastructureReportingPanelSource).not.toContain('Direct Proxmox connections');
+ expect(infrastructureReportingPanelSource).not.toContain('Platform connections');
expect(infrastructureReportingPanelSource).not.toContain('Manage direct connections');
expect(infrastructureOperationsControllerSource).toContain(
'InfrastructureOperationsStateProvider',
@@ -929,10 +929,11 @@ describe('Settings architecture guardrails', () => {
expect(infrastructureWorkspaceModelSource).toContain(
'export function buildInfrastructureWorkspacePath',
);
- expect(infrastructureDirectConnectionsSummaryCardSource).toContain(
- 'Direct Proxmox connections',
+ expect(infrastructurePlatformConnectionsSummaryCardSource).toContain(
+ 'Platform connections',
);
- expect(infrastructureDirectConnectionsSummaryCardSource).toContain(
+ expect(infrastructurePlatformConnectionsSummaryCardSource).toContain('TrueNAS');
+ expect(infrastructurePlatformConnectionsSummaryCardSource).toContain(
'Open platform connections',
);
expect(infrastructureInstallPanelSource).not.toContain('<PageHeader');
diff --git a/frontend-modern/src/utils/__tests__/dashboardEmptyStatePresentation.test.ts b/frontend-modern/src/utils/__tests__/dashboardEmptyStatePresentation.test.ts
index 9a72b65596..2288c2f755 100644
--- a/frontend-modern/src/utils/__tests__/dashboardEmptyStatePresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/dashboardEmptyStatePresentation.test.ts
@@ -14,7 +14,7 @@ describe('dashboardEmptyStatePresentation', () => {
expect(getDashboardInfrastructureEmptyState()).toEqual({
title: 'No infrastructure hosts connected',
description:
- 'To start using Pulse, first add your infrastructure in Settings → Infrastructure → Install on a host. If you want an API-backed platform integration instead, use Settings → Infrastructure → Platform connections.',
+ 'To start using Pulse, first add your infrastructure in Settings → Infrastructure → Install on a host. If you want an API-backed platform such as Proxmox or TrueNAS instead, use Settings → Infrastructure → Platform connections.',
actionLabel: 'Open infrastructure setup',
});
});
diff --git a/frontend-modern/src/utils/__tests__/infrastructureEmptyStatePresentation.test.ts b/frontend-modern/src/utils/__tests__/infrastructureEmptyStatePresentation.test.ts
index 545b7078c8..0343a7f105 100644
--- a/frontend-modern/src/utils/__tests__/infrastructureEmptyStatePresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/infrastructureEmptyStatePresentation.test.ts
@@ -10,7 +10,7 @@ describe('infrastructureEmptyStatePresentation', () => {
expect(getInfrastructureEmptyState()).toEqual({
title: 'No infrastructure resources yet',
description:
- 'Start by opening Settings → Infrastructure → Install on a host and adding the first system you want Pulse to monitor. If you prefer an API-backed platform integration instead, use Platform connections.',
+ 'Start by opening Settings → Infrastructure → Install on a host and adding the first system you want Pulse to monitor. If you prefer an API-backed platform such as Proxmox or TrueNAS instead, use Platform connections.',
actionLabel: 'Open Infrastructure Install',
});
});
diff --git a/frontend-modern/src/utils/dashboardEmptyStatePresentation.ts b/frontend-modern/src/utils/dashboardEmptyStatePresentation.ts
index b672e8b028..4bb977cec1 100644
--- a/frontend-modern/src/utils/dashboardEmptyStatePresentation.ts
+++ b/frontend-modern/src/utils/dashboardEmptyStatePresentation.ts
@@ -2,7 +2,7 @@ export function getDashboardInfrastructureEmptyState() {
return {
title: 'No infrastructure hosts connected',
description:
- 'To start using Pulse, first add your infrastructure in Settings → Infrastructure → Install on a host. If you want an API-backed platform integration instead, use Settings → Infrastructure → Platform connections.',
+ 'To start using Pulse, first add your infrastructure in Settings → Infrastructure → Install on a host. If you want an API-backed platform such as Proxmox or TrueNAS instead, use Settings → Infrastructure → Platform connections.',
actionLabel: 'Open infrastructure setup',
} as const;
}
diff --git a/frontend-modern/src/utils/infrastructureEmptyStatePresentation.ts b/frontend-modern/src/utils/infrastructureEmptyStatePresentation.ts
index dda60703ce..d321d65644 100644
--- a/frontend-modern/src/utils/infrastructureEmptyStatePresentation.ts
+++ b/frontend-modern/src/utils/infrastructureEmptyStatePresentation.ts
@@ -2,7 +2,7 @@ export function getInfrastructureEmptyState() {
return {
title: 'No infrastructure resources yet',
description:
- 'Start by opening Settings → Infrastructure → Install on a host and adding the first system you want Pulse to monitor. If you prefer an API-backed platform integration instead, use Platform connections.',
+ 'Start by opening Settings → Infrastructure → Install on a host and adding the first system you want Pulse to monitor. If you prefer an API-backed platform such as Proxmox or TrueNAS instead, use Platform connections.',
actionLabel: 'Open Infrastructure Install',
} as const;
}
diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.py
index 2c74ad4469..b32afa5a26 100644
--- a/scripts/release_control/canonical_completion_guard_test.py
+++ b/scripts/release_control/canonical_completion_guard_test.py
@@ -20,6 +20,19 @@ from canonical_completion_guard import (
WORKSPACE_REPOS_ROOT = REPO_ROOT.parent
+PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES = [
+ "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/PlatformConnectionsWorkspace.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/TrueNASSettingsPanel.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/useTrueNASSettingsPanelState.test.tsx",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
+]
+
def split_workspace_path(path: str) -> tuple[Path, str]:
if ":" not in path:
@@ -1998,7 +2011,7 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
],
)
- def _assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ def _assert_platform_connections_workspace_change_requires_agent_lifecycle(
self, touched_path: str
) -> None:
required = infer_impacted_subsystems([touched_path])
@@ -2014,36 +2027,28 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
lifecycle["verification_requirements"],
[
{
- "id": "direct-proxmox-workspace-surface",
- "label": "direct Proxmox workspace lifecycle proof",
+ "id": "platform-connections-workspace-surface",
+ "label": "platform connections workspace lifecycle proof",
"touched_runtime_files": [touched_path],
"allow_same_subsystem_tests": False,
"test_prefixes": [],
- "exact_files": [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ "exact_files": PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
}
],
)
def test_proxmox_settings_panel_change_requires_agent_lifecycle(self):
- self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ self._assert_platform_connections_workspace_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/ProxmoxSettingsPanel.tsx"
)
def test_infrastructure_settings_state_change_requires_agent_lifecycle(self):
- self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ self._assert_platform_connections_workspace_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/useInfrastructureSettingsState.ts"
)
def test_infrastructure_settings_model_change_requires_agent_lifecycle(self):
- self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ self._assert_platform_connections_workspace_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/infrastructureSettingsModel.ts"
)
@@ -2064,22 +2069,14 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
lifecycle["verification_requirements"],
[
{
- "id": "direct-proxmox-workspace-surface",
- "label": "direct Proxmox workspace lifecycle proof",
+ "id": "platform-connections-workspace-surface",
+ "label": "platform connections workspace lifecycle proof",
"touched_runtime_files": [
"frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts"
],
"allow_same_subsystem_tests": False,
"test_prefixes": [],
- "exact_files": [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ "exact_files": PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
}
],
)
@@ -2128,22 +2125,14 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
lifecycle["verification_requirements"],
[
{
- "id": "direct-proxmox-workspace-surface",
- "label": "direct Proxmox workspace lifecycle proof",
+ "id": "platform-connections-workspace-surface",
+ "label": "platform connections workspace lifecycle proof",
"touched_runtime_files": [
"frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts"
],
"allow_same_subsystem_tests": False,
"test_prefixes": [],
- "exact_files": [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ "exact_files": PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
}
],
)
@@ -2176,17 +2165,17 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
)
def test_infrastructure_workspace_model_change_requires_agent_lifecycle(self):
- self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ self._assert_platform_connections_workspace_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/infrastructureWorkspaceModel.ts"
)
def test_infrastructure_reporting_summary_change_requires_agent_lifecycle(self):
- self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
- "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx"
+ self._assert_platform_connections_workspace_change_requires_agent_lifecycle(
+ "frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx"
)
def test_proxmox_direct_workspace_state_change_requires_agent_lifecycle(self):
- self._assert_direct_proxmox_workspace_change_requires_agent_lifecycle(
+ self._assert_platform_connections_workspace_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/useProxmoxDirectWorkspaceState.ts"
)
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index 71246ff7e1..c80cc285bd 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -24,6 +24,19 @@ PATROL_PAGE_AND_STATE_EXACT_FILES = [
"tests/integration/tests/18-patrol-runtime-state.spec.ts",
]
+PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES = [
+ "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/PlatformConnectionsWorkspace.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/TrueNASSettingsPanel.test.tsx",
+ "frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/useTrueNASSettingsPanelState.test.tsx",
+ "frontend-modern/src/utils/__tests__/clusterEndpointPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/proxmoxSettingsPresentation.test.ts",
+]
+
class SubsystemLookupTest(unittest.TestCase):
def test_lookup_paths_reports_multiple_subsystems_for_shared_runtime_file(self) -> None:
@@ -1804,19 +1817,11 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(match["lane_context"]["lane_id"], "L16")
self.assertEqual(
match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
- [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
)
def test_lookup_paths_assigns_infrastructure_workspace_model_to_agent_lifecycle(self) -> None:
@@ -1842,19 +1847,11 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(match["lane_context"]["lane_id"], "L16")
self.assertEqual(
match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
- [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
)
def test_lookup_paths_assigns_infrastructure_reporting_summary_to_agent_lifecycle(
@@ -1862,7 +1859,7 @@ class SubsystemLookupTest(unittest.TestCase):
) -> None:
result = lookup_paths(
[
- "frontend-modern/src/components/Settings/InfrastructureDirectConnectionsSummaryCard.tsx"
+ "frontend-modern/src/components/Settings/InfrastructurePlatformConnectionsSummaryCard.tsx"
]
)
self.assertEqual(result["unowned_runtime_files"], [])
@@ -1884,19 +1881,11 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(match["lane_context"]["lane_id"], "L16")
self.assertEqual(
match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
- [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
)
def test_lookup_paths_assigns_proxmox_direct_workspace_state_to_agent_lifecycle(self) -> None:
@@ -1922,19 +1911,11 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(match["lane_context"]["lane_id"], "L16")
self.assertEqual(
match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
- [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
)
def test_lookup_paths_assigns_infrastructure_settings_model_to_agent_lifecycle(self) -> None:
@@ -1955,19 +1936,11 @@ class SubsystemLookupTest(unittest.TestCase):
match = file_entry["matches"][0]
self.assertEqual(
match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
- [
- "frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsController.test.tsx",
- "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",
- ],
+ PLATFORM_CONNECTIONS_WORKSPACE_EXACT_FILES,
)
def test_lookup_paths_reports_agent_install_backend_as_shared_boundary(self) -> None:
@@ -3919,7 +3892,7 @@ class SubsystemLookupTest(unittest.TestCase):
)
self.assertEqual(
lifecycle_match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
def test_lookup_paths_assigns_infrastructure_discovery_runtime_state_to_shared_agent_lifecycle_and_api_contracts(
@@ -3952,7 +3925,7 @@ class SubsystemLookupTest(unittest.TestCase):
)
self.assertEqual(
lifecycle_match["verification_requirement"]["id"],
- "direct-proxmox-workspace-surface",
+ "platform-connections-workspace-surface",
)
def test_lookup_paths_assigns_infrastructure_reporting_state_to_shared_agent_lifecycle_and_api_contracts(