Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
CaptainRant496816hFrom my experience in teams the requirements have been:
1. It must compile
2. The code must be clean
at the very minimum
and finally:
3. The code must be performant
in later releases. -
@Lensflare all my codebases had sanity check to make sure it's building when you commit
-
on the other hand, it's not because I'm creating a PR that it's finished. A draft should be marked as such though
-
2Fdev2Ftcsh167615hIt totally depends on the project.
It should pass the CI tests. If there are none then it is a project problem not the MR.
I have several repos where I self approve an MR and merge. It works... mostly.
With more people in the project you have to change acceptance criteria. -
retoor141514hFor jenkins you have the CI-game. You get 3 points if you add a test. You lose ten points if you break a built. You get 1 point per linting issue resolving or something. And of course, some one blacked (auto python formatter, not blacked in the @antigermanist way) the whole application and did win forever.
-
Hazarth920612hnothing merged into master should break master. That's the only real requirement. All other requirements are fluid and change based on if the deadline is in literally 10 minutes or in 5 months. But the code has to compile and must work once in master.
Everything you were forced to ignore in that request becomes Tech Debt and will be fixed in the next release, or more likely never ;)
Related Rants

Software requirements
The truth has been spoken...
What is the absolute minimum for a merge request? Is it that the code compiles? Because that's a super low bar. A bar still missed by some...
question
requirements
compile
minimum
merge request