Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

Junior dev's code worked in tests, deleted data in prod

⁨17⁩ ⁨likes⁩

Submitted ⁨⁨3⁩ ⁨days⁩ ago⁩ by ⁨MirchiLover@beehaw.org⁩ to ⁨technology@beehaw.org⁩

https://www.theregister.com/2025/07/14/who_me/?td=rt-4a

source

Comments

Sort:hotnewtop
  • Moonrise2473@feddit.it ⁨3⁩ ⁨days⁩ ago

    At least not as bad as that one that let some LLM to control the server then get pissed at it when it deleted the production database theregister.com/…/replit_saastr_vibe_coding_incid…

    source
  • TehPers@beehaw.org ⁨3⁩ ⁨days⁩ ago

    First dev, seems like an honest mistake and not on them. They weren’t properly informed of the schema, and seniors signed off before the script was run.

    Second dev - it happens, but this is why backups are crucially important, and always test the code before running it on prod, even if it’s a short script like this one.

    source
    • chahk@beehaw.org ⁨2⁩ ⁨days⁩ ago

      If you didn’t take prod down at least once in your career, are you even a developer?

      source
      • floofloof@lemmy.ca ⁨2⁩ ⁨days⁩ ago

        I remember learning about operator precedence in SQL the hard way at 4pm on a Friday.

        source