Pcornel
Automation · Automation Troubleshooting

Partial Deployment

Cheat sheet · https://pcornel.dk/topic.php?topic=6067

Back to the Topic

Answer

Partial Deployment isolates automation that changed only a subset of intended targets or layers, requiring an exact completion map before deciding whether to continue, roll back or reconcile.

Remember

  • Job failed halfway ≠ all earlier changes were reverted.
  • Majority succeeded ≠ service is safe in a mixed state.
  • Same error on several targets ≠ same root cause.
  • Rerun all targets ≠ safest path to convergence.

First checks

  • Per-target results — which changed
  • Stop rollout (max_fail_percentage) — containment
  • Reconcile: rollback or roll forward — consistency

Commands

git rev-parse HEAD
Read-only/validation observation for exact Git commit identifier of the source tree used for automation/deployment.

Verify in this order

rollout → mixed results → stop → reconcile → verify

Where it usually breaks

Partial-deployment evidence must be per target and per stage; aggregate percentages cannot prove which resources are safe or consistent.

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.

Partial Deployment troubleshooting proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Symptom / scopeTime window, immutable source/run identity, effective inputs and exact targets are explicitFloating source, changed inputs or ambiguous targets destroy reproducibility
First failed boundaryTransport/auth/dependency/render/operation evidence identifies the earliest divergenceInvestigation starts at the final error and skips earlier unproven boundaries
Effective outcomeController result is paired with target read-back and workload/service acceptanceGreen execution state or changed symptom substitutes for effective-state verification
Recovery / closureMinimal change restores the original test and regression/partial-state checks are cleanBroad retry or unrelated edits make the incident non-reproducible and hide residual state

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6067

Confirmation

Confirm action

Continue?