• Gary Holtz's avatar
    This adds idempotency to MergeService: · 8173c98f
    Gary Holtz authored
    * MergeService will now check if an MR was already merged
    * SquashService will check if an MR was already merged
    * PostMergeService has been broken apart and some elements have been
    added into a transaction
    * PostMergeService will not run unless the source branch was set to be
    deleted and successfully was.
    * Specs have been added for the above and to prevent duplicate
    notifications
    8173c98f
merge_worker_spec.rb 1.43 KB