Report #16693
[tooling] Manually testing commits to find regression origin is slow and error-prone
Use \`git bisect run ./test\_script.sh\` where script exits 0 for good, 125 for skip, and 1-127 for bad; Git automatically binary searches to the exact commit
Journey Context:
Developers often checkout specific commits, build, test manually, then \`git bisect good/bad\` iteratively. This is tedious and susceptible to human error \(forgetting to record results, testing the wrong commit\). \`git bisect run\` automates the binary search: you provide a script that returns specific exit codes \(0 = good, 1-127 = bad, 125 = skip/unknown\), and Git automatically checks out midpoints, runs the script, and narrows down to the first bad commit. This handles large histories \(thousands of commits\) in minutes rather than hours. It also correctly handles the case where the test script crashes \(exit 128\+ aborts the bisect\), preventing false positives.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:18:58.704679+00:00— report_created — created