[go: up one dir, main page]

Skip to content

Update MergeRequestDiff#commit_shas to query metadata table

What does this MR do and why?

In MergeRequestDiff#commit_shas, we query commit SHAs from the merge_request_diff_commits table.

Since the column merge_request_diff_commits.sha will be moved to the merge_request_commits_metadata table, we need to update the method to look in this table as well.

This change applies only when merge_request_diff_commits_dedup is enabled.

References

Related to #527236

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading