Skip to content

Fix runner API times out for runners with large projects

What does this MR do and why?

Added optional parameter to exclude projects when fetching runner details to improve performance with runners associated with many projects

References

#259001

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Upon running GET /api/v4/runners/:id?include_projects=false - Returns details without projects
  2. Upon running GET /api/v4/runners/:id?include_projects=true or /api/v4/runners/:id - Returns details with projects (existing behaviour)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Aditya B N

Merge request reports

Loading