-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Account for missing fields in Rollout HealthStatus #1699
Conversation
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.
- You're several weeks behind master.
git merge master
please. - IMHO, this needs tests.
@@ -1,4 +1,8 @@ | |||
tests: | |||
- healthStatus: |
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.
Am I an idiot - is this the test?
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.
Yes this is the test. We have that documented here: https://argoproj.github.io/argo-cd/operator-manual/health/#way-2-contribute-a-custom-health-check but I can see how that can be confusing. Honestly, I think we may want to rethink this testing framework. The current tests are valuable but I found it difficult to maintain.
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.
cool - you still need to sync with master
Can this be simplified if we drop v0.2 rollout support? |
@jessesuen it would simplify the overall script by a few lines but that would be unrelated to the change i made. A lot of the complexity comes from trying to provide a message of the state of the rollout in the health status. |
86c616c
to
5ce2e71
Compare
Codecov Report
@@ Coverage Diff @@
## master #1699 +/- ##
==========================================
- Coverage 33.98% 33.96% -0.02%
==========================================
Files 75 75
Lines 11344 11333 -11
==========================================
- Hits 3855 3849 -6
+ Misses 6957 6952 -5
Partials 532 532
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #1699 +/- ##
==========================================
- Coverage 33.98% 33.96% -0.02%
==========================================
Files 75 75
Lines 11344 11333 -11
==========================================
- Hits 3855 3849 -6
+ Misses 6957 6952 -5
Partials 532 532
Continue to review full report at Codecov.
|
You've got Jesse's approval - so you can dismis mine and merge. |
Address #1697