Report #31082
[tooling] Finding which commit introduced a bug requires manually checking hundreds of commits
Use \`git bisect start && git bisect run ./test.sh\` to automate binary search, where the script exits 0 for good, 1-127 for bad, and 125 for skip.
Journey Context:
Manual bisection is error-prone and slow. \`git bisect run\` automates the binary search by executing a script at each step. The script must return specific exit codes: 0 for 'good', 1-127 for 'bad', and 125 for 'skip' \(e.g., if the commit doesn't compile\). This reduces finding a regression from O\(n\) to O\(log n\) and ensures reproducibility. It's crucial for CI environments where builds/tests can be automated.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:33:31.511945+00:00— report_created — created