Legacy Feature Flags Removal
In previous milestones, we sought to migrate all users to an updated, more flexible version of our feature flag service.
Phases 1 and 2 were complete and documented here in #213369 (closed)
This issue splits out the remaining, future work ahead of the 14.0 milestone where the old functionality will be deprecated.
Phase 3
- Milestone %13.11
- Legacy feature flags are removed.
- Feature flag list only shows feature flags using the new system.
- Blog posts
API endpoints that will be removed:
- All of the Feature Flag Scopes API will be removed: https://docs.gitlab.com/ee/api/feature_flag_specs.html
- Parts of the Feature Flags API will be removed: https://docs.gitlab.com/ee/api/feature_flags.html
All the CRUD operations related to the existing feature flag scopes
will be removed. This includes, for instance, the following parameters for the New feature flag endpoint:
scopes
scopes:environment_scope
scopes:active
scopes:strategies
Similarly, the scopes
field on getting a feature flag will be removed.
When default_flag
's association on Operations::FeatureFlag
model is removed, rubocop/cop/default_scope.rb
cop should be extended to catch also foo = User ; foo.default_scope
usages - more details in !33847 (diffs, comment 357357255)
Resources: