diff --git a/website/src/__tests__/public-marketing-pages.test.tsx b/website/src/__tests__/public-marketing-pages.test.tsx index c5ddba2..511871b 100644 --- a/website/src/__tests__/public-marketing-pages.test.tsx +++ b/website/src/__tests__/public-marketing-pages.test.tsx @@ -99,7 +99,7 @@ vi.mock('../site-config', () => ({ }, })) -import { DownloadPage, PricingPage, SupportPage } from '../pages/public-pages' +import { DownloadPage, PricingPage, ResourcesPage, SupportPage } from '../pages/public-pages' function renderWithProviders(element: React.ReactNode, initialEntries?: string[]) { const queryClient = new QueryClient({ @@ -206,4 +206,12 @@ describe('public marketing pages', () => { expect(screen.getByText('Launch readiness')).toBeTruthy() expect(screen.getByText(/turning the preview lane into a public launch/i)).toBeTruthy() }) + + it('surfaces current packaged desktop proof on the public resources page', () => { + renderWithProviders(, ['/resources']) + + expect(screen.getByText('Current packaged desktop proof')).toBeTruthy() + expect(screen.getByText('Windows Unreal packaged validation')).toBeTruthy() + expect(screen.getAllByText(/MagicCube5D dedicated-family training map: passed/i).length).toBeGreaterThan(0) + }) }) diff --git a/website/src/pages/public-pages.tsx b/website/src/pages/public-pages.tsx index 87ba00c..5427db1 100644 --- a/website/src/pages/public-pages.tsx +++ b/website/src/pages/public-pages.tsx @@ -19,8 +19,10 @@ import { } from '../site-config' import { buildReleaseMetadataItems, + formatReleasePublishedAt, resolveReleaseManifestView, } from '../release-manifest' +import { getReleasePlatformValidationSummary } from '../shared/package-validation' import { buildProtectedDownloadPath, isExternalHref } from '../site-routes' import { capabilityPillars, @@ -268,6 +270,7 @@ export function AboutPage() { export function ResourcesPage() { const [query, setQuery] = useState('') const deferredQuery = useDeferredValue(query) + const windowsValidationSummary = getReleasePlatformValidationSummary('windows') const filteredCollections = useMemo(() => { const normalized = deferredQuery.trim().toLowerCase() @@ -334,6 +337,35 @@ export function ResourcesPage() { + + {windowsValidationSummary ? ( +
+
+

{windowsValidationSummary.lane}

+

+ Latest public-safe package evidence was generated{' '} + {formatReleasePublishedAt(windowsValidationSummary.generated_at) || windowsValidationSummary.generated_at} + {' '}in {windowsValidationSummary.configuration} mode and passed across{' '} + {windowsValidationSummary.smoke_map_count} dedicated-family higher-dimensional training map{windowsValidationSummary.smoke_map_count === 1 ? '' : 's'}. +

+
    + {windowsValidationSummary.smoke_maps.map((map) => ( +
  • + {map.label}: {map.result} +
  • + ))} +
+
+ + Open download center + + + Open operator dashboard + +
+
+
+ ) : null} )