Skip to content

Add more logging to MergeService

Patrick Bajao requested to merge 389044-add-logging-for-debugging into master

What does this MR do and why?

While investigating #389044, it is noticeable that MergeTrains::RefreshWorker that utilizes MergeRequests::MergeService stops logging after Git merge is done.

A theory is the ensure block in #commit is stopping the execution for some unknown reason yet.

This adds logging to that block to see if that block gets executed and failing. It could potentially help in investigating the bug.

MR acceptance checklist

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

Related to #389044

Merge request reports