-
Notifications
You must be signed in to change notification settings - Fork 867
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(analysis): Make AnalysisRun end when only Dry-Run metrics are defined. Fixes: #2151 #2230
Conversation
18590b3
to
3aea03b
Compare
Codecov ReportBase: 82.35% // Head: 82.36% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2230 +/- ##
=======================================
Coverage 82.35% 82.36%
=======================================
Files 121 121
Lines 18434 18438 +4
=======================================
+ Hits 15182 15186 +4
Misses 2466 2466
Partials 786 786
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Rohit Agrawal <[email protected]>
3aea03b
to
543fa74
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@agrawroh thanks for the fix and @harikrongali thanks for the review! |
…oproj#2230) Signed-off-by: Rohit Agrawal <[email protected]> Signed-off-by: Xijun Dai <[email protected]>
Signed-off-by: Rohit Agrawal <[email protected]>
…oproj#2230) Signed-off-by: Rohit Agrawal <[email protected]>
…oproj#2230) Signed-off-by: Rohit Agrawal <[email protected]>
Description
This PR fixes the issue defined in #2151 where
AnalysisRun
doesn't transition toSuccessful
fromRunning
when only Dry-Run metrics are defined and being evaluated. As per the current logic, we don't set the decision while evaluating the Dry-Run metrics but the proper fix is to set it toSuccessful
at least if nothing is set.Checklist
"fix(controller): Updates such and such. Fixes #1234"
.