Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(KFLUXUI-253): tekton results should filter unknown status record out #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

testcara
Copy link
Contributor

@testcara testcara commented Dec 13, 2024

Fixes

https://issues.redhat.com/browse/KFLUXUI-253

Description

When we delete one pipeline task run manually before it is completed,UI should not always keep the obsoleted run there. This patch would ignore the meaningless unknown tekton results to ensure there is no deleted but 'in process' runs on UI.

Type of change

  • Feature
  • Bugfix
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Screen shots / Gifs for design review

Without the patch, the UI would list deleted 'running' pipelineruns.
Screenshot 2024-12-16 at 15 03 19
With the patch, the UI would ignore the deleted 'running' pipelineruns.
Screenshot 2024-12-16 at 15 05 12

How to test or reproduce?

  1. Navigate to 'Activity' of one component.
  2. Rerun some jobs and delete it by oc
  3. Refresh the page, the running ones would be not shown

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@testcara testcara force-pushed the KFLUXUI-253 branch 2 times, most recently from 6cf087c to cfa1ecd Compare December 14, 2024 02:12
@testcara
Copy link
Contributor Author

/retest

@testcara testcara changed the title WIP: fix(KFLUXUI-253): tekton results should filter unknown status record out fix(KFLUXUI-253): tekton results should filter unknown status record out Dec 14, 2024
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.95%. Comparing base (61e9ed9) to head (7c5062b).

Additional details and impacted files
@@           Coverage Diff            @@
##             main      #55    +/-   ##
========================================
  Coverage   79.94%   79.95%            
========================================
  Files         568      568            
  Lines       21331    21335     +4     
  Branches     5278     5029   -249     
========================================
+ Hits        17054    17058     +4     
- Misses       4252     4253     +1     
+ Partials       25       24     -1     
Flag Coverage Δ
unittests 79.95% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@testcara testcara force-pushed the KFLUXUI-253 branch 2 times, most recently from e2a2348 to 0b59a41 Compare December 16, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant