Stage 2a Cohort 4 — Migrate IncrementPerActionedResource caller
Migrate the 1 `IncrementPerActionedResource` caller in `Gitlab::ApplicationRateLimiter` to `Labkit::RateLimit`. `IncrementPerActionedResource` uses Redis Sets (`SADD`/`SCARD`) to count unique resources acted upon. Labkit currently only supports simple `INCR` counters. This cohort is blocked until a Set-based counting strategy is implemented upstream in labkit-ruby. Known call site: `ee/app/services/users/abuse/git_abuse/base_throttle_service.rb` Overarching issue: https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/work_items/28808 Parent epic: https://gitlab.com/groups/gitlab-com/gl-infra/-/work_items/2021 ## Labkit prerequisite Set-based counting strategy (SADD/SCARD) in labkit-ruby. ## TODO - [x] Create labkit-ruby issue for Set-based counting strategy - [ ] Follow the shadow validation and enforcement flip process from the overarching issue
issue