Report #36887
[tooling] Manually binary searching for the commit that introduced a bug is time-consuming and error-prone
Use \`git bisect start\`, mark bad/good commits, then \`git bisect run ./test.sh\` where the script exits 0 for good, 1-124 for bad; git automates the binary search and reports the first bad commit.
Journey Context:
Manual bisecting requires checking out commits, building, testing, and marking good/bad repeatedly. \`git bisect run\` automates this by executing a provided script; specific exit codes tell git to skip commits \(125\) or stop. This turns hours of debugging into minutes and is essential for finding regressions in large histories, especially when combined with \`git bisect visualize\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:23:31.766083+00:00— report_created — created