Description of problem: Pipeline list page fetches all the pipelineruns to find the last pipeline run and which results in more load time. This performance issue needs to be addressed in all the pieplines list pages wherever applicable. Version-Release number of selected component (if applicable): 4.9 How reproducible: Always Steps to Reproduce: 1. Create 10+ pipelines in a namespace 2. Create more number of pipelineruns under each pipeline 3. navigate to piplines list page. Actual results: Pipelines list will take a long time to load the list. Expected results: Pipeline list should not take more time to load the list. Additional info: Reduce the amount to data fetched to find the last pipelinerun, maybe use PartialMetadata to find the latest pipeline run and to improve the performance.
Verified it and it works as expected. Now we have only one network call for the PipelineRuns on the Pipelines list page.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:7399