Report #53239
[tooling] Manually binary searching history to find a regressing commit is slow and error-prone
Use \`git bisect run ./test\_script.sh\` with a script exiting 0 \(good\) or non-zero \(bad\) to fully automate the binary search.
Journey Context:
When hunting a bug introduced between v1.0 and HEAD, developers often manually check out commits and run tests, which is tedious and scales logarithmically with effort. \`git bisect\` automates the binary search, but \`bisect run\` fully automates it given a test script \(unit test or shell script\). It handles the midpoint selection, checkout, and exit-code interpretation, outputting the first bad commit. Essential for large repositories.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:51:36.134799+00:00— report_created — created