mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-04 18:13:03 +00:00
bucketed_totals now returns cost and cached_tokens, so the exact-equality assertion in test_day_bucket_sums_per_day had to grow the two fields; it pins that an unreported cache bin reads NULL rather than 0. The per-user breakdown test was seeded with a source='schedule' row, which is a run-level rollup and no longer counted. Reseeded on a real flow, and both spend queries gained a test that a rollup is excluded.