litellm/tests/unit/accounting
Joshua Valluru 1e45148f9d fix(spend): take row locks in the batched order when isolating a delivery
The isolated retry applied contributions in table-name order, so it locked
daily rows before the entity rows the batched path updates first. Two workers
charging the same key or user without a team could then deadlock. Isolation now
writes entity tables in the writer's commit order, then the daily tables, model
usage, guardrail units and budget windows, each table's rows in that writer's
own order.
2026-11-14 16:29:22 -08:00
..
__init__.py feat(accounting): add accounting contracts, PricingSnapshot and ledger schema (LIT-10193) (#48862) 2026-10-28 14:39:25 -07:00
test_application.py fix(spend): take row locks in the batched order when isolating a delivery 2026-11-14 16:29:22 -08:00
test_delivery_projection.py feat(accounting): add opt-in SpendLogs ledger (#49856) 2026-11-04 17:49:15 -08:00
test_metrics.py fix(accounting): stop delivery metrics from scanning retained receipts on every flush (#50565) 2026-11-07 18:21:32 -08:00
test_projection.py fix(spend): keep charges when a projection value cannot be indexed 2026-11-14 15:06:32 -08:00
test_worker.py feat(proxy): enforce customer org, team and member budgets and limits on the request path (#51489) 2026-11-12 20:43:44 -08:00