r/ProgrammerHumor • • 4d ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

5.2k Upvotes

350 comments sorted by

View all comments

665

u/-__-Malik-__- 4d ago • Bravo

People who let their AI push in prod are scaring me

582

u/ABK-Baconator 4d ago

"push in prod"

If your software doesn't have automatic quality gates before shipping to prod, you are doomed anyway

80

u/Alwaysafk 4d ago

I was told to remove them because they are causing failures for the AI vibe slop. I'm not kidding.

28

u/iburstabean 4d ago

Like when I've seen agents change unit tests to stop failing instead of fixing the actual bug

→ More replies (1)

8

u/ItsSadTimes 4d ago

"You're slowing down our innovation! Just test in prod!"

→ More replies (3)

85

u/ddnomad 4d ago

Unless your quality gates were also rewritten by a swarm of totally reliable agents just recently after your management had a hissy fit over a need to increase development velocity 🤷

39

u/AwkwardWaltz3996 4d ago

LLM using kernel level hacks to pass tests without needing to fix broken code

37

u/joemckie 4d ago

npm run test 👈☹️

// npm run test 👈😌

4

u/clarinetJWD 4d ago

One of the products at my company just put in pre-push performance tests (even for wip branches) to make sure we don't regress... I was working on something and asked Claude to push to my branch and start a build while I worked on something else.

Yeah, it failed the performance tests, so Claude decided the right course was to change the script to skip them.

No harm since it was my own branch, but it was pretty funny in a slightly horrifying way.

→ More replies (1)

7

u/another_random_bit 4d ago

Yeah that happens in the real world every day

11

u/DidItForTheJokes 4d ago

People worried about AI are the same people who worked in jobs that you could just “push to prod”

Makes you think

→ More replies (1)

103

u/danielv123 4d ago

How is your source control prod? Isn't that like very clearly dev?

21

u/ddnomad 4d ago • Regret

Depends on the context, but GitOps is a thing where you can totally push to a branch and see it being yeeted into prod via a CI/CD pipeline of varying degrees of reliability and quality assurance.

74

u/Settleforthep0p 4d ago • Popcorn

if your cicd yeets shit into prod on a random branch push i dunno what to tell ya, maybe you need claude

→ More replies (2)

14

u/sup3rdr01d 4d ago • Bravo

A good company will still put prod deployment behind a cm ticket that needs validation and an install time

5

u/jpec342 4d ago

lol, what? Code reviews are a thing basically everywhere.

25

u/EdwardElric69 4d ago

Hah! You think they would let me near prod?

9

u/cheezballs 4d ago

People who think that when you commit code it immediately goes to prod scare me.

7

u/dpahoe 4d ago

I’m thinking you don’t push 50 times a day on various branches..

6

u/rodBmusic 4d ago

'Push to prod' should never be a thing. At minimum, push to release branch, PR, merge to (or from) base, test, ship. Shortcut == ProdCut

6

u/Impossible-Owl7407 4d ago

You are not aware of the concept of pull requests and protected branches?

4

u/stupid_cat_face 4d ago

You are not embracing your robot overlords. You are marked for recycling.

4

u/Osteoprdoza 4d ago

"push in prod" brother in Christ I need to manually run two pipelines to deploy to test, let alone do anything with prod

3

u/Fxavierho 4d ago

sooner or later, we don't even have to

→ More replies (6)