Skip to content

Move constants from EE to Gitlab::SubscriptionPortal to fix autoload

What does this MR do and why?

This is a fix for the non-deterministic issue regarding file load order that can happens in Rails when running in development mode.

See the screenshot below for an example:

imagem

This small refactor fixed all the issues that was required to make the application load.

How to set up and validate locally

Start gdk and try to load the application, if you don't get any error like in the screenshot, it works.

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