this post was submitted on 28 Nov 2026
121 points (94.2% liked)

technology

24552 readers
264 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 6 years ago
MODERATORS
 

New LLM prompt: if the average boardroom in Palo Alto would struggle to snort the same number of lines as your patch, then don't.

you are viewing a single comment's thread
view the rest of the comments
[–] Tabitha@hexbear.net 38 points 3 days ago (2 children)

given that 93% are new tests, it's not as bad as it sounds, however, it is essentially what should have been 20 separate PRs and is rude to jam them all into one PR (I've worked with people who put a month of work into one PR before)

[–] ziggurter@hexbear.net 5 points 2 days ago* (last edited 2 days ago) (1 children)

given that 93% are new tests, it's not as bad as it sounds

This is completely backwards. Tests are code that have to be maintained, just like the runtime logic. And you should trust them at least as much as you trust the main code (more, actually). You should not trust them to a roll of the dice.

[–] Speaker@hexbear.net 3 points 2 days ago (1 children)

The most frustrating part of $WORK code is these people who shut off the engineering part of their brain for test code and just write miles and miles of awful copy-paste test cases rather than applying the skills they're supposed to have. I frequently find some very nice abstraction boundary that the original author missed because I'm refactoring nightmare tests and then I get to delete a bunch of code and make tests better.

[–] ziggurter@hexbear.net 1 points 2 days ago

Absolutely agree.

PRs should be small to medium sized and pretty modular. Adding a ton of new tests for different things in one PR is dumb.