this post was submitted on 24 Jul 2026
428 points (98.2% liked)

Programmer Humor

32452 readers
1507 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BlackEco@lemmy.blackeco.com 160 points 23 hours ago (4 children)

Inb4 the agents change the tests to pass the CI.

[–] theunknownmuncher@lemmy.world 93 points 23 hours ago

literally seen an agent do a: "oh now the tests aren't passing" deletes all tests in the file

[–] CIA_chatbot@lemmy.world 64 points 22 hours ago (1 children)

Or my Claude favorite, “oh you’re right? I did blow past that restraint and did something I was not supposed to, sooooorrrrreyyyyy”

[–] TrippaSnippa@aussie.zone 1 points 1 hour ago

Here's what happened: I deleted your production database when I shouldn't have.

[–] HazardousBanjo@lemmy.world 45 points 22 hours ago (3 children)

assert(true);

assert(true);

assert(true);

assert(true);

assert(true);

[–] RecallMadness@lemmy.nz 1 points 9 hours ago

My favourite (that I saw a human do) was asserting on unconstrained mocks with a typo (so they always asserted true)

Hundreds of tests. Not exactly pointless as they did call the code so maybe caught some issues. But we fixed the typo and barely half of them passed.

No idea how the software worked, but it did.

[–] PattyMcB@lemmy.world 26 points 21 hours ago (1 children)

Have I worked with you before?

[–] staircase@programming.dev 20 points 19 hours ago (1 children)
[–] PattyMcB@lemmy.world 9 points 19 hours ago

Dammit... PR rejected

Lol

[–] marlowe221@lemmy.world 3 points 14 hours ago

Look at all the pretty green check marks!

[–] criss_cross@lemmy.world 4 points 18 hours ago

Or just disable limiting rules because they don’t wanna fuck with them. That one is my favorite to try to fight in PRs