From e96aa39853474085bce5e65e0771957136cb99eb Mon Sep 17 00:00:00 2001 From: Aditya Vikram Singh <247195684+avs-io@users.noreply.github.com> Date: Fri, 21 Aug 2026 22:55:51 +0530 Subject: [PATCH] test: daily[] rows consume durable.days, not headlines Extra High MERGE AFTER FIX on 7e51413. JSON-report headlines come from durable.data; daily[] is the durable.days consumer. Oracle helper and assertions unchanged. --- tests/day-aggregator.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/day-aggregator.test.ts b/tests/day-aggregator.test.ts index db1c0adc..43159cd9 100644 --- a/tests/day-aggregator.test.ts +++ b/tests/day-aggregator.test.ts @@ -464,7 +464,7 @@ describe('buildPeriodDataFromDays', () => { describe('daily-cache ↔ report daily-bucket parity', () => { // The daily cache (history.daily + provider breakdown) and JSON-report - // headlines (durable.days from buildDurablePeriod) must bucket days by the + // daily[] rows (durable.days from buildDurablePeriod) must bucket days by the // SAME rule, or their per-day totals drift and their period sums diverge from // current.cost at window boundaries — the V1 audit's constant -$3.45/-81-calls // finding. Both are now PER-CALL for cost/savings/calls (issue #852) with