Add FF for SaaS GA release of Semantic Code Search

What does this MR do and why?

When checking for the eligibility to run Code Embeddings indexing for a namespace, we make use of the namespace_settings.experiment_features_enabled check. When we go to GA, this check will have to be dropped.

This change drops the namespace_settings.experiment_features_enabled check behind a new FF semantic_search_ga. This means we can simply enable the FF to roll out to GA, instead updating the code to remove the namespace_settings.experiment_features_enabled check.

This also allows for easier roll back.

Note for SM instances: The experiment features enabled/disabled state of an instance will create or delete records for all namespaces. I think it's better not to have an easy to toggle flag for SM as it will affect all namespaces.

References

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

Query Plans

Query in ProjectsFinder

Query in CreateEnabledNamespaceEventWorker & ProcessInvalidEnabledNamespaceEventWorker

MR acceptance checklist

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

Edited by Pam Artiaga

Merge request reports

Loading