Is it normal to have 3 to 5 devs working on the area of code so that one merged PR causes conflicts in the other PRs still in review?

Posted by RedbloodJarvey@reddit | ExperiencedDevs | View on Reddit | 52 comments

I'm relatively new to this company. For code quality and most processes they are well above other places I've worked. But this one reoccurring situation is taxing my feeling of productivity and a feeling of ownership of the project.

This is a very large team, working on a profitable project with tight external deadlines. As a new feature is started to be developed it will be broken up into several manageable tickets, which are assigned as developers finish up their previous work.

What this means is that a loose coalition of developers will be working on a feature, and often don't know who else is touching the same area of code. In the worst case scenario each time someone gets their PR through the approval process and merged in, everyone else has to refactor their code, which often means reworking unit tests, fixing linting issues, addressing code coverage gaps, etc. This adds hours, or days, and one time a full extra week to getting my PR in.

In a retrospective I brought this concern up. I was told to make smaller PRs. In my opinion that's not really practical. If a PR doesn't cover the ticket it will often get rejected during peer review.

Is this just the normal friction of working on a large project with tight deadlines?