Memoize feature flag call in MergeRequests::AfterCreateService
What does this MR do and why?
This is to ensure that once feature flag has been checked, it'll be the same for a single instance of AfterCreateService. This way, it won't lead to inconsistent behavior while rolling out feature flag.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #341681 (closed)