litellm/tests/unit/proxy/auth/host/steps
yujonglee 3b08eb98cb
feat(db): add jwt team members through the rust repository (#52766)
Add TeamMembershipRepository::add_member and route PythonAuthHost.add_team_member through it
in place of the /team/member_add endpoint call. One transaction puts the team on the user,
inserts the member's own budget when it gets one, upserts the membership row and appends the
user to the team's roster, under the advisory lock the management endpoints take on the team
and then the user row lock, in their order.

Python keeps what it owns around the write: resolve_member_budget_id decides the budget before
it, writing through a table that hands the row to the transaction, and the cache evictions,
the team members gauge and the audit log follow it. Database::transaction commits when its
steps succeed and rolls back otherwise.
2026-11-20 14:53:02 +09:00
..
__init__.py feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
test_jwt_auto_register.py feat(db): route jwt provisioning writes through rust repositories (#52756) 2026-11-20 14:53:01 +09:00
test_team_member_add.py feat(db): add jwt team members through the rust repository (#52766) 2026-11-20 14:53:02 +09:00