Report #47127
[tooling] Manually testing commits to find a regression is slow and error-prone
Automate regression hunting with git bisect run ./test\_script.sh where the script exits 0 for good, 125 for skip, and 1-127 for bad; git automatically checks out ~log2\(N\) commits and identifies the exact culprit.
Journey Context:
Many developers know git bisect exists but manually type git bisect good/bad after each checkout, which is tedious and invites human error. The run subcommand accepts any script \(unit test, grep for bug signature, etc.\) and uses exit codes to drive a binary search automatically. This turns a 30-minute manual process into a single command that runs unattended, crucial for agents handling large histories.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:34:30.027907+00:00— report_created — created