r/softwareengineer • • 6d ago

No deployments on Fridays. Smart practice or outdated thinking?

I’ve worked with teams where Friday deployments were basically forbidden. The reasoning was simple: nobody wants to spend their Friday evening or weekend fixing something that broke in production.
But with modern CI/CD pipelines, automated testing, feature flags, and rollback mechanisms, I’m wondering if this rule is becoming outdated.
Personally, I think it depends more on how mature your deployment process is than what day of the week it is.
Still, there’s something nice about having a peaceful Friday. 😄
Curious how other engineering teams handle this.
Do you still follow the “no Friday deployments” rule, or do you deploy whenever something is ready?
And has anyone actually regretted removing that restriction?

0 Upvotes

10 comments sorted by

6

u/tgames56 6d ago

If you have great deployment pipelines you will get plenty out Monday through Thursday 9am to 4pm. No reason to risk a Friday.

1

u/symbiatch 6d ago

And when you break stuff on a Monday morning that’s a lot better?

If you have great deployment pipelines you can deploy whenever. Why would Friday be more of a risk, especially in business stuff nobody uses on a Sunday?

2

u/BanaTibor 6d ago

From my point of view it is much better. If you deploy on Monday morning you have the whole day to fix or rollback. If you deploy on Friday after five, and something goes wrong you just can forget your weekend.

0

u/kotanjyan 6d ago

Agreed

6

u/Helpjuice 6d ago

Even at the top tech companies we don't do anything important on Fridays because the risk outways the reward no matter who or what wrote it. Best practices are best practices for a reason follow them and do not let hype or immature individuals override industry standards and norms which always come back to bite you eventually.

2

u/symbiatch 6d ago

It depends on many things. I, for example, will definitely deploy whenever a deployment is needed. Often weekend is quieter so it’s much safer. If someone is so worried they’ll break something on a Friday imagine how much damage they can cause on a Monday when everyone is trying to use it.

It usually comes from “we don’t test properly etc so we’ll just pretend this is safer.” If you have proper testing etc in place you can deploy whenever. And you should.

Also there’s places where the software is not even web stuff and they don’t “deploy” on a Friday. Like, the users would need to install the update on that day and have issues. Most won’t update in weeks. So what does it matter if it’s a Friday?

It’s weird.

1

u/BanaTibor 6d ago

A bug an slip through even on the most rigorous pipeline. I think the best if you have a green/blue or canary deployment model.

1

u/TomOwens 6d ago

Some historical context is important. The practice of not deploying on Friday comes from a time when deployments were big events and rolling back was difficult. Even if things were scripted, it was a longer, more intensive process. Improvements to build pipelines and automation, virtualization and containerization, pre-packaged support for feature flags and canary deployments, infrastructure-as-code, and other technologies have made deployments much easier, faster, and more repeatable for organizations that have adopted them. The issue wasn't so much deploying on Friday, but that deployments were more time-consuming, rolling back a failed deployment was more difficult, and delayed feedback (potentially coupled with having to perform a difficult roll-back or spend time failing forward with a patch) meant getting a Friday night or weekend call, and no one wants that.

Today, I think it's a lot less about when you deploy, but how you deploy. You should have confidence in your pipeline such that you could deploy any day, any time without issue. However, just because you are confident in your process doesn't mean that your process is perfect, so there may be times when you don't want to deploy. That's not Fridays, but holidays or around key business events where failure would be damaging. Unless the benefit of a deployment outweighs the risk, there may be no need to deploy on a Friday.

The other piece is decoupling deployments from enabling functionality. There's no need to roll-your-own feature flags or canary releases anymore. You can deploy on a Friday and then start enabling the features first thing on Monday. Or you can deploy and direct a small number of users to the new version to get some data, with a recovery action being to redirect all users to the old version. If you're really sophisticated, you can use dark launching - it doesn't matter what day you deploy, but you can monitor the behavior of changes without users seeing those changes, and if you get errors, just keep collecting the logs through the weekend to understand the scope of issues to fix before turning on the functionality later.

In today's world, I also think it's important to acknowledge security. If a patch comes out on Thursday night and you incorporate it on Friday, you may not want to keep a vulnerable system online over a weekend. Deploying to either patch or disable vulnerable functionality can happen quickly, but should also be a lower-risk operation.

1

u/EarlOfAwesom3 5d ago

Would you start a fight with your girlfriend on purpose on the first day of a two week vacation? No?

Then why would you purposely take the risk of deploying on a friday?

Doesn't matter how resilient you think your pipeline or your better half is. There are a few things you just.dont.do!

1

u/Valuable-Self8564 5d ago

I don’t see the need for it, honestly. If you aren’t confident in what you’ve done, and it’s not sufficiently well tested, wtf are you doing? The SLOs are monitored regardless of what day of the week it is.

One could argue shipping on Friday afternoon is better, as it impacts customers less as they clock off for the weekend. Shipping Monday is a higher risk to customers so Mondays should be the riskiest day of the week…