litellm/tests/unit/proxy/management_endpoints/management_v1
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 test(proxy): move management_endpoints, management_helpers and guardrails tests into tests/unit/proxy (#44003) 2026-10-01 10:52:03 -07:00
test_budgets.py feat(proxy): customer budget rollup, reset on the budget row's window, named templates, team overrides, multi-window limits and pause_allow_increase (#51582) 2026-11-13 16:05:35 +00:00
test_customer_budget_increase_requests.py feat(proxy): pick the customer organization's default budget template by name on create and by id on patch (#51636) 2026-11-13 17:10:04 +00:00
test_customer_usage.py feat(ui): add overall customer usage and sortable budgets (#51713) 2026-11-13 22:03:22 +00:00
test_customers.py fix(proxy): batch customer organization cascade deletion (#51969) 2026-11-16 08:03:45 +08:00
test_spend_logs.py fix(proxy): share ownership permissions for spend logs and traces (#44239) 2026-10-03 01:38:54 +00:00
test_teams.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_users.py test(proxy): move management_endpoints, management_helpers and guardrails tests into tests/unit/proxy (#44003) 2026-10-01 10:52:03 -07:00