Argo CD race skips migration hook during sync window
An investigation into Argo CD reveals a race condition where self-healing drift corrections can bypass synchronization hooks when a deny sync window closes. Under certain timing conditions, the controller treats a partial sync as already completed, skipping migration jobs and leaving applications running against mismatched database schemas. To prevent this, the author recommends treating database migrations as versioned resources managed through sync waves rather than relying on hooks. Open article →