Pipeline stage job polling fix

What does this MR do and why?

Fix for https://gitlab.com/gitlab-com/gl-infra/capacity-planning-trackers/gitlab-com/-/issues/2028

The pipeline stage job polling had a bug where the poll interval would intermittently trigger rapid query requests when the dropdown is open. This fix starts and stops polling using startPolling and stopPolling instead of setting the poll interval to 0.

Screenshots or screen recordings

Before (fires rapidly) After (polls every 8 seconds)
poll_interval_bug_before poll_interval_bug_after

How to set up and validate locally

  1. In any pipeline mini graph, click on a pipeline stage to display the dropdown. The getPipelineStageJobs query should poll every 8 seconds. Click some job action buttons to make sure polling stays steady.
Edited by Briley Sandlin

Merge request reports

Loading