-
Bug
-
Resolution: Done-Errata
-
Major
-
4.12.z
-
Moderate
-
No
-
ODC Sprint 243
-
1
-
Rejected
-
False
-
-
NA
-
Release Note Not Required
-
In Progress
Description of problem:
With OCPBUGS-11099 our Pipeline Plugin supports the TektonConfig config "embedded-status: minimal" option that will be the default in OpenShift Pipelines 1.11+.
But since this change, the Pipeline pages loads the TaskRuns for any Pipeline and PipelineRun rows. To decrease the risk of a performance issue we should make this call only if the status.tasks wasn't defined.
Version-Release number of selected component (if applicable):
- 4.12-4.14, as soon as OCPBUGS-11099 is backported.
- Tested with Pipelines operator 1.10.1
How reproducible:
Always
Steps to Reproduce:
- Install Pipelines operator
- Import a Git repository and enable the Pipeline option
- Open the browser network inspector
- Navigate to the Pipeline page
Actual results:
The list page load a list of TaskRuns for each Pipeline / PipelineRun also if the PipelineRun contains the related data already (status.tasks)
Expected results:
No unnecessary network calls. When the admin changes the TektonConfig config "embedded-status" option to minimal the UI should still work and load the TaskRuns as it does it today.
Additional info:
None
- blocks
-
OCPBUGS-19526 Unnecessary API calls if TektonConfig is not minimal
- Closed
- is cloned by
-
OCPBUGS-19526 Unnecessary API calls if TektonConfig is not minimal
- Closed
- links to
-
RHEA-2023:7198 rpm