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.

Clean up infrastructure ledger posture

rcourtmana798289a6a79
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index 483d18512c..fa1b7434b9 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -2359,7 +2359,7 @@
},
{
"id": "RA26",
- "summary": "Infrastructure Settings is a release-critical configuration surface: it must remain a first-class source-management workspace whose first viewport makes adding, discovering, installing agents, and verifying API plus Pulse Agent coverage clear, with stable source grouping and browser-verified layout before release-ready claims.",
+ "summary": "Infrastructure Settings is a release-critical configuration surface: it must remain a first-class source-management workspace whose first viewport makes adding, discovering, installing agents, and verifying API plus Pulse Agent coverage clear, with stable source grouping, source/member status separation, and browser-verified layout before release-ready claims.",
"kind": "journey",
"blocking_level": "release-ready",
"proof_type": "hybrid",
@@ -2383,7 +2383,10 @@
"frontend-modern",
"test",
"--",
+ "src/components/Settings/__tests__/ConnectionsTable.test.tsx",
+ "src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx",
"src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
+ "src/components/Settings/__tests__/useConnectionsLedger.test.ts",
"src/components/Settings/__tests__/settingsArchitecture.test.ts",
"src/utils/__tests__/discoveryPresentation.test.ts"
]
@@ -2395,11 +2398,31 @@
"path": "docs/release-control/v6/internal/status.json",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/connectionsTableModel.ts",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/DiscoverySettingsForm.tsx",
@@ -2419,6 +2442,11 @@
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/SettingsPageShell.tsx",
"kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/useConnectionsLedger.ts",
+ "kind": "file"
}
]
},
@@ -3681,6 +3709,16 @@
"path": "docs/release-control/v6/internal/subsystems/agent-lifecycle.md",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/api-contracts.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/frontend-primitives.md",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "docs/UNIFIED_AGENT.md",
@@ -3706,6 +3744,26 @@
"path": "frontend-modern/src/components/Infrastructure/deploy/ResultsStep.tsx",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/AgentProfilesPanel.tsx",
@@ -3721,6 +3779,16 @@
"path": "frontend-modern/src/components/Settings/ConnectionEditor/CredentialSlots/NodeCredentialSlot.tsx",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/connectionsTableModel.ts",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/NodeModalAuthenticationSection.tsx",
@@ -3731,6 +3799,11 @@
"path": "frontend-modern/src/components/Settings/NodeModalSetupGuideSection.tsx",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/useConnectionsLedger.ts",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/useNodeModalState.ts",
@@ -4502,11 +4575,21 @@
"path": "frontend-modern/src/api/connections.ts",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx",
+ "kind": "file"
+ },
{
"repo": "pulse",
"path": "frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts",
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index 3c9e021bc7..0103fedda8 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -243,6 +243,14 @@ the governed `Unraid` host-profile family and routes that group's add action
back to the typed Unraid onboarding flow. Discovered source candidates remain
attached to the base source group until a configured agent reports a governed
host profile; discovery must not be visually inherited by a profiled group.
+The source-management ledger must keep source-level health and per-member
+agent posture separate. Cluster parent rows may summarize the primary source
+and their rendered members, but attached-agent fleet warnings that are already
+represented by member rows must not be duplicated onto the cluster parent.
+Passive agent config or rollout handshakes whose only cause is a missing
+comparable applied agent configuration fingerprint are not operator-actionable
+setup attention and must not be counted as a visible infrastructure problem
+unless a row or member still renders them as an actionable highlight.
Configured-node settings tables follow the same boundary:
`frontend-modern/src/components/Settings/ConfiguredNodeTables.tsx` may own node,
credential, capability, status, and action cells, but table scroll framing must
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index f6151f7795..6e176f599c 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -603,6 +603,13 @@ the canonical monitored-system blocked payload.
10. Add or change API token scope, assignment, and revocation presentation through `frontend-modern/src/components/Settings/APITokenManager.tsx`, `frontend-modern/src/components/Settings/apiTokenManagerModel.ts`, and `frontend-modern/src/components/Settings/useAPITokenManagerState.ts`
That same shared token contract also owns audit scope separation: audit event, verification, summary, export, and unified action/export audit reads must require the dedicated `audit:read` scope instead of reusing broader monitoring or settings-read token grants.
11. Add or change infrastructure operations token generation, lookup, assignment, the pure unified-agent inventory/install model, the split infrastructure install state owner, the split direct-node/discovery infrastructure settings owners, the shared infrastructure-operations state provider/context shell, and install presentation through `frontend-modern/src/components/Settings/infrastructureOperationsModel.tsx`, `frontend-modern/src/components/Settings/useInfrastructureConfiguredNodesState.ts`, `frontend-modern/src/components/Settings/useInfrastructureDiscoveryRuntimeState.ts`, `frontend-modern/src/components/Settings/useInfrastructureInstallState.tsx`, and `frontend-modern/src/components/Settings/useInfrastructureOperationsState.tsx`. Phase 9 retired the InfrastructureOperationsController shell and the useInfrastructureReportingState reporting path; they must not be reintroduced, and aggregator-backed reporting reads are owned by `frontend-modern/src/components/Settings/useConnectionsLedger.ts` under the frontend-primitives contract.
+ That same aggregator-backed reporting read may hide passive config or
+ rollout handshakes from primary source-manager attention when the API
+ reason says only that an agent has not yet reported a comparable applied
+ configuration fingerprint. That is a presentation choice over the
+ canonical `Connection.fleet` payload, not a second API state: the raw fleet
+ fields must remain available for deeper fleet diagnostics and must not be
+ rewritten into source credential, liveness, or setup failure facts.
That same governed infrastructure-operations API boundary also owns discovery polling activation: the shared discovery runtime may only poll `/api/discover` while the settings shell has the `infrastructure-connections` route active, so route-level IA changes cannot silently keep discovery traffic alive on unrelated systems or install screens.
That same governed setup/install boundary also owns uninstall convergence: when a script-managed Proxmox node removes its local Pulse credentials, the canonical `/api/auto-unregister` API must remove the matching stored node immediately and emit the same discovery/node-deleted refresh semantics as manual deletion, so the infrastructure sources table does not keep a stale active row until the next failed poll.
That same governed setup/install boundary also owns Proxmox
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 514bcd1f46..ac9a1dce21 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -639,6 +639,13 @@ prompt explain the same operator-facing priority.
backend-authored cluster members, the table primitive must render those
nodes as child composition beneath the cluster row rather than flattening
them back into peer top-level systems or hiding them entirely.
+ The systems table and setup summary must count the same visible posture
+ highlights they render, not hidden raw fleet signals. Passive attached-agent
+ config or rollout handshakes whose only cause is a missing comparable
+ applied configuration fingerprint may stay in the raw row model for deeper
+ diagnostics, but they must not create duplicate cluster-parent badges or a
+ `Needs attention` count when the visible row/member posture is otherwise
+ healthy.
That same landing-shell boundary also owns represented-host dedupe between
the unified ledger and the discovery strip. `InfrastructureWorkspace.tsx`,
`frontend-modern/src/components/Settings/useConnectionsLedger.ts`, and
diff --git a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
index b292443c58..cb75e9d04a 100644
--- a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
@@ -196,6 +196,14 @@ const rowHasFleetTone = (
predicate: (signal: FleetGovernanceSignal) => boolean,
): boolean => rowFleetSignals(row).some(predicate);
+const rowHasVisibleFleetTone = (
+ row: InfrastructureSystemRow,
+ predicate: (signal: FleetGovernanceSignal) => boolean,
+): boolean =>
+ [...row.fleetHighlights, ...row.members.flatMap((member) => member.fleetHighlights)].some(
+ predicate,
+ );
+
const agentHostProfileRouteStep = (
row: InfrastructureSystemRow,
): InfrastructureSourcePickerRouteStep | null => {
@@ -391,7 +399,10 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
props
.rows()
.filter((row) =>
- rowHasFleetTone(row, (signal) => signal.tone === 'warning' || signal.tone === 'critical'),
+ rowHasVisibleFleetTone(
+ row,
+ (signal) => signal.tone === 'warning' || signal.tone === 'critical',
+ ),
).length,
);
const discoveryReadinessLabel = createMemo(() => {
diff --git a/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx b/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx
index f5737f7047..c7ecae5fd1 100644
--- a/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx
@@ -215,6 +215,47 @@ describe('ConnectionsTable', () => {
);
});
+ it('renders only visible fleet posture highlights, not raw passive handshakes', () => {
+ render(() => (
+ <ConnectionsTable
+ rows={() => [
+ row({
+ fleetSignals: [
+ {
+ key: 'config-drift',
+ label: 'Config pending',
+ detail:
+ 'Pulse has not received a comparable applied agent configuration fingerprint yet.',
+ tone: 'warning',
+ },
+ {
+ key: 'rollout',
+ label: 'Rollout pending',
+ detail: 'Waiting for the agent to report an applied configuration fingerprint.',
+ tone: 'warning',
+ },
+ ],
+ fleetHighlights: [
+ {
+ key: 'liveness',
+ label: 'Fleet OK',
+ detail: 'Visible fleet posture is healthy.',
+ tone: 'ok',
+ },
+ ],
+ }),
+ ]}
+ />
+ ));
+
+ expect(screen.getByText('Fleet OK')).toHaveAttribute(
+ 'title',
+ 'Visible fleet posture is healthy.',
+ );
+ expect(screen.queryByText('Config pending')).toBeNull();
+ expect(screen.queryByText('Rollout pending')).toBeNull();
+ });
+
it('keeps large row sets bounded behind an explicit show-more path', () => {
const rows = Array.from({ length: CONNECTIONS_TABLE_INITIAL_VISIBLE_ROWS + 5 }, (_, index) =>
row({
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx
index fdfdd34529..0356a62e9b 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureSourceManager.test.tsx
@@ -114,4 +114,50 @@ describe('InfrastructureSourceManager setup summary', () => {
expect(screen.getByText('Credentials invalid')).toBeInTheDocument();
expect(screen.getByText('Remote control enabled')).toBeInTheDocument();
});
+
+ it('does not count hidden passive agent config handshakes as setup attention', () => {
+ render(() => (
+ <InfrastructureSourceManager
+ rows={() => [
+ row({
+ fleetSignals: [
+ signal({
+ key: 'config-drift',
+ label: 'Config pending',
+ detail:
+ 'Pulse has not received a comparable applied agent configuration fingerprint yet',
+ tone: 'warning',
+ }),
+ signal({
+ key: 'rollout',
+ label: 'Rollout pending',
+ detail: 'waiting for the agent to report an applied configuration fingerprint',
+ tone: 'warning',
+ }),
+ signal({
+ key: 'command-policy',
+ label: 'Remote control disabled',
+ tone: 'info',
+ }),
+ ],
+ fleetHighlights: [
+ signal({
+ key: 'command-policy',
+ label: 'Remote control disabled',
+ tone: 'info',
+ }),
+ ],
+ }),
+ ]}
+ discoveredNodes={() => []}
+ discoveryEnabled
+ discoveryScanStatus={() => ({ scanning: false })}
+ readOnly
+ />
+ ));
+
+ expect(screen.getByText('Needs attention').nextElementSibling?.textContent).toBe('0 systems');
+ expect(screen.queryByText('Config pending')).toBeNull();
+ expect(screen.queryByText('Rollout pending')).toBeNull();
+ });
});
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
index a30b443697..baf05837f7 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureWorkspace.test.tsx
@@ -909,6 +909,26 @@ describe('InfrastructureWorkspace', () => {
source: 'agent',
capabilities: { supportsPause: false, supportsScope: false, supportsTest: false },
});
+ const passiveAgentConfigSignals: InfrastructureSystemRow['fleetSignals'] = [
+ {
+ key: 'config-drift',
+ label: 'Config pending',
+ detail: 'Pulse has not received a comparable applied agent configuration fingerprint yet',
+ tone: 'warning',
+ },
+ {
+ key: 'rollout',
+ label: 'Rollout pending',
+ detail: 'waiting for the agent to report an applied configuration fingerprint',
+ tone: 'warning',
+ },
+ ];
+ const remoteControlDisabledSignal: InfrastructureSystemMemberRow['fleetHighlights'][number] = {
+ key: 'command-policy',
+ label: 'Remote control disabled',
+ detail: 'Commands are disabled by policy.',
+ tone: 'info',
+ };
connectionState.connections = [primaryConnection, dellyAgent, minipcAgent];
connectionState.rows = [
@@ -925,6 +945,15 @@ describe('InfrastructureWorkspace', () => {
agentUpdateCount: 0,
lastActivityText: '1m ago',
...emptyFleetRow,
+ fleetSignals: passiveAgentConfigSignals,
+ fleetHighlights: [
+ {
+ key: 'liveness',
+ label: 'Fleet OK',
+ detail: 'Visible fleet posture is healthy.',
+ tone: 'ok',
+ },
+ ],
enabled: true,
canEdit: true,
canPause: true,
@@ -944,6 +973,8 @@ describe('InfrastructureWorkspace', () => {
statusClassName: 'bg-green-100 text-green-800',
lastActivityText: '1m ago',
...emptyFleetMember,
+ fleetSignals: passiveAgentConfigSignals,
+ fleetHighlights: [remoteControlDisabledSignal],
primary: true,
agentConnection: dellyAgent,
},
@@ -958,6 +989,8 @@ describe('InfrastructureWorkspace', () => {
statusClassName: 'bg-green-100 text-green-800',
lastActivityText: '1m ago',
...emptyFleetMember,
+ fleetSignals: passiveAgentConfigSignals,
+ fleetHighlights: [remoteControlDisabledSignal],
primary: false,
agentConnection: minipcAgent,
},
@@ -969,11 +1002,21 @@ describe('InfrastructureWorkspace', () => {
renderWorkspace();
await waitFor(() => expect(screen.getByText('homelab')).toBeInTheDocument());
+ const readiness = screen.getByRole('region', {
+ name: /Infrastructure setup summary/i,
+ });
+ expect(within(readiness).getByText('Needs attention').nextElementSibling).toHaveTextContent(
+ '0 systems',
+ );
expect(screen.getByText('Cluster · 2 nodes')).toBeInTheDocument();
+ expect(screen.getByText('Fleet OK')).toBeInTheDocument();
expect(screen.getByText('Primary node')).toBeInTheDocument();
expect(screen.getAllByText('Agent').length).toBeGreaterThan(0);
expect(screen.getByText('delly')).toBeInTheDocument();
expect(screen.getByText('minipc')).toBeInTheDocument();
+ expect(screen.getAllByText('Remote control disabled')).toHaveLength(2);
+ expect(screen.queryByText('Config pending')).toBeNull();
+ expect(screen.queryByText('Rollout pending')).toBeNull();
expect(screen.getAllByText('Host telemetry').length).toBeGreaterThan(0);
expect(screen.queryByText('Standalone hosts')).toBeNull();
expect(screen.getAllByText('delly')).toHaveLength(1);
diff --git a/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts b/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts
index ac0ff65209..9bea21e4ee 100644
--- a/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts
@@ -402,6 +402,20 @@ describe('useConnectionsLedger', () => {
lastSeen: '2026-04-23T12:00:00Z',
lastError: null,
source: 'agent',
+ fleet: {
+ enrollmentState: 'configured',
+ livenessState: 'active',
+ versionDrift: 'not-applicable',
+ adapterHealth: 'healthy',
+ configRollout: 'configured',
+ credentialStatus: 'verified',
+ updateStatus: 'not-applicable',
+ remoteControl: 'not-applicable',
+ configDrift: { status: 'current' },
+ rollout: { status: 'current' },
+ credentialHealth: { status: 'verified', kind: 'token' },
+ commandPolicy: { status: 'not-applicable' },
+ },
capabilities: { supportsPause: true, supportsScope: true, supportsTest: true },
},
{
@@ -417,6 +431,31 @@ describe('useConnectionsLedger', () => {
lastSeen: '2026-04-23T12:00:00Z',
lastError: null,
source: 'agent',
+ fleet: {
+ enrollmentState: 'enrolled',
+ livenessState: 'active',
+ versionDrift: 'current',
+ adapterHealth: 'healthy',
+ configRollout: 'reported',
+ credentialStatus: 'verified',
+ updateStatus: 'current',
+ remoteControl: 'disabled',
+ configDrift: {
+ status: 'pending',
+ reason: 'Pulse has not received a comparable applied agent configuration fingerprint yet',
+ },
+ rollout: {
+ status: 'pending',
+ reason: 'waiting for the agent to report an applied configuration fingerprint',
+ },
+ credentialHealth: { status: 'verified', kind: 'agent-token' },
+ commandPolicy: {
+ status: 'disabled',
+ desired: 'unknown',
+ applied: 'disabled',
+ enforcement: 'not-applicable',
+ },
+ },
capabilities: { supportsPause: false, supportsScope: false, supportsTest: false },
},
{
@@ -432,6 +471,31 @@ describe('useConnectionsLedger', () => {
lastSeen: '2026-04-23T12:00:00Z',
lastError: null,
source: 'agent',
+ fleet: {
+ enrollmentState: 'enrolled',
+ livenessState: 'active',
+ versionDrift: 'current',
+ adapterHealth: 'healthy',
+ configRollout: 'reported',
+ credentialStatus: 'verified',
+ updateStatus: 'current',
+ remoteControl: 'disabled',
+ configDrift: {
+ status: 'pending',
+ reason: 'Pulse has not received a comparable applied agent configuration fingerprint yet',
+ },
+ rollout: {
+ status: 'pending',
+ reason: 'waiting for the agent to report an applied configuration fingerprint',
+ },
+ credentialHealth: { status: 'verified', kind: 'agent-token' },
+ commandPolicy: {
+ status: 'disabled',
+ desired: 'unknown',
+ applied: 'disabled',
+ enforcement: 'not-applicable',
+ },
+ },
capabilities: { supportsPause: false, supportsScope: false, supportsTest: false },
},
];
@@ -487,6 +551,7 @@ describe('useConnectionsLedger', () => {
'agent:agent-delly',
'agent:agent-minipc',
]);
+ expect(result.rows()[0].fleetHighlights.map((signal) => signal.label)).toEqual(['Fleet OK']);
expect(result.rows()[0].members).toMatchObject([
{
id: 'node-delly',
@@ -497,6 +562,7 @@ describe('useConnectionsLedger', () => {
hostAliases: ['delly', '192.168.0.10'],
coverageLabels: ['Host telemetry'],
statusLabel: 'Active',
+ fleetHighlights: [{ label: 'Remote control disabled' }],
primary: true,
},
{
@@ -508,6 +574,7 @@ describe('useConnectionsLedger', () => {
hostAliases: ['minipc', '192.168.0.11'],
coverageLabels: ['Host telemetry'],
statusLabel: 'Active',
+ fleetHighlights: [{ label: 'Remote control disabled' }],
primary: false,
},
]);
diff --git a/frontend-modern/src/components/Settings/connectionsTableModel.ts b/frontend-modern/src/components/Settings/connectionsTableModel.ts
index 79ed3fc810..3d248545d5 100644
--- a/frontend-modern/src/components/Settings/connectionsTableModel.ts
+++ b/frontend-modern/src/components/Settings/connectionsTableModel.ts
@@ -843,10 +843,11 @@ export const fleetGovernanceSignalsForConnection = (
export const visibleFleetGovernanceSignals = (
signals: readonly FleetGovernanceSignal[],
): FleetGovernanceSignal[] => {
- const attention = signals.filter(
+ const visibleSignals = signals.filter((signal) => !isPassiveAgentConfigConfirmationSignal(signal));
+ const attention = visibleSignals.filter(
(signal) => signal.tone === 'critical' || signal.tone === 'warning',
);
- const control = signals.filter((signal) => signal.tone === 'info');
+ const control = visibleSignals.filter((signal) => signal.tone === 'info');
if (attention.length + control.length > 0) {
return [...attention, ...control].slice(0, 3);
}
@@ -861,6 +862,18 @@ export const visibleFleetGovernanceSignals = (
];
};
+const isPassiveAgentConfigConfirmationSignal = (signal: FleetGovernanceSignal): boolean => {
+ if (signal.tone !== 'warning') return false;
+ if (signal.key !== 'config-drift' && signal.key !== 'rollout') return false;
+
+ const detail = signal.detail.toLowerCase();
+ return (
+ detail.includes('comparable applied agent config fingerprint') ||
+ detail.includes('comparable applied agent configuration fingerprint') ||
+ detail.includes('agent to report an applied configuration fingerprint')
+ );
+};
+
export interface InfrastructureSystemMemberRow {
id: string;
name: string;
diff --git a/frontend-modern/src/components/Settings/useConnectionsLedger.ts b/frontend-modern/src/components/Settings/useConnectionsLedger.ts
index 089e83e8b0..b54efc208c 100644
--- a/frontend-modern/src/components/Settings/useConnectionsLedger.ts
+++ b/frontend-modern/src/components/Settings/useConnectionsLedger.ts
@@ -332,7 +332,18 @@ const buildRow = (
const identitySubtitle = isStandaloneAgent
? (connectionAgentIdentitySummary(primaryConnection) ?? undefined)
: undefined;
- const fleetSignals = componentConnections.flatMap((connection) =>
+ const memberAgentConnectionIds = new Set(
+ members
+ .map((member) => member.agentConnection?.id)
+ .filter((id): id is string => typeof id === 'string' && id.length > 0),
+ );
+ const rowFleetSignalConnections = isCluster
+ ? componentConnections.filter(
+ (connection) =>
+ connection.id === primaryConnection.id || !memberAgentConnectionIds.has(connection.id),
+ )
+ : componentConnections;
+ const fleetSignals = rowFleetSignalConnections.flatMap((connection) =>
fleetGovernanceSignalsForConnection(connection),
);