Skip to content

Conversation

@crenshaw-dev
Copy link
Member

The health check message currently is the message of "whatever condition was observed last," even if the condition health is based on some other condition.

I've changed the health check to quit early if it observes a condition which would make the resource Degraded or Progressing. As a result, it always returns the message most relevant to that condition.

I've updated the test to change the condition order in a way that triggers the bug.

@crenshaw-dev crenshaw-dev requested a review from a team as a code owner July 8, 2025 15:08
@bunnyshell
Copy link

bunnyshell bot commented Jul 8, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

@codecov
Copy link

codecov bot commented Jul 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.23%. Comparing base (e692a22) to head (2e057bc).
⚠️ Report is 819 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #23691      +/-   ##
==========================================
+ Coverage   60.19%   60.23%   +0.04%     
==========================================
  Files         346      346              
  Lines       59202    59202              
==========================================
+ Hits        35636    35660      +24     
+ Misses      20696    20685      -11     
+ Partials     2870     2857      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rumstead rumstead merged commit 786b24e into argoproj:master Jul 10, 2025
41 of 43 checks passed
@crenshaw-dev
Copy link
Member Author

/cherry-pick release-3.1

@crenshaw-dev
Copy link
Member Author

/cherry-pick release-3.0

@crenshaw-dev crenshaw-dev deleted the fix-crd-health-check-message branch July 10, 2025 13:55
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Jul 10, 2025
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Jul 10, 2025
crenshaw-dev added a commit that referenced this pull request Jul 10, 2025
crenshaw-dev added a commit that referenced this pull request Jul 10, 2025
enneitex pushed a commit to enneitex/argo-cd that referenced this pull request Aug 24, 2025
Mangaal pushed a commit to Mangaal/argo-cd that referenced this pull request Sep 10, 2025
sivasath16 pushed a commit to sivasath16/argo-cd that referenced this pull request Sep 17, 2025
sivasath16 pushed a commit to sivasath16/argo-cd that referenced this pull request Sep 17, 2025
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.

3 participants