Report #13088
[tooling] Need to find which commit introduced a regression in a large history without manual binary search
Use \`git bisect run ./test-script.sh\` where the script exits 0 for good commits, 1-124 for bad, and 125 for skip, automating the binary search across the entire history
Journey Context:
Manual bisecting is tedious, error-prone, and often abandoned for large ranges. \`git bisect run\` automates the binary search using a script that tests for the regression. The script must be deterministic: exit code 0 means 'good', 1-124 \(except 125\) means 'bad', and 125 means 'skip/untestable' \(e.g., won't compile\). This allows overnight or CI-based regression finding. It is crucial that the script tests the exact failure condition \(e.g., specific test case\) and handles build failures gracefully to avoid false positives. This workflow transforms bisecting from hours of manual work into an automated process.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:45:18.860138+00:00— report_created — created