Skip to content

Allowlist callsites in `merge_request.rb` for cross-db query

Thong Kuah requested to merge allowlist_merge_request_callsite into master

What does this MR do?

Allowlist callsites in merge_request.rb for cross-db query

This accounted for thousands of calls in our CI file. Remove a spec from the spec allowlist that was tested to work locally.

2898 /builds/gitlab-org/gitlab/app/models/merge_request.rb:1352:in `has_ci?'
1880 /builds/gitlab-org/gitlab/app/models/merge_request.rb:1839:in `find_actual_head_pipeline'

Related issue: #339299 (closed)

Merge request reports

Loading