Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.

 help



You can run bisect with first-parent

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.

> I know git-bisect doesn’t support this

It does.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: