Skip to content

Conversation

@vr009
Copy link
Contributor

@vr009 vr009 commented Oct 5, 2025

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:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Title of the PR
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

@bunnyshell
Copy link

bunnyshell bot commented Oct 5, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

… 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
Copy link

codecov bot commented Oct 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.79%. Comparing base (b553cc5) to head (772759c).
⚠️ Report is 13 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

@vr009 vr009 marked this pull request as ready for review October 6, 2025 04:52
@vr009 vr009 requested a review from a team as a code owner October 6, 2025 04:52
Copy link
Member

@rumstead rumstead 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
Collaborator

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

LGTM!

@crenshaw-dev crenshaw-dev added cherry-pick/3.0 Candidate for cherry picking into the 3.0 release branch cherry-pick/3.1 Candidate for cherry picking into the 3.1 release branch cherry-pick/3.2 Candidate for cherry picking into the 3.2 release branch cherry-pick/2.14 Candidate for cherry picking into the 2.14 release branch labels Oct 6, 2025
@crenshaw-dev crenshaw-dev merged commit 7430650 into argoproj:master Oct 6, 2025
38 checks passed
argo-cd-cherry-pick-bot bot pushed a commit that referenced this pull request Oct 6, 2025
argo-cd-cherry-pick-bot bot pushed a commit that referenced this pull request Oct 6, 2025
@argo-cd-cherry-pick-bot
Copy link

🍒 Cherry-pick PR created for 3.2: #24865

@argo-cd-cherry-pick-bot
Copy link

🍒 Cherry-pick PR created for 3.0: #24866

@argo-cd-cherry-pick-bot
Copy link

🍒 Cherry-pick PR created for 3.1: #24867

@argo-cd-cherry-pick-bot
Copy link

❌ Cherry-pick failed for 2.14. Please check the workflow logs for details.

crenshaw-dev pushed a commit that referenced this pull request Oct 6, 2025
… retrieval (#24832) (cherry-pick #24851 for 3.2) (#24865)

Signed-off-by: Viacheslav Rianov <[email protected]>
Co-authored-by: Rianov Viacheslav <[email protected]>
crenshaw-dev pushed a commit that referenced this pull request Oct 6, 2025
… retrieval (#24832) (cherry-pick #24851 for 3.1) (#24867)

Signed-off-by: Viacheslav Rianov <[email protected]>
Co-authored-by: Rianov Viacheslav <[email protected]>
@crenshaw-dev
Copy link
Member

@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?

@vr009
Copy link
Contributor Author

vr009 commented Oct 6, 2025

@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

vr009 added a commit to vr009/argo-cd that referenced this pull request Oct 12, 2025
… retrieval (argoproj#24832) (argoproj#24851)

Signed-off-by: Viacheslav Rianov <[email protected]>
(cherry picked from commit 7430650)
crenshaw-dev pushed a commit that referenced this pull request Oct 14, 2025
… retrieval (#24832) (cherry-pick #24851 for 3.0) (#24945)

Signed-off-by: Viacheslav Rianov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick/2.14 Candidate for cherry picking into the 2.14 release branch cherry-pick/3.0 Candidate for cherry picking into the 3.0 release branch cherry-pick/3.1 Candidate for cherry picking into the 3.1 release branch cherry-pick/3.2 Candidate for cherry picking into the 3.2 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application.Status.Resources[].Health is not populated when GetApplication is called with refresh=true

4 participants