Report #22497
[tooling] Finding the exact commit that introduced a regression in a long history without manually checking each one
Use \`git bisect run ./test-script.sh\` to fully automate binary search; the script must exit 0 for good commits, 1-124 for bad, 125 to skip, and 126-127 to abort the bisect
Journey Context:
Manual bisecting is error-prone and slow. Many developers know \`git bisect start\` but miss \`run\`, which automates the entire loop without human intervention. The exit code contract is strict: 0 means good, 1-124 means bad, 125 means skip current commit, and 126-127 aborts the entire operation. This turns hours of interactive debugging into minutes and produces reproducible scripts for CI regression hunting.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T16:10:07.588503+00:00— report_created — created