Uploaded image for project: 'Konflux UI'
  1. Konflux UI
  2. KFLUXUI-690

Update Single TaskRun hook

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None

      • useTaskRunV2 (single) hook implemented with feature flag controlled switching
      • Return interface matches existing useTaskRun: [TaskRunKind, boolean, unknown]
      • Fallback from cluster to archive works correctly for single resource fetching
      • Error handling for not found scenarios consistent between sources
      • Resource loading behavior identical across both sources
      • should use the transform utility if needed

      KubeArchive Implementation

      Uses useK8sAndKarchResource (single resource) instead of list query
      Proper 404 handling when task run not found in cluster
      Archive fallback seamless for single task run lookup
      Performance optimized for single resource queries

              rh-ee-rgalvao Rodrigo Galvao
              sbudhwar-1 Sahil Budhwar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: