From df18123e7da3b682eed811c0e01c94a44dc2c29c Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Fri, 2 Oct 2026 16:53:57 +0100 Subject: [PATCH] Align History guardrails and record valid UTC browser proof A fresh two-engine browser pass verifies the unchanged runtime source. Update the cross-surface empty-state assertions to the truthful copy. Contract-Neutral: Verification and receipt corrections only; runtime source and subsystem contracts are unchanged. Change-source: pulse-maintainer --- frontend-modern/browser-verification.json | 4 ++-- .../src/components/shared/SharedPrimitives.guardrails.test.ts | 3 ++- .../utils/__tests__/frontendResourceTypeBoundaries.test.ts | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json index f9f7e62f7e..bd379e2ebb 100644 --- a/frontend-modern/browser-verification.json +++ b/frontend-modern/browser-verification.json @@ -1,7 +1,7 @@ { "version": 1, - "base_sha": "65a36dd4e7a83e682b9dadc4bb624d79fcb10546", - "verified_at": "2026-10-02T15:52:23.739120+00:00", + "base_sha": "c6edeee869a11f9206390e855fc63da744fb394a", + "verified_at": "2026-10-02T15:53:54.725571Z", "result": "passed", "changed_paths": [ "frontend-modern/src/components/shared/HistoryChart.tsx", diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts index 1325a4260f..95c9485247 100644 --- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts +++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts @@ -5283,7 +5283,8 @@ describe('shared primitive guardrails', () => { expect(historyChartHeaderSource).not.toContain('ChartsAPI.getMetricsHistory'); expect(historyChartHeaderSource).not.toContain('setupCanvasDPR'); - expect(historyChartOverlaySource).toContain('Collecting data... History will appear here.'); + expect(historyChartOverlaySource).toContain('No history samples in this time range.'); + expect(historyChartOverlaySource).not.toContain('History will appear here.'); expect(historyChartOverlaySource).toContain( 'Historical data beyond {props.chart.lockDays()} days requires a higher license plan.', ); diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts index 35e2debb92..9dfa485452 100644 --- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts +++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts @@ -2452,7 +2452,8 @@ describe('frontend resource type boundaries', () => { expect(historyChartModelSource).toContain('HISTORY_CHART_RANGES'); expect(historyChartModelSource).toContain('getHistoryChartScale'); expect(historyChartHeaderSource).toContain('formatHistoryChartTooltipValue'); - expect(historyChartOverlaySource).toContain('Collecting data... History will appear here.'); + expect(historyChartOverlaySource).toContain('No history samples in this time range.'); + expect(historyChartOverlaySource).not.toContain('History will appear here.'); expect(historyChartOverlaySource).not.toContain('presentationPolicyHidesUpgradePrompts'); expect(historyChartOverlaySource).not.toContain( 'Unlock {props.chart.lockTierLabel()} Features',