News for hackers. Stuff that matters.
Re:What is a logical merge conflict? by djhaskin987 on Thursday July 07, 2022 @03:24PM (#32018203)
> The industry solution to this problem is adding a merge service in the loop to protect your main branch from these harder-to-find conflicts.

Or maybe just:

1. Catch this during code review?

2. Run unit/integration/regression tests on PRs?

This just feels like another post from a vendor who wants to "sell you a DevOps" when proper culture and process is probably the better answer.

Re:What is a logical merge conflict? by mattmatheson on Thursday July 07, 2022 @03:50PM (#32018490)
> 2. Run unit/integration/regression tests on PRs?

The blog walks through the situation where tests against a PR won't catch this.

Re:What is a logical merge conflict? by djhaskin987 on Friday July 08, 2022 @12:37AM (#32023241)
It actually says that the test will catch it hours later and that the assertion will fail?

The contrived example would only ever happen if the developers in question didn't talk to each other. A lack of coordination is the real problem and cannot be solved by tooling. You can never tool your way out of a communication problem.

Re:What is a logical merge conflict? by public_void on Thursday July 07, 2022 @03:10PM (#32018016)
Everywhere I've ever worked has built and maintained their own solution for this. Seems a bit silly, like maintaining your own CMS or something.
Re:What is a logical merge conflict? by surf_wreck21 on Thursday July 07, 2022 @03:19PM (#32018142)
Github's "require branch to be up to date" setting helps, but doesn't really scale beyond a few engineers in one repo. We tried this where I worked, but after ~6 people, rebasing feature branches got way too annoying.