Automation Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=6045
Answer
Automation troubleshooting starts by capturing the exact run — code revision, inputs, target scope and logs — then finds the first step where what actually happened differs from what was expected, before rerunning or changing anything.
Remember
- Job failed ≠ root cause is the automation engine.
- Job succeeded ≠ effective target state or workload result is correct.
- Retry succeeded ≠ original failure mechanism is understood or removed.
- Changed symptom ≠ original incident is resolved.
First checks
- Run logs and exit codes — evidence
- Reproduce with same inputs in test — isolation
- Recent changes (code, dependencies, targets) — likely causes
Verify in this order
symptom → logs → layer → fix → test
Where it usually breaks
Troubleshooting evidence is bounded by the captured run, targets, telemetry and acceptance test; absence of an error, a later successful retry or a green control-plane status cannot prove the original failure is explained or every target is healthy.
Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.
Automation Troubleshooting 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=6045