remove use of mr_diff_base_hash
In some cases, mr_diff_base_hash is awfully outdated, while the GitLab web ui can still make it work by somehow culling common commits between feature and target branch.
As that variable is used to determine the change introduced by an MR, it can produce diffs of GBs that trigger every test imaginable.
The commit under test in the pipeline is a merge commit, so there is a second way to determine the change introduced by an MR: by diffing the merge commit with the left parent of the merge commit. This determines the change introduced by the merge commit, which is identical to the change introduced by the MR once merged.
AC:
-
replace MR diff generation as above, removing the use of mr_diff_base_hash: !1829 (merged) -
remove mr_diff_base_hash from documentation: documentation!416 (merged) -
remove mr_diff_base_hash from kernel templates: !1830 (merged) -
remove mr_diff_base_hash from kernel webhooks: https://gitlab.com/cki-project/kernel-webhooks/-/merge_requests/1200
Edited by Michael Hofmann