Why are Application resources not health-checked by default, and why does that matter for app-of-apps?
AdvancedConceptSync Waves, Hooks, Health & Diffing
Answer
Health assessment for argoproj.io/Application was removed in 1.8 because a parent app would reflect every child's health, which confused users. The consequence: in app-of-apps, child Applications count as healthy as soon as they are created, so sync waves on them do not wait for the child to actually deploy. To make waves meaningful you add a Lua check under resource.customizations.health.argoproj.io_Application that returns obj.status.health.status.