Skip to content
代码片段 群组 项目
未验证 提交 b8dd7575 编辑于 作者: Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason 提交者: GitLab
浏览文件

Preload downstream_pipeline in StageEntity

This fixes an N+1 for the commit status dropdown in places such as the
stages controller, which is used to display a list of jobs on pipelines.

The additional preloads are needed for policy checks and path rendering.
In order to make this work, we also had to extend `CommitStatusPreloader`
with support for nested associations.

The change is behind the feature flag
`preload_ci_bridge_downstream_pipelines`, disabled by default.
上级 6014c33a
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册