Apply etag caching to the polling for pipeline status in pipeline editor
This is a frontend follow-up to !54888 (merged), in particular to the discussion around the polling implementation for fetching the pipeline status in the pipeline editor.
Once #324628 (closed) is resolved (which implements the backend changes needed), we can add etag caching to the pipeline status.
Two things need to be considered during implementation:
- The initial pipeline resource path can be passed to the Vue app
- When the user creates a new commit (and thus, triggers a new pipeline), there should be a way to dynamically update the resource path on the frontend. The new resource path could be passed along the
CreateCommit
mutation response. In this case, we can save the resource path in apollo and just update it whenever the user creates a new commit.
Edited by Mireya Andres