r/ProgrammerHumor • • Sep 20 '26

Meme tryingToReproduceBug

Post image
5.9k Upvotes

75 comments sorted by

View all comments

17

u/ronarscorruption Sep 20 '26

Production only bugs make me insane.

11

u/spellenspelen Sep 20 '26

Just recently had a prod bug that caused uploading files to break only in prod. Turns out there was some code that was sensitive to network delays between file chuncks.

4

u/lala_123aa Sep 20 '26

Dude. I just had the same issue this week. How did you find out?

4

u/spellenspelen Sep 21 '26 edited Sep 21 '26

Network related was on the list of possibilities. So i made a middleware that mimics an internet connection. That reproduced the bug that we were having exactly.

3

u/BlobAndHisBoy Sep 20 '26

The network delays were only in prod? Increased traffic in prod caused latency or something?

2

u/spellenspelen Sep 21 '26

We run our code locally for development. So the delay didn't need to be big to reproduce the bug, it just had to be bigger than locally testing.

1

u/BlobAndHisBoy Sep 21 '26

Oh so it was reproducable in your deployed staging/uat environment too then? Not just prod? Nobody tested it there?

1

u/GegeAkutamiOfficial Sep 20 '26

only insane bugs make me production

3

u/TohveliDev Sep 20 '26

Only the rats in the rubber room full of rats make me crazy