Skip to content

Conversation

agaudreault
Copy link
Member

@agaudreault agaudreault commented Jul 29, 2025

  • Heath check for CronJob
  • Suspend/Resume actions for CronJob
  • Suspend/Resume/Terminate actions for Job

Impact

People using CronJob may see their application go to Progressing more often based on CronJobs schedule. If a CronJob is always running a job, then the annotation argocd.argoproj.io/ignore-healthcheck: 'true' can be used for the CronJob health to not affect the overall Application.

An improvement could be to have argocd.argoproj.io/ignore-healthcheck: 'progressing' if we want the application to reflect the health of a CronJob, but not go to Progressing state whenever a Job is running. (#19126)

Currently, the behavior is consistent with Deployment/Rollout changing to progressing when being scaled up and down by an HPA after the deployment

Screen.Recording.low.qal.mov

Fixes #11571

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Copy link

bunnyshell bot commented Jul 29, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Copy link

codecov bot commented Jul 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.31%. Comparing base (fe6aaad) to head (10a794c).
⚠️ Report is 65 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #23991      +/-   ##
==========================================
+ Coverage   60.21%   60.31%   +0.09%     
==========================================
  Files         346      347       +1     
  Lines       59275    59312      +37     
==========================================
+ Hits        35693    35772      +79     
+ Misses      20729    20686      -43     
- Partials     2853     2854       +1     

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

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
@agaudreault agaudreault changed the title feat(actions): suspend, resume and terminate Job feat(health): CronJob health and suspend, resume and terminate Job action Jul 30, 2025
@agaudreault agaudreault changed the title feat(health): CronJob health and suspend, resume and terminate Job action feat(health): CronJob health and suspend, resume and terminate Job actions Jul 30, 2025
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
@agaudreault agaudreault marked this pull request as ready for review July 30, 2025 16:45
@agaudreault agaudreault requested review from a team as code owners July 30, 2025 16:45
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
@agaudreault agaudreault enabled auto-merge (squash) August 1, 2025 20:05
Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

@agaudreault agaudreault merged commit d3de443 into argoproj:master Aug 13, 2025
28 checks passed
enneitex pushed a commit to enneitex/argo-cd that referenced this pull request Aug 24, 2025
…tions (argoproj#23991)

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: enneitex <etienne.divet@gmail.com>
downfa11 pushed a commit to downfa11/argo-cd that referenced this pull request Aug 25, 2025
…tions (argoproj#23991)

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
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.

Cronjob fails but doesn't cause argo app to show as unhealthy
3 participants