Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7426

Deletion of pipeline run after tekton result installation should be user-friendly

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • openshift-4.15
    • UI
    • ODC Sprint 3248

    Description

      Description of problem:

      If you delete a pipelinerun then it will be deleted in the k8s cluster but the data will be available in the tekton-results database, so the pipeline run list view will show the deleted pipelineruns

      Prerequisites (if any, like setup, operators/versions):

      Openshift Pipelines operator should be installed
      tektonResults should be installed and working in the cluster(Follow this https://gist.github.com/vikram-raj/257d672a38eb2159b0368eaed8f8970a)

      Steps to Reproduce

      1. Create pipeline runs
      2. Delete a pipeline run

      Actual results:

      It endlessly shows pipeline run and mentions `Resource is being deleted` in kebab menu

      Expected results:

      Gracefully handle it like adding a hint to the user that the Delete action will only delete it from the etcd storage and disable the delete action for results-based PLRS

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Workaround:

      Additional info:

      Slack thread: https://redhat-internal.slack.com/archives/CHG0KRB7G/p1700140684929449

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: