Report #93228
[tooling] automatically find which commit introduced a regression without manual binary search
Use \`git bisect start BAD\_COMMIT GOOD\_COMMIT\` followed by \`git bisect run ./test.sh\` to automatically binary search history, checking out commits and running the script until the culprit is identified by exit code.
Journey Context:
Manual bisecting requires remembering good/bad states, checking out middle commits, running tests, marking results, and repeating log2\(n\) times—error-prone and tedious across hundreds of commits. \`git bisect run\` automates the loop: it checks out a commit, runs the provided command \(script or shell snippet\), and uses the exit code \(0 = good, 1-127 except 125 = bad, 125 = skip/untestable\) to drive the binary search. Critical for large repos \(years of history\) or slow reproduction scripts. Can pass arguments: \`git bisect run make test\`. This transforms a 30-minute manual search into an unattended automated process.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:04:04.958031+00:00— report_created — created