Skip to content

Add CodeSuggestions Helper

What does this MR do and why?

Resolving: https://gitlab.com/gitlab-org/gitlab/-/issues/433011 and introducing the FF here to be used in !137554 (merged)

In this MR we:

  • Introduce self_managed_code_suggestions FF
  • Add CodeSuggestions Helper
  • Use CodeSuggestionsHelper in SaaS and self-managed APIs

How to set up and validate locally

Green specs 🍏 are enough.

But enabling/disabling flags and trying code_suggestions_available? from rails c could be also a verification way.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading