Skip to content

Set sidekiq_route_to_* feature flag to worker type

Sylvester Chin requested to merge sc1-sidekiq-route-ff-worker-type into master

What does this MR do and why?

This is part of the sidekiq sharding efforts in gitlab-com/gl-infra&1218 (closed).

This MR sets the sidekiq_route_to_* feature flags to worker type. The primary goal is to allow non-gitlab.com self-managed users to use the sidekiq sharding feature without having to define a feature flag definition file.

This matches the feature flag type definition (https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/feature/shared.rb#L67) of Feature flags for controlling Sidekiq workers behavior (e.g. deferring jobs).

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Sylvester Chin

Merge request reports