litellm/tests/integration/database
Kerry Lu b245cc0d26
feat(proxy): size-triggered spend log cleanup, oldest rows first (#47450)
Adds general_settings.maximum_spend_logs_size,
maximum_spend_logs_cleanup_target_size and
maximum_spend_logs_size_check_interval, the spend_log_size_check job,
maximum_spend_logs_cleanup_cron precedence, oldest-first bounded deletes
down to the target, storage fields in the run summary and the
litellm_spend_log_storage_bytes gauge, with a Postgres integration test
covering the post-VACUUM no-refire case

Resolves LIT-9831
Fixes #44589

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-20 10:49:02 -07:00
..
image test: migrate proxy security, schema migration and MCP legacy tests (#45937) 2026-10-11 16:17:24 -07:00
migrations test(integration): update stale CircleCI integration expectations (#46570) 2026-10-14 18:21:59 -07:00
test_chunked_in_lists.py
test_cleanup_transactions.py feat(proxy): size-triggered spend log cleanup, oldest rows first (#47450) 2026-10-20 10:49:02 -07:00
test_global_spend_refresh_writer.py
test_harness_lifecycle.py test(integration): report uncollected shard files as collection errors instead of crashing xdist (#47075) 2026-10-17 14:00:48 -07:00
test_managed_file_flat_ids_index.py
test_migration_entrypoint.py
test_partition_transactions.py
test_prisma_migration_lock.py fix(proxy-extras): hold only Prisma's lock key during migrate deploy so it never waits on the request log index build (#46660) 2026-10-15 14:47:33 -07:00
test_proxy_boot_without_general_settings.py
test_reader_writer_regeneration.py test(integration): give each owned proxy a private database and Redis by default (#47213) 2026-10-18 03:37:41 +00:00
test_request_log_indexes_at_boot.py
test_roi_observed.py
test_roi_sync_store.py
test_transaction_atomicity.py
test_v1_migration_error_logging.py test(integration): hand every harness server a port from one per-worker block (#46761) 2026-10-15 16:56:40 -07:00