Partial Deployment
Cheat sheet · https://pcornel.dk/topic.php?topic=6067
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
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad 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