PR #26484 substitutes LITELLM_PROXY_MASTER_KEY_ALIAS for hash_token(master_key) in UserAPIKeyAuth so the master key (or its hash) never reaches spend logs / metrics. The otel prometheus tests still hardcoded the SHA-256 of "sk-1234" ("88dc28d0f030c55ed4ab77ed8faf098196cb1c05df778539800c9f1243fe6b4b"), so the metric labels no longer matched and test_proxy_failure_metrics failed. Reference the alias constant directly. https://claude.ai/code/session_01UkzyZKiADEkZDbZFwB98yV Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| test_e2e_budgeting.py | ||
| test_e2e_model_access.py | ||
| test_guardrails.py | ||
| test_key_logging_callbacks.py | ||
| test_model_info.py | ||
| test_moderations.py | ||
| test_otel.py | ||
| test_prometheus.py | ||
| test_rerank.py | ||
| test_team_member_permissions.py | ||
| test_team_tag_routing.py | ||