News for hackers. Stuff that matters.
Re:My Favourite Git Commit by monsieurbanana on Friday October 18, 2019 @01:06PM (#21293090)
I might be missing something basic here. Isn't the "no commit should break a build" impossible to enforce on a codebase where you need to push a commit to run the tests?

Something where you can't test locally, like when testing on multiple architectures or when the tests just take too long for a laptop.

Re:My Favourite Git Commit by SamBam on Friday October 18, 2019 @03:28PM (#21294371)
In my workflow, that would be in a feature branch, and exploratory branches can certainly break, but before I made a PR I would rebase my changes such that none of the commits broke the build.

It's also a different situation. The original one is "I've made a test that shows a problem." Your example is a surprise "I don't know whether this will pass my cloud-based tests." I would edit my branch if I had a surprise failure, since my initial code clearly wasn't correct.