DEV Community

Discussion on: Why you should deploy on Friday afternoon

Collapse
 
xowap profile image
Rémy 🤖 • Edited

Here's the thing, no process in the world prevents bugs. You will ship broken code.

EXACTLY

That's why you don't ship broken code on a Friday afternoon. Because people are less available and you want 0 chances of getting a problem while an important stakeholder is already in a plane for the week-end.

Collapse
 
quii profile image
Chris James

The point is if i ship something at 4:30 on a friday it will be a small change backed by excellent tests and monitoring. If something goes wrong it will be trivial to fix.

If it's something I wouldn't spot easily im just as likely to ship something on Thursday that's not spotted until the weekend.

Bunching up changes (and forgetting about them) for Monday is more likely to cause problems.

Collapse
 
mikesimons profile image
Mike Simons

Not sure that holds to my experience. We deploy dozens of services multiple times a day; many by CD. We also deploy on Fridays but try to avoid afternoon deploys.

There are less eyes on things at the weekends so subtle problems get missed and you sometimes get rushed work as folks try to squeeze that last thing out to production before the weekend.

We have excellent monitoring and logging; we aren't afraid of breaking things but the human cost of having to debug something at beer o'clock on a Friday is something we don't advocate.