litellm/tests/unit/redis/stores
yujonglee 39f7f6a2d9
feat(rust): insert a team for team_id_upsert in auth-store (#54828)
TeamDatabase::insert creates a team under team_id_upsert over the
repository's team insert and returns its auth cache entry, or the entry of
the team a concurrent writer stored first with its object permission, with
the access groups the insert reconciled, whose cached entries the host drops.
The license, reserved id and organization checks, and the audit log new_team
schedules, stay with the host.

The team pin gains the row an upsert with default_team_params stores, in the
Postgres read, the Redis round trip and Python's own model.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:57:07 +09:00
..
__init__.py
auth_cache_double.py perf(proxy): read only the needed team fields from the auth cache (#53909) 2026-11-23 12:53:14 -08:00
cache_invalidation_double.py refactor(auth_cache_invalidation): move the invalidation channel to the native client (#51135) 2026-11-21 18:58:27 +09:00
fake_rate_limits.py fix(rate-limit): open the rate-limit window when a token charge finds none (#54401) 2026-11-25 16:54:50 +00:00
router_session_pins_memory.py feat(redis): serve the router's session pins from a native store (#50870) 2026-11-13 03:22:28 +00:00
router_usage_double.py refactor(redis): delete the Python RedisBatch now that every request op is native (#51383) 2026-11-13 03:22:28 +00:00
spend_counters_double.py fix(proxy): write a cold spend counter's cached spend once (#52806) 2026-11-24 13:00:34 -08:00
test_active_teams.py feat(redis): serve the dynamic rate limiter's active teams from a native store (#52995) 2026-11-20 10:58:19 +09:00
test_auth_cache.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_auth_cache_end_user.py feat(auth-store): read an end user in the shape the auth cache holds it (#54639) 2026-11-26 21:57:44 +09:00
test_auth_cache_key.py fix(auth-cache): take only the key roles and regions UserAPIKeyAuth takes (#54697) 2026-11-26 21:57:45 +09:00
test_auth_cache_organization.py feat(auth-store): read an organization in the shape the auth cache holds it (#54641) 2026-11-26 21:57:45 +09:00
test_auth_cache_project.py feat(auth-store): read a project in the shape the auth cache holds it (#54635) 2026-11-26 21:57:43 +09:00
test_auth_cache_team.py feat(rust): insert a team for team_id_upsert in auth-store (#54828) 2026-11-27 18:57:07 +09:00
test_auth_cache_team_membership.py feat(auth-store): read a team membership in the shape the auth cache holds it (#54638) 2026-11-26 21:57:44 +09:00
test_auth_cache_user.py feat(auth-store): read a user in the shape the auth cache holds it (#54642) 2026-11-26 21:57:46 +09:00
test_cache_invalidation.py fix(rust_bridge): send warnings from unscoped native threads to the proxy log (#53539) 2026-11-23 17:53:52 +09:00
test_connection.py fix(redis): share one native circuit breaker between RedisCache and the Rust stores (#50473) 2026-11-07 17:50:06 +09:00
test_deployment_health.py feat(redis): serve the health checks' deployment states from a native store (#50357) 2026-11-13 03:22:28 +00:00
test_rate_limits.py refactor(redis): delete the Python RedisBatch now that every request op is native (#51383) 2026-11-13 03:22:28 +00:00
test_router_cooldowns.py refactor(redis): delete the Python RedisBatch now that every request op is native (#51383) 2026-11-13 03:22:28 +00:00
test_router_session_pins.py feat(redis): serve the router's session pins from a native store (#50870) 2026-11-13 03:22:28 +00:00
test_router_usage.py refactor(redis): move per-request miss, settlement and shutdown-drain tracking from Python into Rust (#51384) 2026-11-20 17:57:37 +09:00
test_spend_counters.py feat(proxy): add app groups with shared budgets and usage (#53232) 2026-11-21 12:50:58 -08:00