Clear approval state caching after update
This is to recompute the new overall_approvers In this method, the following calls would cause a change in the database which needs resetting the cache: - super (which updates MR) - sync_approval_rules (which updates rule record's approvals_required) - cleanup_approvers (which removes any approver not mentioned in params) resetting cache must be done after those three calls, so moving some calls earlier is required. However this would not affect outcome.
Showing
Please register or sign in to comment