Most active commenters

    ←back to thread

    232 points ksajadi | 19 comments | | HN request time: 0.001s | source | bottom
    1. bigmattystyles ◴[] No.45140579[source]
    Broke the read-only Friday rule…
    replies(2): >>45140943 #>>45141386 #
    2. jkingsman ◴[] No.45140943[source]
    I know this is a tongue in cheek casual comment, but this article is a really good and important counterpoint: https://charity.wtf/2019/05/01/friday-deploy-freezes-are-exa...
    replies(10): >>45140998 #>>45141312 #>>45141402 #>>45141439 #>>45141454 #>>45141628 #>>45141856 #>>45142250 #>>45142827 #>>45147202 #
    3. tossandthrow ◴[] No.45140998[source]
    It is not about fear, it is about risk management.

    As an engineer I have absolutely no issue deploying on a friday. But friday bar starts at 4pm, and after that I am not sober before monday.

    So leadership don't want me to do it - which is probably wise.

    4. green-salt ◴[] No.45141312[source]
    I enforce a work/life balance and this is how the team loses a weekend when something goes wrong.
    5. ForOldHack ◴[] No.45141386[source]
    Wait... (Obligatory) Did they forget to mount a scratch monkey?
    6. yacthing ◴[] No.45141402[source]
    This reads like someone who works on a small and simple system.

    "Deploy on every commit" lmao

    "Shipping software and running tests should be fast. Super fast. Minutes, tops." hahah

    replies(3): >>45141484 #>>45142070 #>>45143985 #
    7. dilyevsky ◴[] No.45141439[source]
    this is just mindless blogospam/clickbait/"buy my thing" - the author even admits shipping big changes on friday is a bad idea
    8. dogleash ◴[] No.45141454[source]
    I hate how people hear "read only friday" and decide to turn it into a CI/CD dick measuring contest.

    For "read only friday" to have been a novel idea in the first place, you needed a starting point where conventional practice already was making changes live without stopping to consider the time/day of week.

    I really suspect the detractors represent a workflow that would break (or at least introduce pain) if unable to push to production for a few days. So they have to give the hard sell on the benefits of continuous deployment.

    replies(1): >>45141667 #
    9. sampullman ◴[] No.45141484{3}[source]
    Deploy to what? Staging on every merged PR (commit to stg), and prod deploy on every commit to main? That sounds reasonable to me, and I've done some variation of it on most projects for the last 10 years or so without issue.
    replies(1): >>45141654 #
    10. jidar ◴[] No.45141628[source]
    To counter the counterpoint. Even if you are better at pushing to production than 90% of the rest of your industry it is still elevated risk and stress so you should avoid it for the sake of your employees. Productivity vs life. If your counterpoint is to claim that you are just as stable pushing to production as you are when you don't, then I would just suggest you're delusional or lying.
    11. yacthing ◴[] No.45141654{4}[source]
    Well people aren't talking about not deploying to staging on Fridays.

    And there are hints to what the author actually means, like "Each deploy should be owned by the developer who made the code changes."

    That just isn't feasible in a system that's of any reasonable size.

    replies(1): >>45142051 #
    12. ◴[] No.45141667{3}[source]
    13. jjice ◴[] No.45141856[source]
    Not to jump on your comment (since there have been quite a few other replies already) but just to add another personal anecdote: having been on the more senior end of a junior merge/deploy gone wrong and losing a Friday night or a weekend ping, I'm okay with an additional empty day throughout the week.

    I've found that little things like that breed a growing resentment and stress that compounds, until someone wants to leave the company. Thursday night outage that I have to hop on? Much smaller deal than a weekend where I have established plans.

    One can argue "why was the PR approved in the first place", but sometimes people make mistakes. It especially sucks when there are limited people that know how to troubleshoot and resolve the production issues with a system, even more so when the on-call individual may have not even reviewed the code initially.

    All that said - I'd love to deploy as normal on Fridays! I've just found that the type of businesses I've worked at can wait until Monday, and that makes our weekends less risky.

    14. da_chicken ◴[] No.45142051{5}[source]
    Yeah, what happens when Team A makes a change and Team B makes a different, seemingly unrelated change, and they both get merged and pushed... only to have a dozen customers discover that if someone is using Feature X that Team A just worked on and Feature Y that Team B just worked on while they have Uncommon Option Q enabled, then their backend process server will crash taking down their entire instance.

    Who's fault is that?

    Asking because I have been the customer with Uncommon Option Q enabled.

    15. dilyevsky ◴[] No.45142070{3}[source]
    > "Shipping software and running tests should be fast. Super fast. Minutes, tops." hahah

    You mean to tell me not everyone works on some SaaS product outside of critical path?

    16. anonymars ◴[] No.45142250[source]
    Perhaps. But what's the risk-reward? No matter how good your CI/CD is, the risk is nonzero. Do I really need to ship this today and potentially open a can of worms this afternoon?
    17. banannaise ◴[] No.45142827[source]
    I understand the article's emphasis on exercising good judgment around release timing, but read-only Fridays are not there for the people who generally exercise good judgment. If you are the sort of person/team that is likely to deploy late on a Friday afternoon despite the inherent risk, you are likely the kind of person/team who underestimates or ignores risks in general. This includes the risk of a given deployment, thus exacerbating the impact of your late-Friday deployments. It is therefore sensible to simply take the decision out of your hands.
    18. kragen ◴[] No.45143985{3}[source]
    Charity's been running honeycomb.io, a SaaS startup with millions of dollars of revenue, for 9 years now, after being an early-stage engineer at Parse, a mobile backend-as-a-service startup that powered half a million mobile apps. She's talking about what she's made a reality at her company and its clients.
    19. kelnos ◴[] No.45147202[source]
    This post is weird to me, because it sorta feels like it's attacking a straw man.

    The idea the author seems to be advocating for is is that, while maybe you sometimes/often shouldn't deploy on a Friday (or even not at the very end of any workday), there should never be a stated policy in place that freezes deployments.

    And yeah, I've been at places where they have freezes on weekends, holidays, right around the company's conference, etc. But they're never 100% freezes: if something goes wrong or is necessary, you just get a manager to approve it, and off you go.

    I think the author's exhortation that developers should all be able to exercise their judgment to make these calls is a nice idea in theory, but falls flat in practice. Every developer will not always have all the necessary context in order to exercise that judgment. Even those who do, and generally have good judgment, will screw up sometimes because they are tired or are working under some sort of time pressure, or something.

    Having a policy -- with some flexibility and exceptions allowed -- makes it easier to avoid those sorts of lapses in judgment. And that's a good thing.

    But the whole article is just all over the place to me. The author starts by implying that people should be "ashamed" about identifying with a no-Friday-deploy policy, but then softens to the point of saying it's fine to have a personal policy of no late-afternoon deploys, no shipping big changes right before the weekend, etc. But that somehow if that's instead company policy, that's a bad thing. Nope, I don't buy it.