Skip to content

Record `patch_id_sha` at Approval creation

What does this MR do and why?

When a user gives an approval for an MR, capture the current patch_id_sha. This will allow us to use merge_request_diff.patch_id_sha to detect if an approval is "stale" or not.

Related to #384328 (closed)

Epic: Use `patch-id` to identify diffs (&10249 - closed)

Edited by Kerri Miller

Merge request reports