litellm/tests/unit/proxy/guardrails
joshua-berri 9c958aff34
fix(logging): deliver completed batch success callbacks consistently (#47192)
* fix(batches): dispatch configured success callbacks during reconciliation

* fix(batches): retain billed job claim when sync dispatch shuts down

* fix(batches): finish reconciliation when logging executor is stopped

* fix(logging): avoid duplicate custom hooks during async batch dispatch

* fix: preserve sync-only custom callback delivery

* fix: scope callback deduplication to per-call async recipients

* refactor: type per-call async success callbacks

* refactor: retain logging constructor callback compatibility

* test: support current batch reconciliation metadata

* fix(logging): honor per-logger redaction during sync success delivery

* fix(logging): centralize completed success callback dispatch

* fix(guardrails): avoid duplicate success callback dispatch

---------

Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com>
2026-10-18 09:19:04 -07:00
..
guardrail_hooks
__init__.py
test_anthropic_sse.py
test_auto_router_compression.py
test_content_filter_path_traversal.py
test_content_utils.py
test_custom_code_security.py
test_deferred_guardrail_logging.py
test_guardrail_coverage.py
test_guardrail_endpoints.py
test_guardrail_initializers.py
test_guardrail_load_balancing.py
test_guardrail_registry.py
test_init_guardrails.py
test_llm_as_a_judge.py
test_mcp_jwt_signer.py
test_pillar_guardrails.py
test_prompt_security_guardrails.py
test_qostodian_nexus_guardrail.py
test_usage_endpoints.py
test_usage_tracking.py