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

🐛 Update task terminal state check to include "SucceededWithErrors" #2018

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Jul 17, 2024

Resolves: #2017

The check used to only allow starting an analysis if an application's analysis task is still running
(i.e. not in a terminal state) needs to also consider the frontend synthetic state SucceededWithErrors as a non-running / terminal state.

Resolves: konveyor#2017

The check used to only allow starting an analysis if
an application's analysis task is still running
(i.e. not in a terminal state) needs to also consider
the frontend synthetic state `SucceededWithErrors` as
a non-running / terminal state.

Signed-off-by: Scott J Dickerson <[email protected]>
@sjd78 sjd78 requested a review from jortel July 17, 2024 12:41
Copy link
Contributor

@jortel jortel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.11%. Comparing base (b654645) to head (b334f64).
Report is 194 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2018      +/-   ##
==========================================
+ Coverage   39.20%   42.11%   +2.90%     
==========================================
  Files         146      171      +25     
  Lines        4857     5488     +631     
  Branches     1164     1356     +192     
==========================================
+ Hits         1904     2311     +407     
- Misses       2939     3060     +121     
- Partials       14      117     +103     
Flag Coverage Δ
client 42.11% <ø> (+2.90%) ⬆️
server ?

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.

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.

[BUG] Application with analysis status of "Completed With Error" cannot be analyzed.
3 participants