-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix(server): ensure resource health status is inferred on application retrieval (#24832) #24851
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
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
… retrieval (argoproj#24832) Before this patch when calling GetApplication with refresh=true, the Application.Status.Resources[].Health field was not populated with health statuses from the ApplicationTree cache, as it should be just like when calling without refresh. Signed-off-by: Viacheslav Rianov <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24851 +/- ##
==========================================
+ Coverage 60.78% 60.79% +0.01%
==========================================
Files 404 404
Lines 66232 66233 +1
==========================================
+ Hits 40256 40266 +10
+ Misses 22730 22723 -7
+ Partials 3246 3244 -2 ☔ 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.
LGTM
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.
LGTM!
… retrieval (#24832) (#24851) Signed-off-by: Viacheslav Rianov <[email protected]>
… retrieval (#24832) (#24851) Signed-off-by: Viacheslav Rianov <[email protected]>
|
🍒 Cherry-pick PR created for 3.2: #24865 |
… retrieval (#24832) (#24851) Signed-off-by: Viacheslav Rianov <[email protected]>
|
🍒 Cherry-pick PR created for 3.0: #24866 |
|
🍒 Cherry-pick PR created for 3.1: #24867 |
|
❌ Cherry-pick failed for 2.14. Please check the workflow logs for details. |
… retrieval (#24832) (cherry-pick #24851 for 3.2) (#24865) Signed-off-by: Viacheslav Rianov <[email protected]> Co-authored-by: Rianov Viacheslav <[email protected]>
… retrieval (#24832) (cherry-pick #24851 for 3.1) (#24867) Signed-off-by: Viacheslav Rianov <[email protected]> Co-authored-by: Rianov Viacheslav <[email protected]>
|
@vr009 the cherry-picks for 2.14 and 3.0 failed. If you'd like this patched back on those versions, could you please open a manual PR against the release-2.14 and release-3.0 branches respectively? |
Sure, I’ll take care of it |
… retrieval (argoproj#24832) (argoproj#24851) Signed-off-by: Viacheslav Rianov <[email protected]> (cherry picked from commit 7430650)
… retrieval (#24832) (cherry-pick #24851 for 3.0) (#24945) Signed-off-by: Viacheslav Rianov <[email protected]>
Before this patch when calling GetApplication with refresh=true, the Application.Status.Resources[].Health field was not populated with health statuses from the ApplicationTree cache, as it should be just like when calling without refresh.
This patch might be cherry-picked into all related 3.x versions as well
Fixes #24832
Checklist: