Skip to content

Investigate and reduce Gitaly N+1 calls on commits_without_merge_commits GraphQL field

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Background

Based on investigation done on &12441 (comment 1730085427), the commits_without_merge_commits field in GetProjectMergeRequests query can result to Gitaly N+1 calls for ListCommitsByOid RPC.

Proposal

Investigate and reduce the Gitaly N+1 calls when commits_without_merge_commits is queried.

Edited by 🤖 GitLab Bot 🤖