Commit#parents does N + 1 Gitaly calls

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

  • Close this issue

Noticed when working on gitlab-ce!14846

Commit#parents does N + 1 requests, but should be batched. If gitlab-ce!14846 is merged the needed interface is exposed.

See https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/models/commit.rb#L207-209

Edited Sep 22, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading