Skip to content

Eager load head pipeline projects for MRs index

yorickpeterse-staging requested to merge mr-index-eager-load into master

What does this MR do?

This eager loads the "project" association of each MR's "head_pipeline" association when displaying the MRs index page. This should solve an N+1 query problem that arises when displaying the CI status of MRs.

Does this MR meet the acceptance criteria?

Merge request reports