Add `pipeline` parameter to MergeRequestsController
This is a dependency for fixing #238235 (closed)
Implementation plan
-
backend Extend the Projects::MergeRequestsController#reports_response
(https://gitlab.com/gitlab-org/gitlab/blob/master/app/controllers/projects/merge_requests_controller.rb#L430) to support additional parameter (pipeline
, default:nil
), and respond with the204 No Content
response with Polling Interval header (https://gitlab.com/gitlab-org/gitlab/blob/master/app/controllers/projects/merge_requests_controller.rb#L433) whenpipeline
is provided and ispending?
, -
backend In EE::Projects::MergeRequestsController
(https://gitlab.com/gitlab-org/gitlab/blob/master/ee/app/controllers/ee/projects/merge_requests_controller.rb) in every place we are callingreports_response
method add additional argument:pipeline
,
Edited by Alan (Maciej) Paruszewski