r/ProgrammerHumor • • Oct 06 '26

Meme friendSentMeThisJustTestInProd

Post image
434 Upvotes

25 comments sorted by

364

u/howdoigetauniquename Oct 06 '26

Is it even production if you have no users?

124

u/opqma Oct 06 '26

The thing is, this is an actual service, and it has a lot more users than you’d expect. At least, I wasn’t expecting it.

67

u/1mahmoud503 Oct 06 '26

soo.. does the production that they're testing on have users on it? or are they on a different production

49

u/opqma Oct 06 '26

So basically main is prod so whatever this guy does like let’s say nuke bunch of endpoints and then push and merge to main he effectively did nuke the endpoint for thousands of users.so yeah there is no staging no dev branch or feature branch deployments.
Like for eg at our company let’s at we doing a new feature there is branches that will be merged to this feature branch that has its own deployment as well then it goes to dev branch and then to main and then that main will
Be deployed in staging server that is identical to prod for us is like beta and we do a b testing there and then main prod happens after we are happy with everything and this not even the full picture

45

u/1mahmoud503 Oct 06 '26

I get that you don't have to complicate things when there's only 3 people working on the same project, but not having at least a dev/test branch is certainly a choice... and it might not get fixed until the next production breakdown

at least tell me that they have a measurement api or an auto error report pipeline to have some sort of an alert when prod breaks...

you're hurting my little innocent heart here man 💔

15

u/Hattrickher0 Oct 06 '26

Hell, I have a dev branch for personal projects where I'm the only one touching it. The idea of not having a stable branch and a work in progress branch at a minimum just seems weird to me, even if you don't use a dedicated one for testing.

5

u/Snuggle_Pounce Oct 07 '26

Agreed. My wife and I are working on a personal project and I’m the only user. We do branches with pull requests, pairing code review, then merge to main, which then gets deployed to the staging server once we’ve finished a feature/version to get poked at before it goes to the live server.

I’m not even a professional and the “just push to prod when you’re done” boggles me.

2

u/Firewolf06 Oct 08 '26

code reviews are super underrated on small projects imo. i have a couple 2-3 person projects where we enforce reviews and everyone knows everything thats happening

1

u/TheScopperloit Oct 07 '26

What type of product is this? What type of testing is done?

4

u/christianbro Oct 06 '26

You dont want to take down the whole system for another fellow developer

0

u/GizmoCPT Oct 07 '26

Yes, it's in the production environment, so regardless of user count, it is still production.

20

u/skdanki Oct 06 '26

if the screenshot's last statement is true then it doesn't matter

otherwise it's a forceful beta test for your users LOL

7

u/opqma Oct 06 '26

That statement is referring to the repo not being public

4

u/ImpactEvent42 Oct 07 '26

Way to bury the lede

55

u/yububoob Oct 06 '26

Eh I test in production like this in certain situations. For example, building out infrastructure for a new region. It's not launched and we have no customers in that region and no one can see what bullshit im breaking until the feature flag is flipped

7

u/DogmaticParadigm87 Oct 07 '26

"It's not really public" is how every postmortem starts.

25

u/notAGreatIdeaForName Oct 06 '26

At this point if nobody gives a fuck anyway the LLM can handle it!

I would just link the channel or ticket system to a session.

4

u/awesomeusername2w Oct 06 '26

I mean, you can also see it as trusting teammates.

6

u/EmperorOfAllCats Oct 07 '26

Everybody has test environment, just not everybody's is separate one.

4

u/notatoon Oct 08 '26

MOOOOOM! THE INTERNS ARE POSTING AGAIN!

2

u/WHALE_PHYSICIST Oct 06 '26

they hiring?

1

u/GreyGanado Oct 07 '26

Break it on purpose. It'll be a valuable learning experience. Either for you or for them.

1

u/WawaTheFirst Oct 08 '26

Living the life...

1

u/KazutoOKirigay Oct 09 '26

"Every dev has a test environment, some even have it seperated from prod "