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.

Recenter infrastructure settings on monitored systems

rcourtmand78bc6458303
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index ad895fcb25..031b333074 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -415,8 +415,8 @@ an add-only capacity posture.
same completion narrative must describe Infrastructure Install as the place
where the first-host scoped install token is prepared from setup handoff,
and when it names the shared settings workspace for follow-up lifecycle
- control it must use the canonical `Connections & Inventory` label instead
- of reviving the retired `Infrastructure Operations` wording.
+ control it must use the canonical `Infrastructure` label instead of
+ reviving the retired `Infrastructure Operations` wording.
not as a second manual token-generation task the operator still needs to
figure out.
10. Keep API-backed platform onboarding explicit across
@@ -851,11 +851,13 @@ 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 ledger-first default route must stay focused on top-level monitored
-systems and configured platform connections only. Inline detail drawers may
-surface reporting-item and ignored-item controls, but installer setup,
-platform-specific configuration, and profile management must remain secondary
-flows rather than being dumped underneath the default ledger.
+That ledger-first default route must stay focused on one row per top-level
+monitored system. Configured platform connections must stay in secondary
+connection-management flows rather than appearing as peer rows in the default
+ledger. Inline detail drawers may surface reporting-item and ignored-item
+controls, but installer setup, platform-specific configuration, and profile
+management must remain secondary flows rather than being dumped underneath the
+default ledger.
That same lifecycle-owned platform-connections workspace must keep API-backed
provider state operationally useful, not CRUD-only. `TrueNASSettingsPanel.tsx`
and `useTrueNASSettingsPanelState.ts` must surface the shared runtime health,
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index e65d93169c..ce75a8923c 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -216,10 +216,12 @@ work extends shared components instead of creating new local variants.
5. Keep shared platform-connections shell state on the reusable settings boundary: `frontend-modern/src/components/Settings/useSettingsInfrastructurePanelProps.ts`, `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`, and `frontend-modern/src/components/Settings/PlatformConnectionsWorkspace.tsx` must continue to derive provider counts, availability, and shared subtab copy from one infrastructure-settings source instead of creating provider-local summary fetches or VMware-only shell vocabulary.
That same shared shell boundary now owns the default posture for
`/settings/infrastructure`: the landing route should read as one ledger-first
- workspace for top-level systems and configured platform connections, while
- installer tooling, provider setup workspaces, and profile management remain
- secondary flows opened by explicit deep links or drawers instead of being
- dumped inline underneath the default table.
+ workspace with one row per top-level monitored system. Configured platform
+ connections must stay in their own management workspace instead of showing up
+ as peer rows in the default table, while installer tooling, provider setup
+ workspaces, and profile management remain secondary flows opened by explicit
+ deep links or drawers instead of being dumped inline underneath the default
+ table.
6. Keep Proxmox deep-link route selection on the shared settings-navigation boundary. `frontend-modern/src/components/Settings/settingsNavigationModel.ts` and `frontend-modern/src/components/Settings/useSettingsNavigation.ts` must treat the canonical PBS and PMG Proxmox deep links as agent-selection authority even though those URLs resolve to the shared `infrastructure-operations` tab. Reloading or remounting on a PBS or PMG deep link must not silently fall back to the PVE selector state.
7. Keep shared storage feature presenters on canonical platform truth. When reusable storage presenters under `frontend-modern/src/features/storageBackups/` classify canonical resources for the shared storage route, API-backed virtualization datastores such as VMware must stay inventory-only datastores instead of inheriting PBS-specific backup-repository or protected-target copy from older fallback branches.
8. Keep shared source/platform vocabulary on the governed manifest boundary. `frontend-modern/src/utils/platformSupportManifest.generated.ts` must be the tracked frontend projection of `docs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.json`, `frontend-modern/src/utils/platformSupportManifest.ts`, `frontend-modern/src/utils/sourcePlatforms.ts`, and `frontend-modern/src/utils/sourcePlatformOptions.ts` must consume that generated projection instead of embedding divergent future-label lists, setup/onboarding path allowlists, or presentation-only guesses, and `frontend-modern/scripts/canonical-platform-audit.mjs` must fail when the generated projection drifts from the governed manifest.
@@ -2134,7 +2136,7 @@ reference cases, and
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 Connections & Inventory. `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`,
+alternative path inside Infrastructure. `frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx`,
`frontend-modern/src/components/Settings/settingsHeaderMeta.ts`,
`frontend-modern/src/components/Settings/settingsNavigationModel.ts`, `frontend-modern/src/utils/dashboardEmptyStatePresentation.ts`,
`frontend-modern/src/utils/infrastructureEmptyStatePresentation.ts`, and adjacent setup guidance must
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index 562843d605..55955490ca 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -895,8 +895,8 @@
]
},
{
- "id": "connections-ledger-workspace-surface",
- "label": "connections ledger lifecycle proof",
+ "id": "systems-ledger-workspace-surface",
+ "label": "systems ledger lifecycle proof",
"match_prefixes": [],
"match_files": [
"frontend-modern/src/components/Settings/ConnectionsTable.tsx",
diff --git a/frontend-modern/src/components/Settings/ConnectionsTable.tsx b/frontend-modern/src/components/Settings/ConnectionsTable.tsx
index 9e2897e61a..09c8bfae75 100644
--- a/frontend-modern/src/components/Settings/ConnectionsTable.tsx
+++ b/frontend-modern/src/components/Settings/ConnectionsTable.tsx
@@ -8,7 +8,7 @@ import {
TableHeader,
TableRow,
} from '@/components/shared/Table';
-import type { ConnectionRow } from './connectionsTableModel';
+import type { InfrastructureSystemRow } from './connectionsTableModel';
export interface ConnectionsTableHeaderAction {
label: string;
@@ -17,9 +17,9 @@ export interface ConnectionsTableHeaderAction {
}
interface ConnectionsTableProps {
- rows: Accessor<readonly ConnectionRow[]>;
+ rows: Accessor<readonly InfrastructureSystemRow[]>;
headerActions?: readonly ConnectionsTableHeaderAction[];
- onManageRow?: (row: ConnectionRow) => void;
+ onManageRow?: (row: InfrastructureSystemRow) => void;
}
export const ConnectionsTable: Component<ConnectionsTableProps> = (props) => {
@@ -27,8 +27,8 @@ export const ConnectionsTable: Component<ConnectionsTableProps> = (props) => {
<Card padding="none" tone="card" class="rounded-md">
<div class="flex flex-col gap-3 border-b border-border px-4 py-3 sm:flex-row sm:items-center sm:justify-between">
<div>
- <h3 class="text-base font-semibold text-base-content">Connections and inventory</h3>
- <p class="text-xs text-muted">Top-level systems and platform connections.</p>
+ <h3 class="text-base font-semibold text-base-content">Systems</h3>
+ <p class="text-xs text-muted">One row per top-level monitored system.</p>
</div>
<Show when={(props.headerActions?.length ?? 0) > 0}>
<div class="flex flex-wrap items-center gap-2">
@@ -54,9 +54,7 @@ export const ConnectionsTable: Component<ConnectionsTableProps> = (props) => {
<Show
when={props.rows().length > 0}
fallback={
- <div class="px-4 py-10 text-center text-sm text-muted">
- Nothing is configured or reporting yet.
- </div>
+ <div class="px-4 py-10 text-center text-sm text-muted">No monitored systems yet.</div>
}
>
<div class="overflow-auto">
diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
index a20985c770..efdf7cec4a 100644
--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
@@ -6,9 +6,9 @@ import { AgentProfilesPanel } from './AgentProfilesPanel';
import { AddSystemPicker, type AddSystemChoice } from './AddSystemPicker';
import { ConnectionsTable, type ConnectionsTableHeaderAction } from './ConnectionsTable';
import {
- buildConnectionRows,
- type ConnectionRow,
- type ConnectionManageAction,
+ buildInfrastructureSystemRows,
+ type InfrastructureSystemRow,
+ type SystemManageAction,
} from './connectionsTableModel';
import { InfrastructureActiveRowDetails } from './InfrastructureActiveRowDetails';
import { InfrastructureInstallerSection } from './InfrastructureInstallerSection';
@@ -59,22 +59,24 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
let platformSectionRef: HTMLDivElement | undefined;
let installSectionRef: HTMLDivElement | undefined;
- const rows = createMemo<ConnectionRow[]>(() =>
- buildConnectionRows({
+ const rows = createMemo<InfrastructureSystemRow[]>(() =>
+ buildInfrastructureSystemRows({
activeRows: state.activeRows(),
monitoringStoppedRows: state.monitoringStoppedRows(),
- pveNodes: props.pveNodes(),
- pbsNodes: props.pbsNodes(),
- pmgNodes: props.pmgNodes(),
- truenasConnections: props.trueNASSettings.connections(),
- vmwareConnections: props.vmwareSettings.connections(),
- includeConfigurationRows: !readOnlyWorkspace(),
}),
);
const headerActions = createMemo<ConnectionsTableHeaderAction[]>(() =>
readOnlyWorkspace()
? []
: [
+ {
+ label: 'Manage connections',
+ onSelect: () => {
+ navigate(buildInfrastructureWorkspacePath('platforms'));
+ scrollSectionIntoView(platformSectionRef);
+ },
+ tone: 'secondary' as const,
+ },
{
label: 'Agent profiles',
onSelect: () => setProfilesOpen(true),
@@ -132,7 +134,7 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
openProxmoxNode(choice.kind, '');
};
- const handleManageAction = (action: ConnectionManageAction) => {
+ const handleManageAction = (action: SystemManageAction) => {
switch (action.kind) {
case 'inventory-active':
state.setExpandedRowKey(action.rowKey);
@@ -142,33 +144,6 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
state.setExpandedRowKey(null);
state.setSelectedIgnoredRowKey(action.rowKey);
return;
- case 'proxmox-node':
- openProxmoxNode(action.nodeKind, action.nodeId);
- return;
- case 'truenas-connection': {
- const connection = props
- .trueNASSettings
- .connections()
- .find((candidate) => candidate.id === action.connectionId);
- if (connection) {
- props.trueNASSettings.openEditDialog(connection);
- }
- navigate('/settings/infrastructure/platforms/truenas');
- scrollSectionIntoView(platformSectionRef);
- return;
- }
- case 'vmware-connection': {
- const connection = props
- .vmwareSettings
- .connections()
- .find((candidate) => candidate.id === action.connectionId);
- if (connection) {
- props.vmwareSettings.openEditDialog(connection);
- }
- navigate('/settings/infrastructure/platforms/vmware');
- scrollSectionIntoView(platformSectionRef);
- return;
- }
default:
return;
}
diff --git a/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx b/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx
index 0181e6dc1e..dcb7b497c8 100644
--- a/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx
@@ -1,20 +1,20 @@
import { cleanup, fireEvent, render, screen } from '@solidjs/testing-library';
import { afterEach, describe, expect, it, vi } from 'vitest';
import { ConnectionsTable } from '../ConnectionsTable';
-import type { ConnectionRow } from '../connectionsTableModel';
+import type { InfrastructureSystemRow } from '../connectionsTableModel';
-const row = (overrides: Partial<ConnectionRow> = {}): ConnectionRow => ({
+const row = (overrides: Partial<InfrastructureSystemRow> = {}): InfrastructureSystemRow => ({
id: 'row-1',
- name: 'production-pve',
- subtitle: 'Configured platform connection',
+ name: 'tower',
+ subtitle: 'Monitored system',
host: '10.0.0.1',
- coverageLabels: ['Proxmox VE data'],
- collectionLabel: 'API',
- statusLabel: 'Connected',
+ coverageLabels: ['Host telemetry'],
+ collectionLabel: 'Agent',
+ statusLabel: 'online',
statusClassName: 'bg-green-100 text-green-800',
lastActivityText: '5s ago',
- manageLabel: 'Edit connection',
- manage: { kind: 'proxmox-node', nodeKind: 'pve', nodeId: 'pve-1' },
+ manageLabel: 'View details',
+ manage: { kind: 'inventory-active', rowKey: 'agent:tower' },
...overrides,
});
@@ -26,40 +26,40 @@ describe('ConnectionsTable', () => {
<ConnectionsTable rows={() => []} />
) as any);
- expect(screen.getByText(/Nothing is configured or reporting yet/i)).toBeInTheDocument();
+ expect(screen.getByText(/No monitored systems yet/i)).toBeInTheDocument();
expect(screen.queryByRole('table')).toBeNull();
});
- it('renders one row per connection with coverage, collection, and status labels', () => {
+ it('renders one row per top-level monitored system with coverage, collection, and status labels', () => {
render(() => (
<ConnectionsTable
rows={() => [
row(),
row({
id: 'row-2',
- name: 'tower',
- subtitle: 'Live reporting item',
+ name: 'pbs-docker',
+ subtitle: 'Ignored by Pulse',
host: undefined,
- coverageLabels: ['Host telemetry', 'Docker runtime data'],
- collectionLabel: 'Agent',
- statusLabel: 'Reporting',
- manageLabel: 'View details',
- manage: { kind: 'inventory-active', rowKey: 'agent-tower' },
+ coverageLabels: ['PBS data'],
+ collectionLabel: 'API',
+ statusLabel: 'Ignored',
+ manageLabel: 'Review ignored',
+ manage: { kind: 'inventory-ignored', rowKey: 'removed:pbs-docker' },
}),
]}
/>
) as any);
expect(screen.getByRole('table')).toBeInTheDocument();
- expect(screen.getByText('production-pve')).toBeInTheDocument();
expect(screen.getByText('tower')).toBeInTheDocument();
- expect(screen.getByText('Proxmox VE data')).toBeInTheDocument();
+ expect(screen.getByText('pbs-docker')).toBeInTheDocument();
+ expect(screen.getByText('Monitored system')).toBeInTheDocument();
+ expect(screen.getByText('Ignored by Pulse')).toBeInTheDocument();
expect(screen.getByText('Host telemetry')).toBeInTheDocument();
- expect(screen.getByText('Docker runtime data')).toBeInTheDocument();
expect(screen.getByText('API')).toBeInTheDocument();
expect(screen.getByText('Agent')).toBeInTheDocument();
- expect(screen.getByText('Connected')).toBeInTheDocument();
- expect(screen.getByText('Reporting')).toBeInTheDocument();
+ expect(screen.getByText('Ignored')).toBeInTheDocument();
+ expect(screen.getByText('online')).toBeInTheDocument();
});
it('surfaces configured header actions when provided', () => {
@@ -94,11 +94,11 @@ describe('ConnectionsTable', () => {
<ConnectionsTable rows={() => [row()]} onManageRow={onManageRow} />
) as any);
- fireEvent.click(screen.getByRole('button', { name: 'Edit connection' }));
+ fireEvent.click(screen.getByRole('button', { name: 'View details' }));
expect(onManageRow).toHaveBeenCalledWith(
expect.objectContaining({
id: 'row-1',
- manage: { kind: 'proxmox-node', nodeKind: 'pve', nodeId: 'pve-1' },
+ manage: { kind: 'inventory-active', rowKey: 'agent:tower' },
}),
);
});
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
index 22222358a6..691af0ab5d 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
@@ -104,9 +104,7 @@ const reportingRow = (overrides: Partial<UnifiedAgentRow> = {}): UnifiedAgentRow
}) as UnifiedAgentRow;
const trueNASOpenCreateDialogSpy = vi.fn();
-const trueNASOpenEditDialogSpy = vi.fn();
const vmwareOpenCreateDialogSpy = vi.fn();
-const vmwareOpenEditDialogSpy = vi.fn();
const setShowNodeModalSpy = vi.fn();
const setEditingNodeSpy = vi.fn();
const setCurrentNodeTypeSpy = vi.fn();
@@ -123,12 +121,12 @@ const baseProps = () =>
trueNASSettings: {
connections: () => [{ id: 'tn-1', name: 'Tower NAS', host: '10.0.0.20', enabled: true }],
openCreateDialog: trueNASOpenCreateDialogSpy,
- openEditDialog: trueNASOpenEditDialogSpy,
+ openEditDialog: vi.fn(),
},
vmwareSettings: {
connections: () => [{ id: 'vm-1', name: 'lab-vcenter', host: '10.0.0.30', enabled: true }],
openCreateDialog: vmwareOpenCreateDialogSpy,
- openEditDialog: vmwareOpenEditDialogSpy,
+ openEditDialog: vi.fn(),
},
selectedAgent: () => 'pve',
onSelectAgent: onSelectAgentSpy,
@@ -146,9 +144,7 @@ describe('InfrastructureWorkspace', () => {
setExpandedRowKeySpy.mockReset();
setSelectedIgnoredRowKeySpy.mockReset();
trueNASOpenCreateDialogSpy.mockReset();
- trueNASOpenEditDialogSpy.mockReset();
vmwareOpenCreateDialogSpy.mockReset();
- vmwareOpenEditDialogSpy.mockReset();
setShowNodeModalSpy.mockReset();
setEditingNodeSpy.mockReset();
setCurrentNodeTypeSpy.mockReset();
@@ -171,7 +167,8 @@ describe('InfrastructureWorkspace', () => {
it('renders only the top-level ledger at the base infrastructure route', () => {
renderWorkspace();
- expect(screen.getByText('Connections and inventory')).toBeInTheDocument();
+ expect(screen.getByText('Systems')).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: 'Manage connections' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Agent profiles' })).toBeInTheDocument();
expect(screen.queryByTestId('inventory-section')).toBeNull();
expect(screen.queryByTestId('platform-section')).toBeNull();
@@ -179,13 +176,13 @@ describe('InfrastructureWorkspace', () => {
expect(screen.queryByTestId('agent-profiles')).toBeNull();
});
- it('merges reporting and configured connection rows into the top ledger', () => {
+ it('shows monitored systems only in the top ledger', () => {
renderWorkspace();
expect(screen.getByText('tower')).toBeInTheDocument();
- expect(screen.getByText('zeus')).toBeInTheDocument();
- expect(screen.getByText('Tower NAS')).toBeInTheDocument();
- expect(screen.getByText('lab-vcenter')).toBeInTheDocument();
+ expect(screen.queryByText('zeus')).toBeNull();
+ expect(screen.queryByText('Tower NAS')).toBeNull();
+ expect(screen.queryByText('lab-vcenter')).toBeNull();
});
it('opens the add-system picker when the add button is clicked', () => {
@@ -242,22 +239,19 @@ describe('InfrastructureWorkspace', () => {
expect(screen.getByTestId('active-details')).toBeInTheDocument();
});
- it('opens saved VMware connections from the top ledger', () => {
- renderWorkspace({ pveNodes: () => [], trueNASSettings: { ...baseProps().trueNASSettings, connections: () => [] } });
+ it('routes connection management into the platform workspace instead of the main ledger', () => {
+ renderWorkspace();
- fireEvent.click(screen.getByRole('button', { name: 'Edit connection' }));
+ fireEvent.click(screen.getByRole('button', { name: 'Manage connections' }));
- expect(vmwareOpenEditDialogSpy).toHaveBeenCalledWith(
- expect.objectContaining({ id: 'vm-1', name: 'lab-vcenter' }),
- );
- expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure/platforms/vmware');
+ expect(navigateSpy).toHaveBeenCalledWith('/settings/infrastructure/platforms');
});
it('shows only platform setup below the ledger on platform deep links', () => {
mockPathname = '/settings/infrastructure/platforms/truenas';
renderWorkspace();
- expect(screen.getByText('Connections and inventory')).toBeInTheDocument();
+ expect(screen.getByText('Systems')).toBeInTheDocument();
expect(screen.getByTestId('platform-section')).toBeInTheDocument();
expect(screen.queryByTestId('inventory-section')).toBeNull();
expect(screen.queryByTestId('install-section')).toBeNull();
@@ -268,7 +262,7 @@ describe('InfrastructureWorkspace', () => {
mockPathname = '/settings/infrastructure/install';
renderWorkspace();
- expect(screen.getByText('Connections and inventory')).toBeInTheDocument();
+ expect(screen.getByText('Systems')).toBeInTheDocument();
expect(screen.getByTestId('install-section')).toBeInTheDocument();
expect(screen.queryByTestId('inventory-section')).toBeNull();
expect(screen.queryByTestId('platform-section')).toBeNull();
diff --git a/frontend-modern/src/components/Settings/__tests__/connectionsTableModel.test.ts b/frontend-modern/src/components/Settings/__tests__/connectionsTableModel.test.ts
index 54096fc7f4..1569c9a9dd 100644
--- a/frontend-modern/src/components/Settings/__tests__/connectionsTableModel.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/connectionsTableModel.test.ts
@@ -1,9 +1,6 @@
import { describe, expect, it } from 'vitest';
-import type { NodeConfigWithStatus } from '@/types/nodes';
-import type { TrueNASConnection } from '@/api/truenas';
-import type { VMwareConnection } from '@/api/vmware';
import type { UnifiedAgentRow } from '../infrastructureOperationsModel';
-import { buildConnectionRows } from '../connectionsTableModel';
+import { buildInfrastructureSystemRows } from '../connectionsTableModel';
const activeRow = (overrides: Partial<UnifiedAgentRow> = {}): UnifiedAgentRow =>
({
@@ -51,73 +48,26 @@ const ignoredRow = (overrides: Partial<UnifiedAgentRow> = {}): UnifiedAgentRow =
...overrides,
}) as UnifiedAgentRow;
-const pveNode = (overrides: Partial<NodeConfigWithStatus> = {}): NodeConfigWithStatus =>
- ({
- id: 'pve-1',
- name: 'pve-1',
- host: '10.0.0.1',
- user: 'root',
- type: 'pve',
- verifySSL: true,
- monitorVMs: true,
- monitorContainers: true,
- monitorStorage: true,
- monitorBackups: true,
- monitorPhysicalDisks: false,
- status: 'connected',
- ...overrides,
- }) as NodeConfigWithStatus;
-
-const truenas = (overrides: Partial<TrueNASConnection> = {}): TrueNASConnection =>
- ({
- id: 'tn-1',
- name: 'Tower NAS',
- host: '10.0.0.20',
- useHttps: true,
- insecureSkipVerify: false,
- enabled: true,
- ...overrides,
- }) as TrueNASConnection;
-
-const vmware = (overrides: Partial<VMwareConnection> = {}): VMwareConnection =>
- ({
- id: 'vm-1',
- name: 'vCenter',
- host: '10.0.0.30',
- insecureSkipVerify: false,
- enabled: true,
- ...overrides,
- }) as VMwareConnection;
-
describe('connectionsTableModel', () => {
- it('merges active reporting, ignored rows, and configured connections into one alpha-sorted ledger', () => {
- const rows = buildConnectionRows({
+ it('builds one alpha-sorted row per monitored top-level system', () => {
+ const rows = buildInfrastructureSystemRows({
activeRows: [activeRow({ name: 'tower' })],
monitoringStoppedRows: [ignoredRow({ name: 'archive' })],
- pveNodes: [pveNode({ id: 'a', name: 'zeus' })],
- pbsNodes: [pveNode({ id: 'b', type: 'pbs', name: 'backup' })],
- pmgNodes: [],
- truenasConnections: [truenas({ id: 'c', name: 'mira' })],
- vmwareConnections: [vmware({ id: 'd', name: 'apex' })],
});
- expect(rows.map((row) => row.name)).toEqual(['apex', 'archive', 'backup', 'mira', 'tower', 'zeus']);
+ expect(rows.map((row) => row.name)).toEqual(['archive', 'tower']);
expect(rows.find((row) => row.name === 'archive')).toMatchObject({
subtitle: 'Ignored by Pulse',
manageLabel: 'Review ignored',
});
expect(rows.find((row) => row.name === 'tower')).toMatchObject({
- subtitle: 'Live reporting item',
+ subtitle: 'Monitored system',
manageLabel: 'View details',
});
- expect(rows.find((row) => row.name === 'zeus')).toMatchObject({
- subtitle: 'Configured platform connection',
- collectionLabel: 'API',
- });
});
- it('drops configured rows that are already represented by the reporting projection', () => {
- const rows = buildConnectionRows({
+ it('keeps platform-collected systems as system rows instead of separate connection rows', () => {
+ const rows = buildInfrastructureSystemRows({
activeRows: [
activeRow({
name: 'tower',
@@ -134,35 +84,16 @@ describe('connectionsTableModel', () => {
}),
],
monitoringStoppedRows: [],
- pveNodes: [],
- pbsNodes: [],
- pmgNodes: [],
- truenasConnections: [truenas()],
- vmwareConnections: [],
});
expect(rows).toHaveLength(1);
expect(rows[0].name).toBe('tower');
- });
-
- it('can collapse to reporting-only rows for read-only sessions', () => {
- const rows = buildConnectionRows({
- activeRows: [activeRow()],
- monitoringStoppedRows: [ignoredRow()],
- pveNodes: [pveNode()],
- pbsNodes: [],
- pmgNodes: [],
- truenasConnections: [truenas()],
- vmwareConnections: [vmware()],
- includeConfigurationRows: false,
- });
-
- expect(rows).toHaveLength(2);
- expect(rows.every((row) => row.subtitle !== 'Configured platform connection')).toBe(true);
+ expect(rows[0].collectionLabel).toBe('API');
+ expect(rows[0].coverageLabels).toEqual(['TrueNAS data']);
});
it('keeps guest-linked agents out of the top-level infrastructure ledger', () => {
- const rows = buildConnectionRows({
+ const rows = buildInfrastructureSystemRows({
activeRows: [
activeRow({ name: 'tower' }),
activeRow({
@@ -180,33 +111,17 @@ describe('connectionsTableModel', () => {
linkedContainerId: '102',
}),
],
- pveNodes: [],
- pbsNodes: [],
- pmgNodes: [],
- truenasConnections: [],
- vmwareConnections: [],
});
expect(rows.map((row) => row.name)).toEqual(['tower']);
});
- it('keeps saved VMware connections visible even though the reporting projection does not own them yet', () => {
- const rows = buildConnectionRows({
- activeRows: [],
- monitoringStoppedRows: [],
- pveNodes: [],
- pbsNodes: [],
- pmgNodes: [],
- truenasConnections: [],
- vmwareConnections: [vmware({ name: 'lab-vcenter' })],
- });
-
- expect(rows).toEqual([
- expect.objectContaining({
- name: 'lab-vcenter',
- coverageLabels: ['VMware data'],
- manage: { kind: 'vmware-connection', connectionId: 'vm-1' },
+ it('returns no rows when nothing is being monitored yet', () => {
+ expect(
+ buildInfrastructureSystemRows({
+ activeRows: [],
+ monitoringStoppedRows: [],
}),
- ]);
+ ).toEqual([]);
});
});
diff --git a/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts b/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts
index a41993af4c..44202ca1b5 100644
--- a/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/monitoredSystemModelGuardrails.test.ts
@@ -991,7 +991,7 @@ describe('monitored-system model guardrails', () => {
expect(setupCompletionPanelSource).toContain('Open Infrastructure Install');
expect(setupCompletionPanelSource).toContain('Open Platform connections');
expect(setupCompletionPanelSource).toContain(
- 'The canonical install flow now lives in Connections & Inventory.',
+ 'The canonical install flow now lives in Infrastructure.',
);
expect(setupCompletionPanelSource).not.toContain('const hasAgentFacet = (resource: Resource)');
expect(setupCompletionPanelSource).not.toContain(
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index 3380cba5f2..d3f9fe93c7 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -901,7 +901,7 @@ describe('Settings architecture guardrails', () => {
expect(infrastructureWorkspaceSource).toContain("activeView() === 'platforms'");
expect(infrastructureWorkspaceSource).toContain("activeView() === 'install'");
expect(connectionsTableSource).toContain('headerActions');
- expect(connectionsTableModelSource).toContain('export function buildConnectionRows');
+ expect(connectionsTableModelSource).toContain('export function buildInfrastructureSystemRows');
expect(platformConnectionsWorkspaceSource).toContain('./platformConnectionsModel');
expect(platformConnectionsWorkspaceSource).toContain('./ProxmoxSettingsPanel');
expect(platformConnectionsWorkspaceSource).toContain('./TrueNASSettingsPanel');
@@ -1425,14 +1425,12 @@ describe('Settings architecture guardrails', () => {
expect(settingsHeaderMetaSource).not.toContain(
'Billing and self-hosted plan features live in Pulse Pro.',
);
- expect(SETTINGS_HEADER_META['infrastructure-operations'].title).toBe(
- 'Connections & Inventory',
- );
+ expect(SETTINGS_HEADER_META['infrastructure-operations'].title).toBe('Infrastructure');
expect(SETTINGS_HEADER_META['infrastructure-operations'].description).toContain(
- 'actively reporting',
+ 'top-level monitored systems',
);
expect(SETTINGS_HEADER_META['infrastructure-operations'].description).toBe(
- `Bring infrastructure into Pulse, manage API-backed platform connections, and control which systems are actively reporting. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,
+ `Review top-level monitored systems, open install or platform connection workflows when needed, and control how Pulse collects infrastructure data. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,
);
});
diff --git a/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts b/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts
index 27d144d6ac..be3c493d50 100644
--- a/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/useSettingsShellState.test.ts
@@ -22,9 +22,9 @@ describe('useSettingsShellState', () => {
activeTab: () => 'infrastructure-operations',
});
- expect(state.headerMeta().title).toBe('Connections & Inventory');
+ expect(state.headerMeta().title).toBe('Infrastructure');
expect(state.headerMeta().description).toBe(
- 'Review the current monitored-system inventory, reporting posture, and connected platform coverage. Setup changes stay unavailable in this read-only session.',
+ 'Review the current top-level monitored systems and reporting posture. Setup changes stay unavailable in this read-only session.',
);
dispose();
diff --git a/frontend-modern/src/components/Settings/connectionsTableModel.ts b/frontend-modern/src/components/Settings/connectionsTableModel.ts
index fbc3dee722..27b0882d77 100644
--- a/frontend-modern/src/components/Settings/connectionsTableModel.ts
+++ b/frontend-modern/src/components/Settings/connectionsTableModel.ts
@@ -1,7 +1,3 @@
-import type { TrueNASConnection } from '@/api/truenas';
-import type { VMwareConnection } from '@/api/vmware';
-import type { NodeConfigWithStatus } from '@/types/nodes';
-import { formatRelativeTime } from '@/utils/format';
import { getUnifiedAgentLastSeenLabel } from '@/utils/unifiedAgentInventoryPresentation';
import {
getUnifiedAgentStatusPresentation,
@@ -9,16 +5,11 @@ import {
} from '@/utils/unifiedAgentStatusPresentation';
import type { UnifiedAgentRow } from './infrastructureOperationsModel';
-type ManagedNodeKind = 'pve' | 'pbs' | 'pmg';
-
-export type ConnectionManageAction =
+export type SystemManageAction =
| { kind: 'inventory-active'; rowKey: string }
- | { kind: 'inventory-ignored'; rowKey: string }
- | { kind: 'proxmox-node'; nodeKind: ManagedNodeKind; nodeId: string }
- | { kind: 'truenas-connection'; connectionId: string }
- | { kind: 'vmware-connection'; connectionId: string };
+ | { kind: 'inventory-ignored'; rowKey: string };
-export interface ConnectionRow {
+export interface InfrastructureSystemRow {
id: string;
name: string;
subtitle: string;
@@ -29,51 +20,12 @@ export interface ConnectionRow {
statusClassName: string;
lastActivityText: string;
manageLabel: string;
- manage: ConnectionManageAction;
+ manage: SystemManageAction;
}
-const SUCCESS_BADGE_CLASS =
- 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-300';
-const WARNING_BADGE_CLASS =
- 'bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200';
-const DANGER_BADGE_CLASS = 'bg-red-100 text-red-700 dark:bg-red-950/40 dark:text-red-300';
-const MUTED_BADGE_CLASS = 'bg-surface text-muted';
-const DEFAULT_BADGE_CLASS = 'bg-surface-alt text-base-content';
-
const PROXMOX_CAPABILITY_KEYS = ['proxmox', 'pbs', 'pmg'] as const;
const AGENT_CAPABILITY_KEYS = ['agent', 'docker', 'kubernetes'] as const;
-const formatActivity = (value?: number | string | null) =>
- value ? formatRelativeTime(value, { emptyText: '—' }) : '—';
-
-const normalizeConfigKey = (value?: string | null) => value?.trim().toLowerCase() ?? '';
-
-const buildConfiguredRow = (params: {
- id: string;
- name: string;
- host?: string;
- subtitle: string;
- coverageLabels: string[];
- collectionLabel: string;
- statusLabel: string;
- statusClassName: string;
- lastActivityText: string;
- manageLabel: string;
- manage: ConnectionManageAction;
-}) => ({
- id: params.id,
- name: params.name,
- subtitle: params.subtitle,
- host: params.host && params.host !== params.name ? params.host : undefined,
- coverageLabels: params.coverageLabels,
- collectionLabel: params.collectionLabel,
- statusLabel: params.statusLabel,
- statusClassName: params.statusClassName,
- lastActivityText: params.lastActivityText,
- manageLabel: params.manageLabel,
- manage: params.manage,
-});
-
const collectionLabelFromCapabilities = (capabilities: UnifiedAgentRow['capabilities']) => {
const hasAgent = capabilities.some((capability) =>
AGENT_CAPABILITY_KEYS.includes(capability as (typeof AGENT_CAPABILITY_KEYS)[number]),
@@ -95,13 +47,25 @@ const collectionLabelFromCapabilities = (capabilities: UnifiedAgentRow['capabili
return 'Runtime';
};
-const reportingRow = (row: UnifiedAgentRow): ConnectionRow => {
+const isTopLevelInfrastructureRow = (row: UnifiedAgentRow) =>
+ !row.linkedVmId?.trim() && !row.linkedContainerId?.trim();
+
+const compareRows = (left: InfrastructureSystemRow, right: InfrastructureSystemRow) => {
+ const leftName = left.name.trim().toLowerCase();
+ const rightName = right.name.trim().toLowerCase();
+ if (leftName === rightName) {
+ return left.id.localeCompare(right.id);
+ }
+ return leftName.localeCompare(rightName);
+};
+
+const reportingRow = (row: UnifiedAgentRow): InfrastructureSystemRow => {
const statusPresentation = getUnifiedAgentStatusPresentation(row.status, row.healthStatus);
return {
id: row.rowKey,
name: row.name,
- subtitle: row.status === 'removed' ? 'Ignored by Pulse' : 'Live reporting item',
+ subtitle: row.status === 'removed' ? 'Ignored by Pulse' : 'Monitored system',
host:
row.hostname && row.hostname !== row.name && row.hostname !== row.displayName
? row.hostname
@@ -119,219 +83,16 @@ const reportingRow = (row: UnifiedAgentRow): ConnectionRow => {
};
};
-const nodeStatusPresentation = (status: NodeConfigWithStatus['status']) => {
- switch (status) {
- case 'connected':
- return { label: 'Connected', className: SUCCESS_BADGE_CLASS };
- case 'pending':
- return { label: 'Pending', className: WARNING_BADGE_CLASS };
- case 'disconnected':
- case 'offline':
- return { label: 'Offline', className: MUTED_BADGE_CLASS };
- case 'error':
- return { label: 'Error', className: DANGER_BADGE_CLASS };
- default:
- return { label: 'Unknown', className: DEFAULT_BADGE_CLASS };
- }
-};
-
-const proxmoxNodeRow = (
- node: NodeConfigWithStatus,
- kindLabel: string,
- nodeKind: ManagedNodeKind,
-): ConnectionRow => {
- const status = nodeStatusPresentation(node.status);
-
- return buildConfiguredRow({
- id: `${nodeKind}:${node.id}`,
- name: node.displayName || node.name,
- host: node.host,
- subtitle: 'Configured platform connection',
- coverageLabels: [`${kindLabel} data`],
- collectionLabel: 'API',
- statusLabel: status.label,
- statusClassName: status.className,
- lastActivityText: '—',
- manageLabel: 'Edit connection',
- manage: { kind: 'proxmox-node', nodeKind, nodeId: node.id },
- });
-};
-
-const pollBackedPresentation = (
- enabled: boolean,
- lastSuccessAt: string | undefined,
- consecutiveFailures: number | undefined,
-) => {
- const lastActivityText = formatActivity(lastSuccessAt);
- const failures = consecutiveFailures ?? 0;
-
- if (!enabled) {
- return {
- label: 'Disabled',
- className: MUTED_BADGE_CLASS,
- lastActivityText,
- };
- }
-
- if (failures > 2) {
- return {
- label: 'Sync failing',
- className: DANGER_BADGE_CLASS,
- lastActivityText,
- };
- }
-
- if (failures > 0 && !lastSuccessAt) {
- return {
- label: 'Error',
- className: DANGER_BADGE_CLASS,
- lastActivityText: 'No successful sync yet',
- };
- }
-
- if (lastSuccessAt) {
- return {
- label: 'Healthy',
- className: SUCCESS_BADGE_CLASS,
- lastActivityText,
- };
- }
-
- return {
- label: 'Awaiting first sync',
- className: WARNING_BADGE_CLASS,
- lastActivityText: '—',
- };
-};
-
-const truenasRow = (connection: TrueNASConnection): ConnectionRow => {
- const health = pollBackedPresentation(
- connection.enabled,
- connection.poll?.lastSuccessAt,
- connection.poll?.consecutiveFailures,
- );
-
- return buildConfiguredRow({
- id: `truenas:${connection.id}`,
- name: connection.name || connection.host,
- host: connection.host,
- subtitle: 'Configured platform connection',
- coverageLabels: ['TrueNAS data'],
- collectionLabel: 'API',
- statusLabel: health.label,
- statusClassName: health.className,
- lastActivityText: health.lastActivityText,
- manageLabel: 'Edit connection',
- manage: { kind: 'truenas-connection', connectionId: connection.id },
- });
-};
-
-const vmwareRow = (connection: VMwareConnection): ConnectionRow => {
- const health = pollBackedPresentation(
- connection.enabled,
- connection.poll?.lastSuccessAt,
- connection.poll?.consecutiveFailures,
- );
-
- return buildConfiguredRow({
- id: `vmware:${connection.id}`,
- name: connection.name || connection.host,
- host: connection.host,
- subtitle: 'Configured platform connection',
- coverageLabels: ['VMware data'],
- collectionLabel: 'API',
- statusLabel: health.label,
- statusClassName: health.className,
- lastActivityText: health.lastActivityText,
- manageLabel: 'Edit connection',
- manage: { kind: 'vmware-connection', connectionId: connection.id },
- });
-};
-
-const isTopLevelInfrastructureRow = (row: UnifiedAgentRow) =>
- !row.linkedVmId?.trim() && !row.linkedContainerId?.trim();
-
-const reportingConfigKeys = (rows: UnifiedAgentRow[]) => {
- const keys = new Set<string>();
-
- for (const row of rows) {
- for (const surface of row.surfaces) {
- switch (surface.kind) {
- case 'proxmox':
- case 'pbs':
- case 'pmg': {
- const rawId = surface.idValue || surface.controlId || row.id;
- if (rawId) {
- keys.add(`${surface.kind}:${normalizeConfigKey(rawId)}`);
- }
- break;
- }
- case 'truenas': {
- const rawId = surface.idValue || row.hostname || row.id;
- if (rawId) {
- keys.add(`truenas:${normalizeConfigKey(rawId)}`);
- }
- break;
- }
- default:
- break;
- }
- }
- }
-
- return keys;
-};
-
-const compareRows = (left: ConnectionRow, right: ConnectionRow) => {
- const leftName = left.name.trim().toLowerCase();
- const rightName = right.name.trim().toLowerCase();
- if (leftName === rightName) {
- return left.id.localeCompare(right.id);
- }
- return leftName.localeCompare(rightName);
-};
-
-export interface ConnectionsTableSources {
+export interface InfrastructureSystemsTableSources {
activeRows: readonly UnifiedAgentRow[];
monitoringStoppedRows: readonly UnifiedAgentRow[];
- pveNodes: readonly NodeConfigWithStatus[];
- pbsNodes: readonly NodeConfigWithStatus[];
- pmgNodes: readonly NodeConfigWithStatus[];
- truenasConnections: readonly TrueNASConnection[];
- vmwareConnections: readonly VMwareConnection[];
- includeConfigurationRows?: boolean;
}
-export function buildConnectionRows(sources: ConnectionsTableSources): ConnectionRow[] {
- const infrastructureRows = [
- ...sources.activeRows.filter(isTopLevelInfrastructureRow),
- ...sources.monitoringStoppedRows.filter(isTopLevelInfrastructureRow),
- ];
- const reportingRows = [
- ...infrastructureRows.map(reportingRow),
- ];
-
- if (sources.includeConfigurationRows === false) {
- return reportingRows.sort(compareRows);
- }
-
- const seenConfigKeys = reportingConfigKeys(infrastructureRows);
-
- const configuredRows: ConnectionRow[] = [
- ...sources.pveNodes
- .filter((node) => !seenConfigKeys.has(`proxmox:${normalizeConfigKey(node.id)}`))
- .map((node) => proxmoxNodeRow(node, 'Proxmox VE', 'pve')),
- ...sources.pbsNodes
- .filter((node) => !seenConfigKeys.has(`pbs:${normalizeConfigKey(node.id)}`))
- .map((node) => proxmoxNodeRow(node, 'PBS', 'pbs')),
- ...sources.pmgNodes
- .filter((node) => !seenConfigKeys.has(`pmg:${normalizeConfigKey(node.id)}`))
- .map((node) => proxmoxNodeRow(node, 'PMG', 'pmg')),
- ...sources.truenasConnections
- .filter((connection) => !seenConfigKeys.has(`truenas:${normalizeConfigKey(connection.host)}`))
- .map(truenasRow),
- ...sources.vmwareConnections.map(vmwareRow),
- ];
-
- return [...reportingRows, ...configuredRows].sort(compareRows);
+export function buildInfrastructureSystemRows(
+ sources: InfrastructureSystemsTableSources,
+): InfrastructureSystemRow[] {
+ return [
+ ...sources.activeRows.filter(isTopLevelInfrastructureRow).map(reportingRow),
+ ...sources.monitoringStoppedRows.filter(isTopLevelInfrastructureRow).map(reportingRow),
+ ].sort(compareRows);
}
diff --git a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts b/frontend-modern/src/components/Settings/settingsHeaderMeta.ts
index c0822a1038..19e0055a67 100644
--- a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts
+++ b/frontend-modern/src/components/Settings/settingsHeaderMeta.ts
@@ -13,9 +13,9 @@ export const SETTINGS_HEADER_META: SettingsHeaderMetaMap = {
'Add and manage Proxmox VE, Backup Server, and Mail Gateway connections when the unified agent is not available on the host.',
},
'infrastructure-operations': {
- title: 'Connections & Inventory',
+ title: 'Infrastructure',
description:
- `Bring infrastructure into Pulse, manage API-backed platform connections, and control which systems are actively reporting. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,
+ `Review top-level monitored systems, open install or platform connection workflows when needed, and control how Pulse collects infrastructure data. ${SELF_HOSTED_PRO_BILLING_PRESENTATION.infrastructureRouteReferral}`,
},
'system-general': {
title: 'General',
diff --git a/frontend-modern/src/components/Settings/settingsNavCatalog.ts b/frontend-modern/src/components/Settings/settingsNavCatalog.ts
index ad482f76cd..53282f3296 100644
--- a/frontend-modern/src/components/Settings/settingsNavCatalog.ts
+++ b/frontend-modern/src/components/Settings/settingsNavCatalog.ts
@@ -33,7 +33,7 @@ export const SETTINGS_NAV_GROUPS: SettingsNavGroup[] = [
items: [
{
id: 'infrastructure-operations',
- label: 'Connections & Inventory',
+ label: 'Infrastructure',
icon: Bot,
iconProps: { strokeWidth: 2 },
},
diff --git a/frontend-modern/src/components/Settings/useSettingsShellState.ts b/frontend-modern/src/components/Settings/useSettingsShellState.ts
index a6d2710954..a9af6ffbb1 100644
--- a/frontend-modern/src/components/Settings/useSettingsShellState.ts
+++ b/frontend-modern/src/components/Settings/useSettingsShellState.ts
@@ -13,9 +13,9 @@ export function useSettingsShellState({ activeTab }: UseSettingsShellStateParams
const tab = activeTab();
if (tab === 'infrastructure-operations' && presentationPolicyIsReadOnly()) {
return {
- title: 'Connections & Inventory',
+ title: 'Infrastructure',
description:
- 'Review the current monitored-system inventory, reporting posture, and connected platform coverage. Setup changes stay unavailable in this read-only session.',
+ 'Review the current top-level monitored systems and reporting posture. Setup changes stay unavailable in this read-only session.',
};
}
diff --git a/frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx b/frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx
index 76c1054e9f..741f1ad7bb 100644
--- a/frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx
+++ b/frontend-modern/src/components/SetupWizard/SetupCompletionPanel.tsx
@@ -518,8 +518,8 @@ Keep these credentials secure!
</h3>
<p class="mt-2 text-xs text-muted max-w-xl">
{completionViewModel().hasConnectedSystems
- ? 'Pulse already has a live monitored system. Open the dashboard to confirm the first overview, then return to Connections & Inventory when you want to continue with the next system path.'
- : 'The canonical install flow now lives in Connections & Inventory. Open that workspace to continue with the first-host install token Pulse prepares from setup, adjust the agent connection URL only if needed, configure TLS or custom CA options, and copy the correct command for the first system you want Pulse to monitor.'}
+ ? 'Pulse already has a live monitored system. Open the dashboard to confirm the first overview, then return to Infrastructure when you want to continue with the next system path.'
+ : 'The canonical install flow now lives in Infrastructure. Open that workspace to continue with the first-host install token Pulse prepares from setup, adjust the agent connection URL only if needed, configure TLS or custom CA options, and copy the correct command for the first system you want Pulse to monitor.'}
</p>
</div>
<div class="rounded-sm bg-blue-50 px-2 py-1 text-[10px] font-medium text-blue-700 dark:bg-blue-900 dark:text-blue-300">
diff --git a/frontend-modern/src/components/SetupWizard/__tests__/SetupCompletionPanel.guardrails.test.ts b/frontend-modern/src/components/SetupWizard/__tests__/SetupCompletionPanel.guardrails.test.ts
index b768d1245e..00d35a974a 100644
--- a/frontend-modern/src/components/SetupWizard/__tests__/SetupCompletionPanel.guardrails.test.ts
+++ b/frontend-modern/src/components/SetupWizard/__tests__/SetupCompletionPanel.guardrails.test.ts
@@ -106,5 +106,11 @@ describe('SetupCompletionPanel guardrails', () => {
expect(setupCompletionPanelSource).not.toContain(
'You can return here later from Connections & Inventory if you skip install for now.',
);
+ expect(setupCompletionPanelSource).toContain(
+ 'The canonical install flow now lives in Infrastructure.',
+ );
+ expect(setupCompletionPanelSource).toContain(
+ 'then return to Infrastructure when you want to continue with the next system path.',
+ );
});
});
diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.py
index 645458bc43..5e5dc1730e 100644
--- a/scripts/release_control/canonical_completion_guard_test.py
+++ b/scripts/release_control/canonical_completion_guard_test.py
@@ -2320,7 +2320,7 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
],
)
- def _assert_connections_ledger_change_requires_agent_lifecycle(self, touched_path: str) -> None:
+ def _assert_systems_ledger_change_requires_agent_lifecycle(self, touched_path: str) -> None:
required = infer_impacted_subsystems([touched_path])
self.assertEqual(set(required), {"agent-lifecycle"})
@@ -2334,8 +2334,8 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
lifecycle["verification_requirements"],
[
{
- "id": "connections-ledger-workspace-surface",
- "label": "connections ledger lifecycle proof",
+ "id": "systems-ledger-workspace-surface",
+ "label": "systems ledger lifecycle proof",
"touched_runtime_files": [touched_path],
"allow_same_subsystem_tests": False,
"test_prefixes": [],
@@ -2345,12 +2345,12 @@ class CanonicalCompletionGuardTest(unittest.TestCase):
)
def test_connections_table_change_requires_agent_lifecycle(self):
- self._assert_connections_ledger_change_requires_agent_lifecycle(
+ self._assert_systems_ledger_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/ConnectionsTable.tsx"
)
def test_connections_table_model_change_requires_agent_lifecycle(self):
- self._assert_connections_ledger_change_requires_agent_lifecycle(
+ self._assert_systems_ledger_change_requires_agent_lifecycle(
"frontend-modern/src/components/Settings/connectionsTableModel.ts"
)
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index 44d10b073a..54b8d4fcbb 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -1950,7 +1950,7 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(match["lane_context"]["lane_id"], "L16")
self.assertEqual(
match["verification_requirement"]["id"],
- "connections-ledger-workspace-surface",
+ "systems-ledger-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
@@ -1980,7 +1980,7 @@ class SubsystemLookupTest(unittest.TestCase):
self.assertEqual(match["lane_context"]["lane_id"], "L16")
self.assertEqual(
match["verification_requirement"]["id"],
- "connections-ledger-workspace-surface",
+ "systems-ledger-workspace-surface",
)
self.assertEqual(
match["verification_requirement"]["exact_files"],
diff --git a/tests/integration/tests/60-page-header-consistency.spec.ts b/tests/integration/tests/60-page-header-consistency.spec.ts
index 64d316670c..79e06cec05 100644
--- a/tests/integration/tests/60-page-header-consistency.spec.ts
+++ b/tests/integration/tests/60-page-header-consistency.spec.ts
@@ -37,9 +37,9 @@ const ALIGNED_PAGE_HEADER_ROUTES = [
{
slug: "settings-operations",
route: "/settings/infrastructure-operations",
- title: "Infrastructure Operations",
+ title: "Infrastructure",
description:
- "Bring infrastructure into Pulse, manage API-backed platform connections, and control which systems are actively reporting. Reporting and install workflows now live on the Operations tab.",
+ "Review top-level monitored systems, open install or platform connection workflows when needed, and control how Pulse collects infrastructure data. Billing and self-hosted plan features live in Pulse Pro.",
},
PAGE_HEADER_ROUTES[3],
] as const;