
I Built a Terminal Session Debugger with Rewind, Breakpoints, and Branching
The Problem: Deploy Scripts Fail and You Start Over You're running a 50-step deploy process. Step 47 fails. You've already provisioned infrastructure, pulled images, run migrations, seeded data. Now you have two options: Start over from step 1. 45 minutes wasted. Try to manually re-run from where it failed. Good luck remembering what you already ran. Neither is great. What if you could rewind to step 45 and try a different path , like hitting Ctrl+Z in your terminal? That's what devops-rewind does. 3 Lines to Get Started pip install devops-rewind devops-rewind record my-deploy devops-rewind rewind my-deploy 45 How It Works Record a session: When it fails: ┌──────────────────────┐ ┌──────────────────────┐ │ [0] git pull OK │ │ rewind to step 1 │ │ [1] make build OK │──────────│ branch from step 1 │ │ [2] make test OK │ │ try new commands │ │ [3] make deploy FAIL │ │ diff original vs fix │ └──────────────────────┘ └──────────────────────┘ devops-rewind records every command you run — the
Continue reading on Dev.to DevOps
Opens in a new tab

