• jballs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 year ago

    Back in the day, we had a very boring software deployment process that required watching a terminal window for like 10 minutes. So one of our developers added a few API calls to the deployment scripts to return random Chuck Norris jokes, just to make things more entertaining.

    One day our deployment was taking a reaaaaaally long time. We figured that we must have broken something, so started diving into wtf happened.

    Turns out, the Chuck Norris API was down and the deployment scripts didn’t have a timeout or try-catch block, so they were just stuck waiting for a Chuck Norris joke that never returned. Rather than add error handling, our manager make us take it out all together. Our deployments were never the same.