Automation · Automation Design
Rollback
Cheat sheet · https://pcornel.dk/topic.php?topic=5206
Answer
Rollback in automation design is the planned way to undo a job's changes if it fails or causes problems, written and tested together with the forward change.
Remember
- Write rollback with the change.
- Test it.
- Define when to trigger it.
First checks
- Rollback procedure per change — plan
- Backup/snapshot before change — restore point
- Rollback test — proof
Verify in this order
change → failure → rollback to known good
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5206