Skip to content

fix(chaos): verify argocd selfHeal patch holds during preflight - #229

Merged
IanEff merged 1 commit into
mainfrom
issue-187-preflight-verify-selfheal
Aug 18, 2026
Merged

fix(chaos): verify argocd selfHeal patch holds during preflight#229
IanEff merged 1 commit into
mainfrom
issue-187-preflight-verify-selfheal

Conversation

@IanEff

@IanEff IanEff commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves #187.

In chaos/preflight.sh, after patching ArgoCD child Applications with selfHeal: false, read back spec.syncPolicy.automated.selfHeal after a short delay to verify that the patch held rather than assuming the write persisted. If an app-of-apps parent reverts the patch, preflight now fails fast with an explicit error instead of proceeding silently.

Companion rig PR: IanEff/thump-test#2

Read back the selfHeal value on each Application after patching in preflight.sh, failing fast if the parent Application or reconciler reverts the patch.

Fixes #187
@IanEff
IanEff merged commit 2e6cb74 into main Aug 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The ArgoCD app-of-apps parent reverts selfHeal: false in about a second

1 participant