litellm/tests/unit/proxy/proxy_server
ryan-crabbe-berri 9a202060a0
feat(proxy): health check AI Hub models published through a wildcard (#52875)
* test(proxy): cover AI Hub health for wildcard-published models

* feat(proxy): health check public models served through a wildcard so the AI Hub shows their status

* fix(proxy): probe public wildcard models inside the guarded save so a failure never stops background health checks

* fix(proxy): resolve each public wildcard probe's own mode and keep the probe-then-save logic in health_check

* fix(proxy): skip the unmatched model groups warning when a group names a published wildcard model

* fix(proxy): save the cycle's health rows before probing public wildcard models under a deadline

* refactor(proxy): restore base health row matching and name the wildcard probe scope fields

* fix(proxy): probe public wildcard models one task each under the deadline and skip them when the cycle's save fails

* fix(proxy): save timed-out wildcard probes as unhealthy and probe a published alias through its target

* fix(proxy): skip wildcard probes that never started, shuffle probe order each round, and inject the probe deadline

* fix(proxy): probe each served wildcard model once and give probes only the time left in the interval

* fix(proxy): probe every wildcard deployment serving a published model and combine their results per name

* fix(proxy): keep wildcard probe code within the ruff and type gates

* refactor(proxy): check public wildcard children in the normal background list and keep them out of routing

* fix(proxy): compare each health row with its own id and name and index model infos by id

* fix(proxy): let the wildcard child split pass non-dict health results through untouched
2026-11-20 11:03:02 -08:00
..
.coverage_baseline
__init__.py
_coverage_check.py
_pin_check.py
conftest.py fix(proxy): release request bodies of failed calls without waiting for a full GC (#52600) 2026-11-19 00:50:33 +00:00
test_background_health.py feat(proxy): health check AI Hub models published through a wildcard (#52875) 2026-11-20 11:03:02 -08:00
test_exception_handlers.py feat(proxy): let operators omit x-litellm-* response headers (#52949) 2026-11-19 15:27:34 -08:00
test_harness_smoke.py
test_lifecycle.py fix(proxy/auth): return 401 for a non-master key when no database is configured (#52349) 2026-11-17 14:19:09 -08:00
test_openapi_customization.py refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
test_proxy_config.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_routes_anthropic_beta.py
test_routes_assistants.py fix(proxy): keep the mapped status on assistants and threads route errors (#44994) 2026-10-09 16:55:15 -07:00
test_routes_audio.py feat(tts)!: stream audio from the provider as it arrives on /v1/audio/speech (#46222) 2026-11-17 15:03:12 +00:00
test_routes_chat_completions.py fix(azure): drop the traceback from stream-cut errors sent to clients and alerts (#51760) 2026-11-14 08:00:58 +00:00
test_routes_completions.py fix(azure): drop the traceback from stream-cut errors sent to clients and alerts (#51760) 2026-11-14 08:00:58 +00:00
test_routes_config.py fix(ui): mark logging callbacks set in config.yaml and disable their delete (#52507) 2026-11-18 11:14:33 -08:00
test_routes_embeddings.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_routes_invitation.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_routes_login_sso.py refactor(proxy): move non-auth writers out of the auth cache (#51599) 2026-11-20 17:57:38 +09:00
test_routes_misc.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_routes_model_cost_map.py refactor(model-cost): move the cost map inputs, fetch and register_model overlay into Rust (#50501) 2026-11-10 02:37:35 +00:00
test_routes_model_info.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
test_routes_model_metrics.py
test_routes_models.py fix(proxy): serve Codex its own Bedrock catalog entries for Bedrock deployments (#50743) 2026-11-09 19:00:22 -08:00
test_routes_moderations.py fix(proxy): log each endpoint's own call type on failed audio, moderation, image, and rerank spend rows (#49684) 2026-11-02 23:57:11 +00:00
test_routes_onboarding.py
test_routes_queue.py fix(proxy): run baggage tag mappings and budget checks on /queue/chat/completions (#51753) 2026-11-14 08:54:54 -05:00
test_routes_threads.py fix(proxy): keep the mapped status on assistants and threads route errors (#44994) 2026-10-09 16:55:15 -07:00
test_routes_utils.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
test_spend_counters.py feat(budgets): replace the python budget hold and settle engine with a rust engine admitted at auth (#51535) 2026-11-15 16:03:51 -08:00
test_streaming_helpers.py fix(router): keep both errors when a streamed cross-group fallback also fails (#52217) 2026-11-16 22:04:16 -08:00
test_team_model_name_translation.py fix(proxy)!: price expanded wildcard /model/info rows as the model their calls route to (#49128) 2026-11-08 19:08:22 +00:00