News for hackers. Stuff that matters.
Re:Show HN: Git bayesect – Bayesian Git bisection for non-de... by belden on Wednesday April 01, 2026 @10:36PM (#47609352)
My team doesn’t always have cleanly bisectable branches being merged to main —- it’s not uncommon to see “fix syntax error” types of commits.

But, to merge we need to have all tests pass. (If tests flakily pass then we get new flakey tests, yay!)

I know git-bisect doesn’t support this: but could git-bayesect have an option to only consider merge commits? Being able to track a flake change back to an individual PR would be really useful.

Re:Show HN: Git bayesect – Bayesian Git bisection for non-de... by sluongng on Wednesday April 01, 2026 @11:35PM (#47609692)
You can run bisect with first-parent
Re:Show HN: Git bayesect – Bayesian Git bisection for non-de... by hauntsaninja on Wednesday April 01, 2026 @11:59PM (#47609830)
That sounds right. `git_bayesect` currently uses `--first-parent`, so I think belden's use case should work, but I haven't tested it much on complicated git histories.
Re:Show HN: Git bayesect – Bayesian Git bisection for non-de... by menaerus on Friday April 03, 2026 @04:32AM (#47624417)
> I know git-bisect doesn’t support this

It does.