From 5b75f21159fda3c01fbe6688aa9cfde68779fba8 Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Sun, 4 Oct 2026 23:03:21 +0100 Subject: [PATCH] Keep filesystem-unavailability fixtures complete and type checked The runtime source passed the entire frontend test suite before two newly added partial telemetry fixtures failed type checking. Supply the existing six-field availability shape without changing runtime bytes, weakening assertions or rebinding the browser receipt. Change-source: pulse-maintainer --- ...uestDrawerOverview.filesystem-provenance.test.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerOverview.filesystem-provenance.test.tsx b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerOverview.filesystem-provenance.test.tsx index 9311373466..c4c7e49baa 100644 --- a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerOverview.filesystem-provenance.test.tsx +++ b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerOverview.filesystem-provenance.test.tsx @@ -8,6 +8,14 @@ import type { WorkloadGuest } from '@/types/workloads'; vi.mock('../GuestPhysicalDisks', () => ({ GuestPhysicalDisks: () => null })); const path = '/srv/backups/covered-filesystem'; +const unavailableDisk = { + cpu: true, + memory: true, + disk: false, + networkIO: true, + diskIO: true, + uptime: true, +} satisfies NonNullable; const disk = { mountpoint: path, device: '/dev/vda1', @@ -105,7 +113,7 @@ describe('filesystem details do not promote retained usage to current health', ( it('withdraws a numeric bar on explicit unavailability even without a reason', () => { render(() => ( - + )); expect(within(filesystemRow()).getByText('Usage unavailable · ?/10.0 GB · EXT4')).toBeVisible(); expect(within(filesystemRow()).queryByRole('progressbar')).not.toBeInTheDocument(); @@ -114,7 +122,7 @@ describe('filesystem details do not promote retained usage to current health', ( it('explains explicit unavailability even before any filesystem sample', () => { render(() => ( ));