POC: Skip batching for runner list query
What does this MR do and why?
Not all queries populate our views in the same way, some have a bigger impact for our users. Fox example, we measure LCP to know when the bigger area of the screen is revealed.
However, our Apollo queries are batched together regardless of how much they matter on the screen and how long they may take.
This POC shows how we could exclude a specific query from batching, if we think this may improve user perceived loading times (or LCP).
Related to #384066 (comment 1190762827)
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Visit the admin runners page e.g. http://gdk.test:3000/admin/runners
- Verify the requests issued.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Pedro Pombeiro