Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32730

[Console-plugin] Tekton result API is getting called in loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.15.z
    • Dev Console
    • None
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

          If tekton results is not installed then result API is getting called in loop which reduces the performance of the list and details pages so call results API only if tekton results is installed and cache the below API call since it will not change frequently
      
      await k8sGet({model: TektonResultModel,name: 'result',});

      How reproducible:

          Always

      Steps to Reproduce:

          1. Install Pipelines operator
          2. Go to PipelineRun list page
          3. Filter for results network calls
          

      Actual results:

       Results API is getting called everytime if tekton results is not installed

      Expected results:

           Should not call Results API if tekton results is not installed and should not get Tektok results data for each API call

      Additional info:

          

            rh-ee-lprabhu Lokananda Prabhu
            rh-ee-lprabhu Lokananda Prabhu
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: