Update pipelines table in real-time
Single Source of truth:
Update pipelines table in:
-
Pipelines
, -
Merge Request Pipelines
, -
Commit Pipelines
.
in real time using https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9998/diffs
Description
We have views like:
- a Pipelines list: https://gitlab.com/gitlab-org/gitlab-ce/pipelines,
- a Pipeline view: https://gitlab.com/gitlab-org/gitlab-ce/pipelines/3752031
Currently you have to refresh the page to see updates. This should absolutely happen in real-time or at least be polled. This is especially important for those who are using counting on Gitlab (like me). I am always waiting for builds to be done and checking statuses.
Proposal
- Do the exact same thing we do for live updates elsewhere in GitLab. e.g. Periodic polling with increasing delay when there's nothing new. So we poll for a note every 15 seconds, if nothing's changed we fall back to 30, 60, then 120 at the maximum. Then it resets if something happens on a poll. It's not great but it works.
Links
- Customer interest: https://gitlab.zendesk.com/agent/tickets/16053