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.

Lead the Kubernetes overview with the nodes that are not Ready

rcourtman42ce399bafb5
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index c3f9830d0e..e8b5e70457 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -8098,6 +8098,17 @@ the vSphere Overview renders `VsphereAlertsTable` with `showToolbar={false}`
above its hosts table, only when signals exist, matching the TrueNAS
Overview's health-alert table. Filtering stays on the platform's Health tab.
+### Kubernetes nodes state readiness in words
+
+`KubernetesNodesTable` renders the node state from `mapKubernetesNodeStatus`
+as a desktop Status column beside the name (a shared `StatusIndicatorBadge`
+for anything other than Ready, muted text for Ready) and sorts NotReady first.
+The status dot stays decorative; a phone-only screen-reader label beside the
+name announces the state where the column is demoted under the duplicate-state
+rule, so no width announces it twice. The overview reuses the same table,
+limited to nodes needing attention and with its own persisted sort slot,
+rather than a summary card.
+
### Large platform notices keep the inventory in view
`PlatformOutdatedAgentNotice` is maintenance guidance, not an incident, so it
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index d706acae89..10747f0540 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -929,8 +929,16 @@ not fork a second projection or filter model. Routine pending or
under-replicated workload attention stays attached to that shared workload
toolbar as a compact count and review action; page-wide Kubernetes attention
is reserved for node availability or critical health signals. Zero-valued
-attention facets must not occupy the summary. Node, service, storage,
-configuration, policy, and event object rows remain in their workflow tabs.
+attention facets must not occupy the summary. Both lead the Overview, above the
+cluster rows: active health signals through the shared Kubernetes alerts table
+without its toolbar, then node availability as the canonical nodes table
+limited to nodes that are not Ready, cordoned or degraded (titled "Nodes needing
+attention"), each rendered only while it has rows. The full node inventory stays
+on the Nodes tab. The nodes table names a node's state in a desktop Status
+column, as kubectl does, and on phones through a phone-only screen-reader
+label instead of a duplicate column. The remaining node inventory and the
+service, storage, configuration, policy, and event object rows remain in their
+workflow tabs.
Any other future Overview that repeats a detailed table must retire the owning
workflow, reduce the Overview content to aggregate signal, or establish an
equally explicit shared-state contract.
diff --git a/frontend-modern/browser-verification/33b717a30b75ec1c.json b/frontend-modern/browser-verification/33b717a30b75ec1c.json
new file mode 100644
index 0000000000..166457f39d
--- /dev/null
+++ b/frontend-modern/browser-verification/33b717a30b75ec1c.json
@@ -0,0 +1,41 @@
+{
+ "version": 1,
+ "base_sha": "d0915be19993b6c44c17d8e0bf27a8e3c71201d4",
+ "verified_at": "2026-10-05T03:11:16Z",
+ "result": "passed",
+ "changed_paths": [
+ "frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx",
+ "frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx",
+ "frontend-modern/src/features/kubernetes/kubernetesPageModel.ts"
+ ],
+ "content_sha256": {
+ "frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx": "2d4e46f19ecd610978e73e1b75a270edc3dc8e2411c4c3c432a7bd6e7fc83306",
+ "frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx": "bc9643a9f68d7ace6d1ec46d9d41ad2972a0d5f62543ef5c5b5f638a9dc68b0f",
+ "frontend-modern/src/features/kubernetes/kubernetesPageModel.ts": "0d3fb6f4444baa550ec710f4893f0779f4f7f0ffa58055ec247729664d645f6d"
+ },
+ "routes": [
+ "/kubernetes",
+ "/kubernetes/nodes"
+ ],
+ "viewports": [
+ {
+ "width": 1440,
+ "height": 900
+ },
+ {
+ "width": 390,
+ "height": 844
+ }
+ ],
+ "states": [
+ "Overview with one degraded node: Nodes needing attention lists Prod Euw1 K8s 03 with a Degraded status above the Clusters row (2/3 nodes)",
+ "Overview health-signals table renders above the clusters only when the alert engine reports Kubernetes incidents (none in this mock; covered by the contract test)",
+ "Nodes tab desktop: Status column with a Degraded badge for K8s 03 and muted Ready for K8s 01 and 02; node names whole",
+ "Phones: Node, Cluster, CPU, Memory, Capacity as before with whole node names; Status column demoted and the state announced once via a phone-only screen-reader label",
+ "Name clipping at 600-820px measured identical to main (pre-existing tablet band)"
+ ],
+ "interactions": [
+ "Measured name and status cell clipping across 390, 600, 700, 820, 1024 and 1440 px",
+ "Read the accessibility tree of a node row at 390 and 1440 px to confirm the state is exposed once at each width"
+ ]
+}
diff --git a/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx
index 89cc81def2..0150536cca 100644
--- a/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx
+++ b/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx
@@ -1,5 +1,6 @@
import { Show, createMemo, type Component, type JSX } from 'solid-js';
import { StatusDot } from '@/components/shared/StatusDot';
+import { StatusIndicatorBadge } from '@/components/shared/StatusIndicatorBadge';
import { ResponsiveMetricCell } from '@/components/shared/responsive';
import { StackedMemoryBar } from '@/components/Workloads/StackedMemoryBar';
import { TableCell, TableRow } from '@/components/shared/Table';
@@ -64,6 +65,7 @@ const formatRoles = (roles: string[] | undefined): string => {
const KUBERNETES_NODE_SORT_KEYS = [
'node',
+ 'status',
'cluster',
'roles',
'kubelet',
@@ -86,6 +88,11 @@ const getKubernetesNodeSortValue = (
switch (key) {
case 'node':
return asTrimmedString(node.name) || node.id;
+ case 'status': {
+ // Ascending puts NotReady first, then cordoned or degraded, then Ready.
+ const variant = mapKubernetesNodeStatus(node).variant;
+ return variant === 'danger' ? 0 : variant === 'warning' ? 1 : variant === 'success' ? 3 : 2;
+ }
case 'cluster':
return kubernetesClusterLabel(node) || null;
case 'roles': {
@@ -124,6 +131,8 @@ export const KubernetesNodesTable: Component<{
emptyDescription: string;
title?: string;
showToolbar?: boolean;
+ /** Persisted sort slot; a second instance (the Overview attention list) needs its own. */
+ sortStorageKey?: string;
}> = (props) => {
const { activeAlerts } = useWebSocket();
const alertsActivation = useAlertsActivation();
@@ -139,7 +148,7 @@ export const KubernetesNodesTable: Component<{
// are pre-sorted by the status compare, so a user sort keeps that order
// for ties and the table falls straight back to it when the sort clears.
const sort = createPlatformTableSortState({
- storageKey: 'kubernetesNodes',
+ storageKey: props.sortStorageKey ?? 'kubernetesNodes',
sortKeys: KUBERNETES_NODE_SORT_KEYS,
descendingFirst: ['cpu', 'memory', 'uptime', 'capacity'],
});
@@ -209,15 +218,29 @@ export const KubernetesNodesTable: Component<{
kind="name"
sort={sort}
sortKey="node"
- class="platform-table-mobile-w-30 md:w-[15%]"
+ class="platform-table-mobile-w-30 md:w-[14%]"
>
Node
</PlatformSortableTableHead>
+ {/*
+ Status sits beside the name, as in kubectl get nodes: the
+ dot alone made "why is this node amber" a hover. On phones
+ the dot carries the state (and names it to assistive tech),
+ so the column is desktop-only.
+ */}
+ <PlatformSortableTableHead
+ kind="text"
+ sort={sort}
+ sortKey="status"
+ class="platform-table-phone-hidden md:w-[8%]"
+ >
+ Status
+ </PlatformSortableTableHead>
<PlatformSortableTableHead
kind="text"
sort={sort}
sortKey="cluster"
- class="platform-table-mobile-w-15 md:w-[10%]"
+ class="platform-table-mobile-w-15 md:w-[8%]"
>
<PlatformResponsiveTableLabel compact="Clus" full="Cluster" />
</PlatformSortableTableHead>
@@ -225,7 +248,7 @@ export const KubernetesNodesTable: Component<{
kind="text"
sort={sort}
sortKey="roles"
- class="platform-table-phone-hidden md:w-[10%]"
+ class="platform-table-phone-hidden md:w-[8%]"
>
<PlatformResponsiveTableLabel compact="Role" full="Roles" />
</PlatformSortableTableHead>
@@ -241,7 +264,7 @@ export const KubernetesNodesTable: Component<{
kind="text"
sort={sort}
sortKey="runtime"
- class="hidden md:table-cell md:w-[15%]"
+ class="hidden md:table-cell md:w-[12%]"
>
Runtime
</PlatformSortableTableHead>
@@ -366,8 +389,26 @@ export const KubernetesNodesTable: Component<{
class="min-w-0"
nameClass="truncate font-semibold text-base-content"
/>
+ {/* Phones demote the Status column; announce the state there only. */}
+ <span class="sr-only platform-table-phone-only-inline">
+ {indicator().label}
+ </span>
</div>
</TableCell>
+ <TableCell
+ class={`${getPlatformTableCellClassForKind('text')} platform-table-phone-hidden`}
+ >
+ <Show
+ when={indicator().variant !== 'success'}
+ fallback={<span class="text-muted">{indicator().label}</span>}
+ >
+ <StatusIndicatorBadge
+ variant={indicator().variant}
+ label={indicator().label}
+ size="xs"
+ />
+ </Show>
+ </TableCell>
<TableCell
class={`${getPlatformTableCellClassForKind('text')} text-base-content`}
>
@@ -434,7 +475,7 @@ export const KubernetesNodesTable: Component<{
resource={node}
open={isExpanded()}
detailRowId={detailRowId()}
- colSpan={9}
+ colSpan={10}
resolveResourceLabel={resolveResourceLabel}
onClose={() => drawer.close(node)}
/>
diff --git a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
index 0ef2d7cc0d..311aa3f67b 100644
--- a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
+++ b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
@@ -40,6 +40,7 @@ import {
KUBERNETES_TAB_SPECS,
buildKubernetesPageModel,
buildKubernetesOverviewPosture,
+ getKubernetesNodesNeedingAttention,
filterKubernetesResources,
getKubernetesPageTabSpecs,
resolveKubernetesPageTabId,
@@ -709,8 +710,39 @@ function KubernetesOverview(props: KubernetesOverviewProps) {
return posture.podAttention + posture.deploymentAttention;
});
+ const nodesNeedingAttention = createMemo(() => getKubernetesNodesNeedingAttention(props.model()));
+
return (
<div class="space-y-4">
+ {/*
+ Problems lead, inventory follows: active health signals, then the
+ nodes that are not Ready, before the cluster summary and workloads.
+ Filtering stays on the Nodes and Events tabs.
+ */}
+ <Show when={props.model().incidents.length > 0}>
+ <div id="kubernetes-health-signals">
+ <KubernetesAlertsTable
+ incidents={props.model().incidents}
+ emptyIcon={k8sIcon()}
+ emptyTitle="No active Kubernetes alerts"
+ emptyDescription="Kubernetes health alerts appear here when the Pulse alert engine reports active workload, node, or cluster incidents."
+ showToolbar={false}
+ />
+ </div>
+ </Show>
+ <Show when={nodesNeedingAttention().length > 0}>
+ <div data-kubernetes-nodes-needing-attention>
+ <KubernetesNodesTable
+ resources={nodesNeedingAttention()}
+ title="Nodes needing attention"
+ sortStorageKey="kubernetesNodesNeedingAttention"
+ emptyIcon={k8sIcon()}
+ emptyTitle="All nodes are Ready"
+ emptyDescription="Nodes appear here when they are not Ready, cordoned or degraded."
+ showToolbar={false}
+ />
+ </div>
+ </Show>
<KubernetesClustersTable
clusters={props.model().clusters}
scope={props.model().resources}
@@ -738,16 +770,6 @@ function KubernetesOverview(props: KubernetesOverviewProps) {
controllers={getKubernetesControllerResources(props.model())}
attentionCount={workloadAttention()}
/>
- <Show when={props.model().incidents.length > 0}>
- <div id="kubernetes-health-signals">
- <KubernetesAlertsTable
- incidents={props.model().incidents}
- emptyIcon={k8sIcon()}
- emptyTitle="No active Kubernetes alerts"
- emptyDescription="Kubernetes health alerts appear here when the Pulse alert engine reports active workload, node, or cluster incidents."
- />
- </div>
- </Show>
</div>
);
}
diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx
index 56c1fbdbd6..bdc81eba19 100644
--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx
+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesNodesTable.test.tsx
@@ -81,6 +81,34 @@ describe('KubernetesNodesTable', () => {
expect(headers.find((header) => header.textContent?.includes('Role'))).toHaveClass(
'platform-table-phone-hidden',
);
+ // The dot carries the state on phones, so the Status column is desktop-only.
+ expect(headers.find((header) => header.textContent?.includes('Status'))).toHaveClass(
+ 'platform-table-phone-hidden',
+ );
+ });
+
+ it('says why a node is not Ready in its Status column and to assistive tech', () => {
+ render(() => (
+ <KubernetesNodesTable
+ resources={[
+ makeNodeResource({ kubernetes: { ...makeNodeResource().kubernetes, ready: false } }),
+ ]}
+ emptyIcon={<span />}
+ emptyTitle="No nodes"
+ emptyDescription="No nodes"
+ showToolbar={false}
+ />
+ ));
+
+ // Desktop: the Status column says it. Phones: the column is demoted and a
+ // phone-only screen-reader label says it, so it is never announced twice.
+ const labels = screen.getAllByText('NotReady');
+ expect(labels).toHaveLength(2);
+ expect(labels.some((label) => label.closest('.platform-table-phone-hidden'))).toBe(true);
+ expect(
+ labels.some((label) => label.classList.contains('platform-table-phone-only-inline')),
+ ).toBe(true);
+ expect(screen.queryByLabelText('NotReady')).toBeNull();
});
it('keeps node identity inert and launches its web interface without expanding the row', () => {
diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx
index 08f9a96b48..44bb874f08 100644
--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx
+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx
@@ -121,8 +121,17 @@ vi.mock('../KubernetesNetworkingTable', () => ({
}));
vi.mock('../KubernetesNodesTable', () => ({
- KubernetesNodesTable: (props: { resources: Resource[] }) => (
- <div data-testid="nodes-table" data-rows={props.resources.length} />
+ KubernetesNodesTable: (props: {
+ resources: Resource[];
+ title?: string;
+ sortStorageKey?: string;
+ }) => (
+ <div
+ data-testid="nodes-table"
+ data-rows={props.resources.length}
+ data-title={props.title}
+ data-sort-key={props.sortStorageKey}
+ />
),
}));
@@ -161,6 +170,59 @@ describe('KubernetesPageSurface contract', () => {
vi.clearAllMocks();
});
+ it('leads the overview with health signals and not-ready nodes before inventory', () => {
+ setResources([
+ makeResource({ id: 'cluster-1', type: 'k8s-cluster' }),
+ makeResource({
+ id: 'node-down',
+ type: 'k8s-node',
+ kubernetes: { ready: false } as Resource['kubernetes'],
+ }),
+ makeResource({
+ id: 'node-ok',
+ type: 'k8s-node',
+ kubernetes: { ready: true } as Resource['kubernetes'],
+ }),
+ makeResource({
+ id: 'pod-1',
+ type: 'pod',
+ incidents: [{ code: 'pod_crashloop', severity: 'warning', summary: 'CrashLoopBackOff' }],
+ }),
+ ]);
+
+ renderSurface();
+
+ const signals = screen.getByTestId('alerts-table');
+ const attention = screen.getByTestId('nodes-table');
+ const clusters = screen.getByTestId('clusters-table');
+ expect(attention).toHaveAttribute('data-title', 'Nodes needing attention');
+ expect(attention).toHaveAttribute('data-rows', '1');
+ // Its own persisted sort, so sorting the Nodes tab cannot reorder this list.
+ expect(attention).toHaveAttribute('data-sort-key', 'kubernetesNodesNeedingAttention');
+ expect(
+ signals.compareDocumentPosition(attention) & Node.DOCUMENT_POSITION_FOLLOWING,
+ ).toBeTruthy();
+ expect(
+ attention.compareDocumentPosition(clusters) & Node.DOCUMENT_POSITION_FOLLOWING,
+ ).toBeTruthy();
+ });
+
+ it('shows no attention table when every node is Ready', () => {
+ setResources([
+ makeResource({ id: 'cluster-1', type: 'k8s-cluster' }),
+ makeResource({
+ id: 'node-ok',
+ type: 'k8s-node',
+ kubernetes: { ready: true } as Resource['kubernetes'],
+ }),
+ ]);
+
+ renderSurface();
+
+ expect(screen.queryByTestId('nodes-table')).toBeNull();
+ expect(screen.queryByTestId('alerts-table')).toBeNull();
+ });
+
it('declares inventory-backed workflow tabs while querying API-native Kubernetes resources', () => {
setResources([
makeResource({ id: 'cluster-1', type: 'k8s-cluster' }),
diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx
index bb135bc22c..7e197cdfd2 100644
--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx
+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx
@@ -16,6 +16,18 @@ vi.mock('@/hooks/useUnifiedResources', () => ({
useUnifiedResources: (...args: unknown[]) => mockUseUnifiedResources(...args),
}));
+// The overview names nodes that are not Ready through the real nodes table.
+vi.mock('@/contexts/appRuntime', () => ({
+ useWebSocket: () => ({ activeAlerts: [] }),
+}));
+
+vi.mock('@/stores/alertsActivation', () => ({
+ useAlertsActivation: () => ({
+ detectionEnabled: () => true,
+ getMetricThresholds: () => ({ warning: 80, critical: 85 }),
+ }),
+}));
+
vi.mock('@/stores/updates', () => ({
updateStore: {
versionInfo: mockVersionInfo,
@@ -118,7 +130,17 @@ describe('Kubernetes URL-backed shared toolbar filters', () => {
// node availability now reads as a warning-toned ready/total ratio on the
// cluster row instead of a standalone summary region.
expect(screen.queryByRole('region', { name: 'Kubernetes attention' })).not.toBeInTheDocument();
- const clusterRow = screen.getAllByText('Cluster 1')[0].closest('tr');
+ // The node itself is named once, in the attention table above the clusters.
+ expect(screen.getByText('Nodes needing attention')).toBeInTheDocument();
+ expect(
+ document.querySelector(
+ '[data-kubernetes-nodes-needing-attention] [data-kubernetes-node-row]',
+ ),
+ ).not.toBeNull();
+ const clusterRow = screen
+ .getAllByText('Cluster 1')
+ .map((cell) => cell.closest('tr'))
+ .find((row) => !row?.hasAttribute('data-kubernetes-node-row'))!;
expect(clusterRow).not.toBeNull();
expect(clusterRow).toHaveTextContent('0/1');
const degradedCount = clusterRow!.querySelector('.text-amber-700');
diff --git a/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts b/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts
index 1fec5c9a4d..280dea15a7 100644
--- a/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts
+++ b/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts
@@ -1,5 +1,6 @@
import { describe, expect, it } from 'vitest';
import type { Resource } from '@/types/resource';
+import { getKubernetesNodesNeedingAttention } from '../kubernetesPageModel';
import {
KUBERNETES_TAB_SPECS,
buildKubernetesClusterChildCounts,
@@ -1086,3 +1087,20 @@ describe('kubernetesPageModel', () => {
});
});
});
+
+describe('getKubernetesNodesNeedingAttention', () => {
+ const node = (id: string, kubernetes: Record<string, unknown>, status = 'online') =>
+ ({ id, name: id, type: 'k8s-node', status, kubernetes }) as never;
+
+ it('names NotReady nodes first, then cordoned ones, and leaves Ready nodes out', () => {
+ const nodes = [
+ node('b-ready', { ready: true }),
+ node('c-cordoned', { ready: true, unschedulable: true }),
+ node('a-down', { ready: false }),
+ ];
+
+ const result = getKubernetesNodesNeedingAttention({ nodes } as never);
+
+ expect(result.map((entry: { id: string }) => entry.id)).toEqual(['a-down', 'c-cordoned']);
+ });
+});
diff --git a/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts b/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts
index b57654b700..3339c23bb3 100644
--- a/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts
+++ b/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts
@@ -768,6 +768,19 @@ const countKubernetesDanger = (
mapper: (resource: Resource) => StatusIndicator,
): number => resources.filter((resource) => mapper(resource).variant === 'danger').length;
+// Nodes the overview should name before any inventory: NotReady first, then
+// cordoned or degraded ones. "2/3 nodes" on the cluster row says something is
+// wrong but not which node; this list answers that.
+export function getKubernetesNodesNeedingAttention(model: KubernetesPageModel): Resource[] {
+ const rank = (node: Resource) => {
+ const variant = mapKubernetesNodeStatus(node).variant;
+ return variant === 'danger' ? 0 : variant === 'warning' ? 1 : 2;
+ };
+ return model.nodes
+ .filter((node) => rank(node) < 2)
+ .sort((a, b) => rank(a) - rank(b) || a.name.localeCompare(b.name));
+}
+
export function buildKubernetesOverviewPosture(
model: KubernetesPageModel,
): KubernetesOverviewPosture {
diff --git a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
index bae62908b8..b6b814bb92 100644
--- a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
+++ b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
@@ -360,7 +360,11 @@ describe('platform overview layout guardrails', () => {
'-my-3 inline-flex min-h-11 items-center truncate',
);
expect(kubernetesNodesTableSource).toMatch(
- /sortKey="roles"[\s\S]{0,160}?class="platform-table-phone-hidden md:w-\[10%\]"/,
+ /sortKey="roles"[\s\S]{0,160}?class="platform-table-phone-hidden md:w-\[8%\]"/,
+ );
+ // Status names the node state on desktop; the dot carries it on phones.
+ expect(kubernetesNodesTableSource).toMatch(
+ /sortKey="status"[\s\S]{0,120}?class="platform-table-phone-hidden md:w-\[8%\]"/,
);
expect(kubernetesNodesTableSource).toMatch(
/sortKey="capacity"[\s\S]{0,120}?class="platform-table-mobile-w-10 md:w-\[14%\]"/,