pa-08 — Verification

One command

cd pa-08-gitops-progressive-delivery && bash scripts/verify.sh

What the tests prove

TestInvariant
TestSyncCreatesgit resources are created in the cluster
TestSyncUpdatesOnGitChangea git spec change updates live
TestSelfHealRevertsManualDrifta manual cluster edit is reverted to git
TestPruneDeletesRemoveda resource removed from git is pruned (when enabled)
TestNoPrunePreservesExtraprune disabled keeps extra live resources
TestSyncWaveOrderingresources apply in ascending sync-wave order
TestReconcileIsIdempotenta converged reconcile is a no-op; Diff is empty
TestProgressiveDeliveryGatehealthy → promote; unhealthy → rollback to current

All under -race.

What "green" does NOT guarantee

  • No real git/cluster controllers. Production = ArgoCD/Flux with health assessment, RBAC, app-of-apps, break-glass.
  • Promotion is a boolean gate. The full shadow→canary→ramp ladder with SLO analysis is gw-12 + pa-09.
  • Self-heal has no off switch here. Production needs break-glass; auto- reverting an emergency fix is a real hazard (GUIDE §4).