Release Zoekt replicas setting

What does this MR do and why?

Make the Zoekt replicas feature visible in the admin UI by removing the admin_ui: false flag and update the label to remove the "Currently in development" message. The label was shortened from 131 characters to 40 characters, which fixes formatting issues in the gitlab:zoekt:info rake task output.

Additionally, this MR adds a spec that validates all setting labels are under 80 characters to prevent future formatting issues in the info output.

References

Closes #582047 (closed)

Screenshots or screen recordings

N/A - Backend/configuration change only

How to set up and validate locally

  1. Enable Zoekt exact code search in your GDK environment
  2. Run bundle exec rake gitlab:zoekt:info and verify the output displays cleanly without line breaks in the middle of setting labels
  3. Visit Admin Area → Settings → Search → Exact Code Search and verify that "Default number of replicas per namespace" setting is now visible and accessible
  4. Run the specs to verify the label length validation works:
    bundle exec rspec ee/spec/models/search/zoekt/settings_spec.rb
    

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist https://docs.gitlab.com/development/code_review/#acceptance-checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading