Destruction of pipelines should be done in a background job
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Right now destroying a CI pipeline can be done synchronously via the API.
However, it's very possible that a CI pipeline has many artifacts that have to be expunged. That may take longer than 60 seconds, causing Unicorn to time out.
The API should just return a 202 Accepted and do this in Sidekiq.
Edited by 🤖 GitLab Bot 🤖