Skip to content

feat: fix force-update for zero-replica deployments by reading image tags from spec #1172

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

chansuke
Copy link
Contributor

Closes #829

Resolves continuous update attempts for deployments with 0 replicas when force-update=true is set

@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2025

Codecov Report

❌ Patch coverage is 51.72414% with 56 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.04%. Comparing base (cc9f71b) to head (bcfcce2).

Files with missing lines Patch % Lines
pkg/argocd/argocd.go 59.34% 34 Missing and 3 partials ⚠️
pkg/argocd/update.go 24.00% 18 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1172      +/-   ##
==========================================
- Coverage   63.52%   63.04%   -0.49%     
==========================================
  Files          23       23              
  Lines        3191     3301     +110     
==========================================
+ Hits         2027     2081      +54     
- Misses       1054     1106      +52     
- Partials      110      114       +4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chansuke chansuke marked this pull request as ready for review June 22, 2025 12:26
@chengfang chengfang force-pushed the feat/update-behavior branch from e71b77b to 6e731a7 Compare July 23, 2025 02:42
@chansuke chansuke force-pushed the feat/update-behavior branch from 6e731a7 to 4ea8ebe Compare August 3, 2025 10:37
@chengfang chengfang force-pushed the feat/update-behavior branch 2 times, most recently from 983234f to 4d7ded9 Compare August 6, 2025 18:37
@chansuke chansuke requested a review from chengfang August 9, 2025 10:38
@chansuke chansuke force-pushed the feat/update-behavior branch from 2ea7b26 to 86bd50d Compare August 11, 2025 13:47
@chengfang
Copy link
Collaborator

@chansuke can you investigate the CI failures?

@chansuke
Copy link
Contributor Author

@chengfang
yes:+1:

@chansuke chansuke requested a review from chengfang August 13, 2025 17:44
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.

Update attempts when image is already up to date when no container exist
3 participants