-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
3
-
False
-
-
False
-
Konflux
-
-
Create hooks to fetch PipelineRuns:
- usePipelineRunsV2 hook implemented with feature flag controlled data source switching
- should fetch data from either kubearchive or tekton results based on the feature flag
- should disable hook using the `enabled` and `watch` flag on both hooks.
- Return interface matches existing usePipelineRuns exactly
- [PipelineRunKind[], boolean, unknown, GetNextPage, NextPageProps]
- Infinite loading works correctly with both data sources
- Error handling maintained for both sources
- Both data sources return identical interface
Kubearchive implementation of PipelineRuns should not use customFilters but should use matchLabels,matchExpressions, fieldSelectors.
Create transform utils that convert `filterBy` to label/field selector filters or vice versa.
For example:
- filterByName: "my-pipeline-run" => fieldSelectors: {"metadata.name": "my-pipeline-run"}
- filterByCreationTimestampAfter: "2024-01-01T00:00:00Z" => fieldSelectors: {"metadata.creationTimestamp": ">2024-01-01T00:00:00Z"}
- is depended on by
-
KFLUXUI-684 PipelineRuns for commit hook and list page
-
- In Progress
-
-
KFLUXUI-693 Component Migration: Update Snapshots Pipeline run
-
- Review
-
-
KFLUXUI-667 Component Migration: Create PipelineRunsListView to fetch from kubearchive
-
- Release Pending
-