Skip to content

Lazy load pipeline actions

Payton Burdette requested to merge 336514-fe-lazy-load-manual-builds into master

What does this MR do and why?

Lazy loads pipeline actions (manual/scheduled) instead of fetching them for every pipeline on load.

Screenshots or screen recordings

Screen_Shot_2023-03-14_at_10.00.14_AM

When limit is reached

**Note I changed limit to two temporarily to generate this screenshot. Limit is actually 50

Screen_Shot_2023-03-27_at_11.28.14_AM

How to set up and validate locally

  1. Enable feature flag :lazy_load_pipeline_dropdown_actions in rails console
  2. Visit Project > CI/CD > Pipelines
  3. Ensure your pipeline has a manual job
  4. Ensure manual actions are lazy loaded

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #336514 (closed)

Edited by Payton Burdette

Merge request reports