Investigate and improve performance of Projects::PipelinesController#licenses

Why are we doing this work

This endpoint has been reported as underperforming and eating our error budget. See analysis in parent epic.

We must find out where the performance hit comes from and fix it to bring these requests within the acceptable threshold.

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Testing

SET to perform performance testing using the GET on affected functionality. Baseline performance, execute same tests against the performance enhancing implementation, compare results.

Edited by Will Meek