Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

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

⁨95⁩ ⁨likes⁩

Submitted ⁨⁨4⁩ ⁨days⁩ ago⁩ by ⁨eli001@lemmy.world⁩ to ⁨technology@lemmy.world⁩

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

source

Comments

Sort:hotnewtop
  • PattyMcB@lemmy.world ⁨4⁩ ⁨days⁩ ago

    At least it wasn’t an AI agent that did it despite being told not to, repeatedly. And then refusing to restore from backups because they didn’t exist.

    source
    • theherk@lemmy.world ⁨4⁩ ⁨days⁩ ago

      They should have used all caps. Then it would have listened. Oh wait…

      source
  • sugar_in_your_tea@sh.itjust.works ⁨3⁩ ⁨days⁩ ago

    showed it to senior folks who said the results looked fine

    Did anyone look at the code?

    Also, what’s a “multi-type”? Does he mean he needed to check a different field? Or are they doing something unholy without real schemas and got burned because they’re mess confused someone! Also, why is a junior being moved between teams and touching production immediately?

    I have so many questions.

    The second one makes a ton more sense, and is pretty hilarious.

    source
    • SpiffyPotato@feddit.uk ⁨2⁩ ⁨days⁩ ago

      The second one is a testament to why you should always run it as a SELECT statement first to verify you typed it correctly.

      source
  • ZephyrXero@lemmy.world ⁨3⁩ ⁨days⁩ ago

    And this is why there should always be a human in the loop for QA despite how many tests you have.

    source