Omer Cihangiroglu describes whichdep in git bisect doesn't work on lockfiles — so I built whichdep. The open-source tool investigates a failing dependency update when a single lockfile change moves several packages together. Git bisect can locate the commit that changed a lockfile. Whichdep asks which changes inside that lockfile make a given test fail.
Keep installation failures separate from test failures
Splitting a lockfile diff in half can leave an upgraded package paired with an incompatible transitive dependency. The package manager may refuse to install the result before the test runs. Cihangiroglu describes how whichdep builds trial configurations from the dependency graph, then checks them through the package manager. Each trial uses an isolated copy of the project. A configuration that cannot be resolved is recorded as unresolved, leaving the tool without a test result for that combination.
Show the change that pulls in its companions
In the author's Cargo example, updating rand from 0.8.5 to 0.9.5 moved several related crates. The harness treated compiler warnings as errors, so the deprecation of thread_rng triggered its failure. The first report grouped the crates together and suggested rolling them back individually. One proposed rollback could not work while the upgraded rand still required its newer companion. The revised report identified rand as the root change and listed the versions that had to move with it. The author also checked that removing the implicated update made the test pass again.
Repeat trials when the test is noisy
Cihangiroglu describes rerunning trial configurations and marking disagreements as unresolved. Whether the test fails consistently is part of the diagnosis. The post reports trials using real packages and lockfiles from public registries, with small synthetic test harnesses. Those examples illustrate the search behavior under controlled conditions. For teams investigating their own update, the diagnosis depends on a test that reliably reproduces the original failure.