Skip to content

Use merged_commit_sha in existing MergeRequest method

What does this MR do and why?

The column merged_commit_sha was recently added to the merge_requests table to better track the actually merged commit SHA across all merge methods. We have merged a change to start writing this value on merge, so we should also return it when present (see !130763 (merged)).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Hordur Freyr Yngvason

Merge request reports