322
u/WernerderChamp 3d ago
Reply after 15 mins "sorry, had to do this important task first".
Not even a lie. I am not waiting all day for your silly PRs.
122
u/saevon 3d ago
"I was on my coffee break, celebrating the successful upcoming code freeze"
23
u/returnFutureVoid 3d ago
Taking a dump.
4
1
u/screwcork313 3d ago
Boss makes a dollar,
I make a dime.
That's why I'm only reviewing your ugly "poop request"
One ass-load at a time.
110
u/Ok_Equipment8374 3d ago
Rejection: please include your cahtbot logs so I can get some form of understanding
359
u/Outrageous-Machine-5 3d ago
You can reject PRs
166
u/Cylian91460 3d ago
You can also say that you won't be able to read before code freeze and that it have to wait
6
6
71
48
u/swierdo 3d ago
Just make it their problem again.
"Hey, your PR is a bit large and I'm having a hard time wrapping my head around all of it. Can you walk me through the changes? Once we've done that I can properly review it. I'm available whenever, thanks!"
45
u/brixon 3d ago
20 years ago our code reviews were actual meetings where the author had to walk through the changes and defend their changes in front of multiple developers
11
u/InexplicableBadger 3d ago
True, but the world changed and now you can back out your failed code in 5mins on a CI/CD pipeline, so speed became more important to most businesses than quality and accuracy. Also you don't have to do it in 640k, which famously should be enough for anybody.
So I don't have to defend my pull request in a meeting, but I do have to defend it with the project team and it has to work correctly, but a certain level of imperfection and wastefulness with memory is acceptable.
1
u/Hutius1 13h ago
I much prefer this option, as having performed both. Prove competence over getting a few people to be confident in my work. Taking the ego and relative subjectivity out of it with tests is net good. There is the odd item of performance that comes up, but that's a scope parameter adjustment from there.
1
32
u/cosmicomical23 3d ago
A PR with 10k lines is anyway impossible to review. You are basically asking me to approve it blindly.
5
u/frogjg2003 3d ago
I just made a massive PR with 5 digit number of lines changed. Granted, it was almost entirely deleting config files and deprecated code. So the actual changes were only about a dozen lines.
2
u/cosmicomical23 2d ago
Ok there are some obvious special cases. For instance wide sweeping changes where you are doing one thing to many files are ok. Especially if you are not mixing in random other changes, that becomes mostly a matter of passing the tests, rather than needing a real review.
-32
u/Cylian91460 3d ago
Skill issue
13
u/_Lost_as_Hell_ 3d ago
I can review 10k LOC but why should I? I can guarantee that PR is easy to break into multiple small PRs.
1
u/bwmat 3d ago
I don't think they always are
Like, I'm thinking back to a recent task I had to add the capability to interrupt execution to return output parameter data in a streaming fashion instead of forcing buffers for them to be bound upfront (An ODBC 3.8 feature for the curious)
It involved replacing one of our oldest and most important interfaces with a new one which would enable this, and so rewrite all the logic on top of it to use the new one, which completely changed the flow of the code and the logic of how the execution was carried out.
I spent a couple of months doing this, along with updating all the other places that used the old interface (we have multiple `front ends' along w/ ODBC), including adding wrappers for the old interface which translated it into the new.
I can't imagine how I could split this change up more than I already did (1 per front-end) without making the codebase a Frankenstein of feature toggles, and no real way of testing the new logic until it was all done anyways, as it was basically replacing the old wholesale.
IMO in this kind of situation, splitting up the PRs would make it even harder to review, since you would lack context in the initial ones which only appeared in the later ones.
The whole 'their eyes will glaze over' IS a 'skill issue' (or even just laziness)
1
u/_Lost_as_Hell_ 3d ago
Yeah I agree these situations can happen. In this case, first prepare a small tech proposal doc. Get aggreement on that first. And then after raising PR, ask reviewer if call is required to make review easy. Take all suggestions, and do careful self-review of new change. Then only ask for review again.
1
u/Romeo3t 3d ago
I wonder if stacked PRs come to the rescue here. Consider:
- Work on the problem as you did
- When you're at the end break it part into manageable chunks that are reviewable
- You don't necessarily even have to make those chunks compilable or passing tests on their own. Each chunk should just implement something that is easy(ier) for your peers to wrap their head around.
- Have someone review the stack understanding that the middle of the stack is unfinished code and the later PRs in the stack will bring more completion.
- Boom, reviewers have easier chunks to review and you can still work and merge/land the entire thing as part of a massive feature branch with multiple commits.
1
u/cosmicomical23 2d ago
It is a devex issue, not skill. I don't have to show you my cv, to tell you your take is very old fashioned and slightly toxic. Which I believe is at least part of the reason for the many downvotes.
0
u/Cylian91460 2d ago
It is a devex issue, not skill
Not knowing how to split task through time based on your own enjoyment is a skill issue.
16
u/qxxx 3d ago
happens nowadays all the time at my company.. and boss is forcing us to review this ai slop quickly because it needs to be released in 1 hour... fuck this
2
u/JustExpect 2d ago
Actual truth. Completely screw QA and sprints.
Every day is a sprint. Tests are made by the AI that wrote the code. It tested itself and says it works, send it!
5
9
u/AlwaysHopelesslyLost 3d ago
"code freeze" doesn't mean "don't write or push code changes."
It means "don't push code changes to production."
1
2
2
u/Dry_Debate_8514 3d ago
Find a small error. Ask for it to be fixed while you are reviewing the next part until the 20 minutes are over.
2
u/traplords8n 3d ago
Jokes on you, my lead dev is scared of git and refuses to do the classic PR workflow.
We literally edit with a merge program, file by file (or directory by directory if we're feeling productive & ballsy)
I tried advocating for using git, but he's not having it lmao. Programming in a small business is wild y'all
2
u/neondirt 3d ago
Yikes! I can't even remember a time before source control...
1
u/traplords8n 3d ago
I used to be cool with it because I didn't want to learn git, but now I use it for side projects and fucking love it... lol
2
u/thanatica 3d ago
A release stop is one thing. Those are useful during the holiday season.
A code freeze feels like those releases are being built from the master branch 😬
2
1
1
1
1
1
1
u/oretoh 3d ago
First time I heard about a code freeze in my 12 years in development. People are doing that now?!
3
u/null_ghost_00 3d ago
Some companies have deployment freezes where certain points of the year you dont allow releases to production. Thats business operational decision. If its a code freeze where you're not allowing merges then you probably have a bad code management workflow.
1
u/FlakyTest8191 3d ago
Makes sense in some environments. When there is a heavy process for a release because of compliance or safety, releasing each tiny change individually makes no sense, and you need a cutoff.
1
u/ngqhoangtrung 2d ago
Very necessary for mobile, especially when QA is going through regression test
1
1
u/private256 3d ago edited 3d ago
And then when you review it, they have an LLM respond to your feedback.
1
1
u/sneradicus 3d ago
I would legit just say I was assigned high priority work that will require my full attention.
1
1
u/ICBanMI 3d ago
My co-worker was the king of trying to check in broken code right before the code freeze. He'd check it in an hour past, ship it to the customer, no check out, and then it'd crash at startup when the customer finally checked it, or how it'd be super obivious the helper window was completely upside down for the feature they requested? And it would take him 3 more builds to them to get it oriented upright?
1
1
1
u/Lachtheblock 3d ago
Option 1, code doesn't get merged. Option 2, release gets delayed. Product managers get to choose, but don't get it both ways.
I'm sure as hell not putting my name on something that I haven't approved because others can't time manage. It almost guarantees more work in the long run.
1
u/Lane-Jacobs 3d ago
not super related but is anyone else getting sick of being handed AI documents and AI code and being asked to review it? it contains mistakes and then they get pissy when you call it out. currently have a senior dev doing this :)
1
1
u/zalurker 2d ago
Reject and raise it with the team lead. Mr Swifty will have to explain himself at next code review.
1
u/Putrid_Sandwich_5805 2d ago
First message: You need it now or after code freeze, with a cc to their manager
1
1
1
1
u/Repulsive-Hurry8172 3d ago
Is it "looks good to merge" or "looks good to me"? IDK what LGTM means
1
1
1
0
-2
1.1k
u/SuitableDragonfly 3d ago
Just reject it with "please come back after the code freeze with this split into 20 separate PRs, thanks".