argocd-sync-failure-and-drift-investigation
Argo CD Sync Failure and Drift Investigation
Purpose
An Application reporting OutOfSync, stuck Progressing, or a failed
sync operation tells you that something is wrong but rarely tells you
why at a glance — the real cause is buried in a specific resource's
diff, a specific hook Job's pod logs, or the distinction between "Git and
the cluster genuinely disagree" versus "someone changed a live resource
by hand and Argo CD hasn't reconciled it yet." This skill assumes the
Application spec itself (sync policy, sync waves, hooks, custom health
checks) is already configured per
argocd-application-configuration
and goes deep on the investigative workflow for when that configuration
isn't behaving as expected in a running cluster: reading resource-level
diffs, tracing a failing hook to its root cause, and telling manual
cluster drift apart from real Git/cluster divergence before deciding
whether to sync, patch Git, or leave a resource alone.