Project import of `gitlab_project` should use Workhorse acceleration: part II. Import via UI.
Problem and Proposal
Importing projects via UI (https://gitlab.com/import/gitlab_project) should use Workhorse acceleration.
More details are in the part 1 of the issue: #37256 (closed)
Plan
Similar to API acceleration, we plan to release the acceleration support gradually, since this is already existing endpoint and we must stay compatible, not allowing any downtime or 500s.
- The first MR should go on the Rails side, which should allow both ways of uploading (with and without WH), depending on either it's enabled. It should be similar to gitlab-workhorse!459 (merged)
- The second MR will go to the WH side and will add an additional endpoint, similar to how it is done in gitlab-workhorse!459 (merged). It will be deployed after the first MR is live and everything works.
- The last MR will change the WH version, after a new build of the WH is ready which includes the MR from 2). It would also remove any compatibility conditions, so we will finally switch to the full WH uploads.
Links
Edited by Aleksei Lipniagov