This is why I no longer do atomic commits. I've just never had it be a benefit to walk through and guarantee that each commits tests and builds successfully. I so rarely back out changes that when I do, I test then that everything is working (and let's be honest, I back out usually at the PR level, not the commit).
mcintyre1994|5 months ago
eru|5 months ago
globular-toast|5 months ago
eru|5 months ago
Most pull requests should probably be squashed to appear as a single commit in the final history. But you should have the option of leaving history intact, when you want that, and then your CI/CD should run the checks as above.
WorldMaker|5 months ago
eru|5 months ago
If you never look at individual commits in your history, you might as well squash them.
mjd|5 months ago
It's enough for the tests to pass at each merge point.
Supermancho|5 months ago
Sit in draft until you're ready to use the CI - which you verified locally or run manually in draft, before convert to reviewable - then review, maybe tweak, merge.
Atomic commits would endanger me losing unfinished work or eventual dead-ends with no record. This seems inefficient.
baq|5 months ago