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

Remove usage of confidence from `.ordered` scope

`confidence` has been deprecated since `15.0`. It still isn't fully
removed, though we do have an issues to track that (see MR for links)

This commit just removes the usage of `confidence` in the `ordered`
scope of `Vulnerability::Finding` model. I am doing this as part of
the [epic][0] to delete the `vulnerability_finding_pipelines` table

I need to decouple a couple of sbom services from
`vulnerability_finding_pipelines`. A prerequisite of that decoupling
is improving the query performance of `.ordered`.

Removing `confidence` from the sort helps, and as it is deprecated
anyways this seems like a straightforward, quick win

[0]:https://gitlab.com/groups/gitlab-org/-/epics/11241

---

MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/159532
Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/472760
Changelog: changed
EE: true
上级 3ac6a623
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册