Loading
test(auth): drive the refresh-token bulk RPCs through the server
One integration test now drives BulkUpsert, BulkDelete and GetState of the refresh-token service through a real gRPC server over bufconn, the way gitlab-rails will call them (gitlab-org/gitlab#632077 (closed)).
It covers the 1,000-item bound, per-record refusal of an invalid item, an idempotent resend, a later batch revoking an earlier one, a 2,500-token sweep deleted in chunks, and a shuffled batch mapped by position. The test owns a cell id and clears its rows itself, since the delete markers of a previous run would refuse the same source ids. No production code changes.
Part 13 of 14. 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 (merged)
- !1010 (merged) fix(auth): decide refresh-token upserts in Go (merged)
- !1029 (merged) fix(auth): gate stored rows in one upsert helper and wait on the lock (merged)
- !1030 (merged) feat(auth): add a batch path to the refresh-token repository (merged)
- !1031 (merged) feat(proto): add BulkUpsert to the refresh-token service (merged)
- !991 (merged) feat(auth): add refresh-token BulkUpsert with per-record results (merged)
- !1069 (merged) feat(auth): refuse upserts for deleted refresh-token ids (merged)
- !992 (merged) feat(auth): add refresh-token BulkDelete (merged)
- !1110 (merged) feat(auth): mark a deleted client's refresh tokens before the cascade
- !993 (merged) feat(auth): add refresh-token GetState
- !1118 (merged) test(auth): drive the refresh-token bulk RPCs through the server <- this MR
- !994 (merged) feat(auth): count bulk RPC records by outcome
Previous: !993 (merged) · Next: !994 (merged)
Edited by Shilpa Kundapur