-
Notifications
You must be signed in to change notification settings - Fork 43
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
✨ Add handling for tasks "Succeeded with errors" in task and application tables #2011
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2011 +/- ##
==========================================
+ Coverage 39.20% 42.11% +2.90%
==========================================
Files 146 171 +25
Lines 4857 5488 +631
Branches 1164 1311 +147
==========================================
+ Hits 1904 2311 +407
- Misses 2939 3161 +222
- Partials 14 16 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The approach looks OK !
bae5883
to
0f04a08
Compare
Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Scott J Dickerson <[email protected]>
Also refactor some components to: - push data access closer to where it is used - break into smaller manageable components Signed-off-by: Scott J Dickerson <[email protected]>
f578a4a
to
849a2ec
Compare
Signed-off-by: Scott J Dickerson <[email protected]>
Summary
Resolves: #1997
When a task is succeeded but has attached errors, render task state, application tasks state and application analysis state with a warning.
Details of Changes
With this change, hub is not adding a new terminal state, but having a new terminal state is an easy way to handle things. The task queries will now evaluate the
state
anderrors
props to determine if "Succeeded" should be "SucceededWithErrors". This synthetic task status makes updating all of the UI component much simpler.To function properly, HUB Issue 725 / PR 720 are required.
Changes have also been made to utilize the
/tasks/reports/dashboard
endpoint to get a much smaller view of tasks when dealing with them in aggregate.The application details drawer was refactored to push data fetching closer to actual use, and to break up a very large component into a container component with a component dedicated to each tab.
Screenshots
Application inventory page:
Application tasks popover:
Task Manager page: