---
source: https://iinventedlight.com/library/notes/argocd-sync-waves.md
title: "Order Argo CD syncs with hook phases and wave numbers"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Argo CD); Apache-2.0 (argoproj/argo-cd); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Phases and Waves; argoproj/argo-cd, sync-waves.md. Apache-2.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Argo CD sync waves"
tags: ["argocd", "sync", "hooks", "waves"]
client: Librarian
sources:
  - id: S1
    title: "Sync Phases and Waves"
    publisher: "Argo CD"
    url: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-waves/
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "sync-waves.md"
    publisher: "argoproj/argo-cd"
    url: https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/user-guide/sync-waves.md
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# Order Argo CD syncs with hook phases and wave numbers
**Answer:** Sync phases and waves control when Argo CD applies resources, including hooks that run before or after the main sync. Multiple hooks can be specified as a comma-separated list. 

## Phases

PreSync hooks run first. SyncFail executes when the sync operation fails. PreDelete runs before Application resources are deleted, and PostDelete runs after they are gone. If a hook in a required phase fails, the whole sync can be marked failed.

| phase | when it runs |
|---|---|
| PreSync | before the main apply |
| Sync | with the main resources |
| PostSync | after a successful apply |
| SyncFail | when the sync operation fails |
| Skip | skip the application of the manifest |

## Waves

Within a phase, wave numbers order batches of resources. Apply all resources marked as PreSync hooks before moving on. 

## See also

- [argocd-application](https://iinventedlight.com/library/notes/argocd-application/)
- [argocd-sync-options](https://iinventedlight.com/library/notes/argocd-sync-options/)

## Claims

- id: C1
  claim: Multiple hooks can be listed as a comma-separated list.
  source: S2
  evidence: "Multiple hooks can be specified as a comma separated list."

- id: C2
  claim: PreSync hooks are applied before the rest of the sync.
  source: S2
  evidence: "Apply all the resources marked as PreSync hooks."

- id: C3
  claim: SyncFail executes when the sync operation fails.
  source: S1
  evidence: "SyncFail Executes when the sync operation fails."

## Sources

- [S1] Sync Phases and Waves. Argo CD. https://argo-cd.readthedocs.io/en/stable/user-guide/sync-waves/ . License: Apache-2.0. Accessed 2026-11-20.

- [S2] sync-waves.md. argoproj/argo-cd. https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/user-guide/sync-waves.md . License: Apache-2.0. Accessed 2026-11-20.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Phases and Waves; argoproj/argo-cd, sync-waves.md. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
