litellm/tests/unit/repositories
joshua c4a89e7729 feat(usage): serve sub-day usage rollups from ClickHouse spend logs
Add a generic bounded rollup read to the spend-clickhouse crate (closed
dimension/bucket enums, param_* bound filters, readonly limits), expose it
as NativeClickHouseSpendStorage.fetch_rollup, and add a
ClickHouseSpendRollupRepository plus GET /{entity}/activity/rollup that
reuses the daily aggregated response shape with bucket timestamps.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-26 02:26:53 +00:00
..
__init__.py test: add __init__.py to new tests/unit packages 2026-09-20 12:36:13 +00:00
test_chunked_in.py ci: fail on new unbounded SQL IN lists and add a Prisma chunking helper (#42629) 2026-09-26 13:40:44 -07:00
test_daily_activity_repository.py feat(usage): add top users by spend and user activity views (#45310) 2026-10-10 12:21:43 -07:00
test_daily_activity_sql.py feat(usage): add top users by spend and user activity views (#45310) 2026-10-10 12:21:43 -07:00
test_repositories.py feat(proxy): add deployment warning endpoints with instance-wide ignore and snooze (#46347) 2026-10-14 17:53:38 +00:00
test_spend_rollup_repository.py feat(usage): serve sub-day usage rollups from ClickHouse spend logs 2026-10-26 02:26:53 +00:00
test_unit_of_work.py fix(proxy): reconcile team member total_spend with current cycle spend (#48260) 2026-10-24 17:57:09 -07:00