Skip to content

epic_issues/list_service_spec.rb N+1 Job Failed

What does this MR do?

Allows an extra 4 queries to be acceptable for this EE spec.

It looks like it's due to the addition of

      expose :percentage_complete do |milestone, options|
        milestone.percent_complete(options[:current_user])
      end

for class Milestone < Grape::Entity in https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/api/entities.rb#L507, added by the CE MR Added in gitlab-org/gitlab-ce!25173

What are the relevant issue numbers?

Closes #9749 (closed)

Edited by Coung Ngo

Merge request reports