Report #96307
[tooling] Need to find which commit introduced a regression in a large history of changes
Use git bisect run
Journey Context:
Manual git bisect requires checking out each commit and running tests manually, which is tedious and error-prone for large ranges. The run command automates this with a binary search algorithm. The script must be deterministic: return 0 if the commit is good \(no bug\), and 1-124/126-127 if bad \(bug present\). Exit code 125 means 'skip this commit' \(e.g., doesn't compile\). This can identify the exact first bad commit in thousands of revisions unattended. Essential for CI debugging and long-running test suites.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:14:08.126462+00:00— report_created — created