Why "It's Done" Isn't the Same as "You're Done"
The deploy finishing doesn't turn off the state you were in to ship it. Your heart rate, your breathing, the low hum of vigilance you needed to catch a bad rollout, none of that clocks out just because the terminal says success. Close the laptop and go straight to bed, and you're asking your nervous system to drop from full alert to asleep in the time it takes to walk down a hallway. It usually can't, and you end up staring at the ceiling running the deploy again in your head.
What Actually Happens in Your Body During a Late Deploy
Stress hormones don't know it's just a job. Watching a rollout, waiting on health checks, being ready to roll back at any second, that's your body treating a production incident like a threat, because as far as it's concerned, that's exactly what it is. Cortisol and adrenaline spike and they take a while to clear on their own. A ritual isn't optional decompression, it's the thing that actually tells your body the threat has passed.
The Fifteen-Minute Buffer
Don't go from keyboard to pillow. Build in fifteen minutes, minimum, between "the deploy is done" and "I'm trying to sleep now." That's not fifteen minutes of scrolling your phone, which just trades one kind of alert state for another. It's fifteen minutes of doing something with your hands or your body that has nothing to do with a screen: washing the dishes that piled up, stretching on the floor, standing outside for a minute even if it's cold. The point is the transition, not the activity.
Write Down What You're Still Holding
Half of what keeps you awake after a late deploy isn't the deploy itself, it's the loose threads: a metric you want to check again in the morning, a ticket you should file, a teammate you should message. Keep a notepad by the desk and dump every one of those threads onto paper before you leave the room. You're not solving them, you're just telling your brain it doesn't have to keep holding them to keep them safe.
A Small Physical Reset
Pick one thing that's consistent, repeatable, and has nothing to do with productivity: a few minutes of box breathing, a short walk around the block, hands under warm water for longer than you need. The specific action matters less than the repetition. Do the same small thing after every late deploy and it stops being a task and starts being a signal your body recognizes: this is the part where we come down.
Building The Habit
You won't remember a new ritual at 11:40pm on a bad night, so don't design one that asks you to. Keep it to two or three steps, tie it to something you already do on the way to bed, and write it somewhere you'll actually see it, a sticky note on the monitor works fine. The deploy going out clean is the job. Coming down off it is what makes the job sustainable.
Related Tool
Box Breathing →Four seconds in, four hold, four out, four hold. The small physical reset from this article, self-hosted.