litellm/tests/unit/proxy/management_helpers
jesus-berri d48fa8d19e
feat(proxy): page team members and stop loading full rosters for /team/info callers (#51885)
* feat(proxy): page team members and let /team/info skip the roster

* test(proxy): cover the team members list and the roster-free member update

* test(proxy): drop team_info doubles the member update no longer reaches

* test(proxy): cover the roster-free team info and email resolution

* fix(proxy): freeze the team members list models

* fix(proxy): resolve a member update email to the first roster entry showing it

* refactor(proxy): match blank member emails like team info and share the team problem helpers publicly

* fix(teams): bound the members-page membership lookup, skip team keys in useTeam, cover the members list in unit tests

* fix(teams): keep comma user ids whole, answer 503 on a database outage, hide the unloaded member count

* fix(ui): keep team member budget hints on screen while the next page of key owners loads

* test(teams): keep the seeded roster out of the license seat count

The members list fixture seeds 5,000 users into the database the whole
management suite shares. Under a license with a seat cap, every
/user/new in the suite answered 403 while those rows existed. Mark the
seeded users SCIM-inactive so they are not billable seats, and keep the
one member whose key the auth test signs in with active.

* test(management): cover malformed queries, empty rosters, a database outage and a worker kill on the team members route

Co-Authored-By: bot_apk <apk@cognition.ai>

* test(management): keep every reader going until it lands a page after the worker kill

* test(management): wait for the post-kill pages before stopping the readers

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: bot_apk <apk@cognition.ai>
2026-11-17 16:30:52 -08:00
..
__init__.py
team_metadata_validator_impls.py test(proxy): move management_endpoints, management_helpers and guardrails tests into tests/unit/proxy (#44003) 2026-10-01 10:52:03 -07:00
test_access_group_key_sync.py test(proxy): move management_endpoints, management_helpers and guardrails tests into tests/unit/proxy (#44003) 2026-10-01 10:52:03 -07:00
test_access_group_model_sync.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_access_group_team_sync.py test(proxy): move management_endpoints, management_helpers and guardrails tests into tests/unit/proxy (#44003) 2026-10-01 10:52:03 -07:00
test_audit_log_callbacks.py refactor(s3-log): move the rust-backed s3 logger from s3_v3 to s3_v2 (#51893) 2026-11-14 22:24:23 -08:00
test_audit_logs_proxy.py feat(control_plane): dataplane registry, credential strategies and client (#49655) 2026-11-16 17:36:23 +00:00
test_auto_router_availability.py refactor(router): fence the router surface and document the router-core boundary (#48839) 2026-10-29 00:01:52 +00:00
test_auto_router_permissions.py fix(databricks): call the ai_decide AI Function route for decisions and the auto-router (#45722) 2026-10-10 23:58:16 -07:00
test_bulk_user_creation.py feat(proxy): let a key's logging entry reference a proxy credential (#50572) 2026-11-09 16:02:46 -08:00
test_bulk_user_deletion.py feat(proxy): page team members and stop loading full rosters for /team/info callers (#51885) 2026-11-17 16:30:52 -08:00
test_customer_budget_usage.py fix(budgets): match window starts to stored millisecond precision (#51921) 2026-11-16 04:02:44 +08:00
test_customer_hierarchy.py fix(proxy): batch customer organization cascade deletion (#51969) 2026-11-16 08:03:45 +08:00
test_management_helpers_utils.py fix(proxy): reset members given default team member models on the team's budget window (#51960) 2026-11-15 16:00:44 -08:00
test_object_permission_utils.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_resource_display_names.py feat(access-groups): name group vector stores and list them on team info (#51484) 2026-11-13 07:53:04 -08:00
test_team_list_sorting.py feat(ui): sort every teams table data column (#48109) 2026-10-23 16:21:36 -07:00
test_team_member_permission_checks.py fix(proxy): align ownership and scope handling (#50600) 2026-11-08 07:03:36 +00:00
test_team_metadata_validation.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_team_roster_sync.py feat(redis): serve the proxy's common Redis call with Rust stores (#50170) 2026-11-06 06:01:11 +00:00
test_user_list_sorting.py feat(ui): sort every users table data column (#48105) 2026-10-23 16:12:51 -07:00