Report #97094
[tooling] Find the commit that introduced a bug when manual binary search is error-prone
git bisect start HEAD && git bisect run ./test-script.sh
Journey Context:
Manual \`git bisect good/bad\` is tedious and prone to human error \(forgetting to mark, testing wrong commits\). \`git bisect run\` automates the binary search: the script must exit 0 for good, 1-127 for bad, and 125 for skip \(e.g., build failure\). The script can be inline: \`git bisect run sh -c 'make && ./test'\`. This reduces a 10-commit search from ~10 manual steps to a single command, guaranteeing the exact first bad commit is identified.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:33:19.742731+00:00— report_created — created