Skip to content

Replace SaaS namespace constant with feature flag

Description

This replaces the SaaS namespace constant with a feature flag. This way, we can selectively enable namespaces to index, and we can also select the environment (staging, production, etc.) as feature flags allow us to control that aspect as well.

This control is necessary to roll out GitLab.com, and it also serves as a safety mechanism to manage deployments, allowing us to roll back or restrict indexing if needed.

To keep the current behaviour, we need to enable the feature flag for the gitlab-org namespace:

/chatops run feature set --namespace=gitlab-org active_context_saas_initial_indexing_namespace true

Related to #569746.

Edited by Arturo Herrero

Merge request reports

Loading