On 20 November 2026, CNCF Ambassador Afzal Ansari described a production failure on the CNCF blog, which was also covered the next day by cicd.deployment.to, a site dealing with CI/CD news; the details below are as reported in that summary. Five regional Argo CD applications rolled out the same commit. In three, the database migration ran; in two it did not, and there the new code ran on the old schema for 36–44 minutes. Meanwhile, Argo CD showed both faulty applications as Synced and Healthy.
The setup and the failure
The team ran the database migration as an Argo CD Sync hook. Automatic self-heal was switched on, and releases were guarded by a deny sync window, in other words the usual change freeze. Each of the three is a sensible setting on its own. Together, however, they opened a gap.
According to the summary, while the window is active the scheduled refreshes already record the new commit in the application's status, but no sync takes place. When the window closes and a change to a managed object triggers a refresh, Argo CD compares the recorded revision with itself. It sees no change, so self-heal only corrects the out-of-sync (OutOfSync) resources. This is a partial sync, which skips the hooks. The new code goes out; the migration does not. Even so, the message of the last operation on the two faulty applications was: “successfully synced (all tasks run)”.
Ansari also reproduced the failure in a lab. With a release sent into a four-minute window and a refresh triggered 15 seconds before the window closed, the application synced in one second, while the migration Job stayed on the previous release's tag. This happened in five out of six attempts. In the control test, the application running with self-heal switched off skipped the automatic sync, waited roughly two minutes for the full sync and ran the migration.
- The window is active
A new commit arrives. The scheduled refresh records the new revision; there is no sync.
- The window closes
A change to a managed object triggers a refresh. The recorded revision is compared with itself: “no change”.
- Partial sync
Self-heal only corrects the out-of-sync resources. The hooks, including the migration, are skipped.
- Green status
Synced and Healthy. The new code runs on the old schema; in production, for 36–44 minutes.
What the green status proves
In our view, a lesson even more important than the failure itself is the misreading of the green status. Synced and Healthy indicate that the resources in the cluster match the state described in Git and that, according to the controller, they are working. They do not confirm that every order-dependent step of the release has run. Anyone who uses the GitOps status as a release gate or as audit evidence needs a separate check in the CI/CD pipeline: comparing the schema version with the application version after the release, independently of the GitOps tool.
The change freeze is established practice at Hungarian banks and large enterprises. This case is a warning that the risky moment is not the freeze itself but its end, when the accumulated changes all start at once.
The fix and its price
The author's recommendation is that the migration should not be a hook but a managed resource: a Kubernetes Job without the hook annotations, with the argocd.argoproj.io/sync-wave: "-1" annotation so that it runs before the application. The Job's name should be unique per release, for example derived from the container image tag, because the pod template cannot be modified. Prune should stay switched on, but ttlSecondsAfterFinished should not be set, because deleting the Job would start the migration again. All of this is safe only with an idempotent migration. The author did not test the case where the migration itself fails; in his view, this is worth trying out in a test environment with a deliberately faulty migration.
If the chart cannot be changed quickly, selfHeal: false is an interim solution. Its price is that manual changes remain as drift until the next commit. As for the quick fixes that seem obvious (a PreSync hook, the RunHooksOnPartialSync setting, a shorter window), the author believes, based on the source code, that they do not help, but he did not try this out either.
| Solution | Is the migration certain to run? | Drift protection | Price |
|---|---|---|---|
| Sync hook + self-heal | No | Yes | The risk above |
| Managed Job, sync-wave −1 | Yes, according to the author | Yes | Chart change, idempotent migration |
| selfHeal: false | Yes in the lab, with a delay of about two minutes | Weakened | Manual changes stay drifted until the next commit |
What is uncertain
This is a single case at a single organisation. The summary does not state the Argo CD version affected, nor does it mention a bug report or a fix, so it may also be that, according to the maintainers, this is documented behaviour. The 36–44 minutes depend on the refresh intervals and the environment and cannot be generalised. A strong objection is that with a backward-compatible migration following the expand/contract pattern, the “new code on the old schema” situation is harmless. In our view, both are needed: disciplined migrations and reliable ordering.
Four questions for your own release process
- Where do migrations run as hooks? In which applications do a Sync or PreSync hook, self-heal and a deny sync window come together?
- What do you use the green status for? A release gate, closing a change management ticket, or audit evidence?
- What verifies the release? Is there a post-release test that compares the schema version with the application version and raises an alert if they differ?
- Are your migrations backward-compatible? If so, a skipped step is a nuisance, not an outage.
Our recommendation: define the place and order of migrations at platform level rather than application by application, and make the post-release check part of your SRE practice. That way the pattern is the same for every application team, and the end of the change window is not left unattended either.
Sources
What does the green status prove at your organisation?
We review where migrations run as hooks and what verifies the release beyond the GitOps status.