Skip to content

Revert "tchu-refactor-chat-bot-enabled-checks"

What does this MR do and why?

Describe in detail what your merge request does and why.

Revert "Merge branch 'tchu-refactor-chat-bot-enabled-checks' into 'master'"

This reverts merge request !118968 (merged)

We've discovered an issue with the GitLab.com check that prevents feature launch. This MR reverts it

In that MR we've replaced user&.has_paid_namespace?(plans: [::Plan::ULTIMATE]) with user.has_paid_namespace?(plans: [::EE::User::AI_SUPPORTED_PLANS]), which results in [["gold", "ultimate", "ultimate_trial", "opensource"]]. It means that this check always returns false

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Dmitry Gruzd

Merge request reports

Loading