Loading
refactor(auth): move the bulk record helpers to internal/batch
The per-record pipeline behind BulkUpsertClients now lives in auth/oauth/server/internal/batch, exported, so the refresh-token bulk RPCs in the next parts share it.
This is a move. batch.Results, batch.Dedupe, batch.ValidateEach and batch.Upsert are the handler-local helpers of !989 (merged) with public names, and their tests move with them. The clients handler only changes its calls. One minor behaviour change (A nil Key now skips dedupe).
Part 3 of 8. The full change is in !959 (closed), the integration MR, kept open for the big picture.
- !988 (merged) feat(proto): add BulkUpsertClients and UpsertResult (merged)
- !989 (merged) feat(auth): add BulkUpsertClients with per-record results (merged)
- !990 (merged) refactor(auth): move the bulk record helpers to internal/batch <- this MR
- !1010 (merged) refactor(auth): decide refresh-token upserts in Go
- !991 (merged) feat(auth): add refresh-token BulkUpsert with per-record results
- !992 (merged) feat(auth): add refresh-token BulkDelete
- !993 (merged) feat(auth): add refresh-token GetState
- !994 (merged) feat(auth): count bulk RPC records by outcome
Previous: !989 (merged) · Next: !1010 (merged)
Edited by Shilpa Kundapur