always try and get my PR merged before anyone else
always try and get my PR merged before anyone else
always try and get my PR merged before anyone else
You're viewing a single thread.
Merge early and merge often.
And ideally, each commit represents a working state of your software. If your team is disciplined enough with that, you can save yourself the feature branches and merges.
Are you expecting a developer to test everything every time they commit? Thoroughly testing even a small application or feature subset will take up quite a bit of time. You also want devs to commit often, so it is easy to roll back an approach that didn't pan out, or just to go back and figure out what change caused something to stop working. If you end up committing only a few times per week because everything needs to be thoroughly tested, I'm not convinced it is a good approach.
No, they should not need to test everything, but this strongly depends on your code quality and project setup.
There's definitely other paths to the goal, but generally for larger projects, I recommend:
This rigidity does have challenges of its own.
For example, a change in the backend might force a change in the communication model and therefore in the frontend, too. And if you're exclusively backend, you might struggle with updating the frontend accordingly.
Then you'll need to push onto a separate branch and look at it with your frontend colleague later. But hopefully, you get that arranged within a day or two, so the merge conflicts should still be quite tame.
And obviously, this rigidity has tons of advantages. Not needing to wonder whether frontend and backend, or any other interface, is compatible right now, is just insanely good.