Remove experiment features ai dependency
What does this MR do and why?
Eligibility for some AI features used to depend solely on experiment_features_enabled
field on the Namespace
. This is recently refactored.
Now that AI-features do not depend solely on experiment_features_enabled
but instead checks other flags as well, we are updating the validations in the model, as well as strong parameters.
This will allow us to add other experiment features such as Product Analytics
that does not depend on AI features.
Changelog is not added as the feature is behind a feature flag.
How to set up and validate locally
- Visit groups edit page
- Disable
ai_global_switch
flag - Enable "Use experiment and beta features" toggle
- You should be able to save the changes
- Disable "Use experiment and beta features" toggle
- You should be able to save the changes
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #431370 (closed)
Edited by Halil Coban