A PostSync smoke-test hook never runs, even though the sync says succeeded.
IntermediateTroubleshootingSync Operations, Hooks & Health
Answer
Likely causes → PostSync hooks run only after all resources are Healthy. If something stays Progressing (an Ingress without an address, a PVC waiting for a consumer, a Rollout paused), the hook waits. Also, a hook placed in a file that the source excludes never renders.
Diagnose → argocd app get web and look for resources not Healthy; confirm the hook is in argocd app manifests web.
Fix → Fix the stuck resource or its health check (see Q167), then re-sync.
Prevent → Keep a short list of kinds with known slow health and add custom health checks for them.
More on Sync Operations, Hooks & Health
Sync fails with `one or more synchronization tasks are not valid` and `the server could not find the requested resource` for a custom resource.Intermediate`one or more objects failed to apply, reason: Deployment.apps "web" is invalid: spec.selector: Invalid value: ...: field is immutable`.BeginnerSync of a large CRD fails with `metadata.annotations: Too long: must have at most 262144 bytes`.BeginnerAn app has been stuck at `Syncing` for an hour with `waiting for completion of hook batch/Job/db-migrate`.IntermediateA PreSync hook fails with `jobs.batch "db-migrate" already exists`.BeginnerAn Ingress stays `Progressing` forever, holding the app at Progressing.Intermediate