Skip to content
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

ArgoCD does not auto-sync changes pushed during an ongoing sync #21902

Open
3 tasks done
kamilkrampa opened this issue Feb 18, 2025 · 0 comments
Open
3 tasks done

ArgoCD does not auto-sync changes pushed during an ongoing sync #21902

kamilkrampa opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@kamilkrampa
Copy link

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug
When a change is pushed while a sync is already in progress, ArgoCD does not trigger a new sync after the initial sync completes, leaving the application in an out-of-sync state.

We don't use selfHeal, only auto-sync is enabled.

To Reproduce

  1. Push a change to an application with auto-sync enabled.
  2. Wait for ArgoCD to detect the change and start syncing.
  3. While the sync is still in progress, push another change.
  4. Once the initial sync completes, check the application status.

The application remains out-of-sync, and ArgoCD does not trigger an automatic sync for the second change.

After the sync from the step 2 finishes, the app will not be auto-synced despite being out-of-sync.

Expected behavior
ArgoCD should detect the subsequent change and automatically trigger a new sync after the previous one completes.

Version

argocd: v2.9.2+c5ea5c4.dirty
  BuildDate: 2023-11-20T18:19:13Z
  GitCommit: c5ea5c4df52943a6fff6c0be181fde5358970304
  GitTreeState: dirty
  GoVersion: go1.21.4
  Compiler: gc
  Platform: darwin/arm64
argocd-server: v2.13.1+af54ef8.dirty
  BuildDate: 2024-11-21T11:07:47Z
  GitCommit: af54ef8db5adfa77a08d4d05b1318a2198084c22
  GitTreeState: dirty
  GoVersion: go1.23.3
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: could not get kustomize version: exec: "kustomize": executable file not found in $PATH
  Helm Version: v3.16.2+g13654a5
  Kubectl Version: v0.31.0
  Jsonnet Version: v0.20.0
@kamilkrampa kamilkrampa added the bug Something isn't working label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant