Investigation: Projects::PipelinesController#test_report endpoint is often too slow

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Our error budget report shows the Projects::PipelinesController#test_report endpoint is one of our top requests over 1s in grouptesting, with 1008 slow requests in the past 7 days. It also has the highest percentage of slow requests with about 21% of all requests to this endpoint taking over 1s to get a response.

We should investigate where this endpoint is being called, and see if we can speed this request up.

Link to the Elastic Apdex count (internal).

Edited by 🤖 GitLab Bot 🤖