bisect-buddy

Walks git bisect for you and explains the bad commit.

v0.1.0Source ↗#git#debugging

Install

  1. 01Add the marketplace (once)

    /plugin marketplace add https://catylai.com/marketplace.json
  2. 02Install bisect-buddy

    /plugin install bisect-buddy@catylai

git bisect is one of the best tools in the kit and almost nobody runs it, because driving it by hand is tedious enough that you talk yourself into guessing instead.

This plugin does the driving. Point it at a failing test and a known-good commit, and it runs the bisect to completion, then reads the diff it landed on and explains the failure in terms of the test rather than in terms of the patch.

Usage

/bisect --test "pnpm test -- auth.test.ts" --good v1.4.0

It will check out each candidate, run the command, and report the first bad commit along with a short account of why that change broke that test.