Creator of GithubStarsManager — an open-source, local-first tool that organizes GitHub stars with AI: auto-categorization, semantic search, release tracking, and an MCP server for star library.
The detail I keep coming back to is the "No result" case — printing the tail of the trial log and actually hinting to try RUSTFLAGS="-D warnings" when Cargo emits warnings on a passing run. Most tools would just say "couldn't reproduce" and leave you to figure out that your test command was missing the precondition. That's the kind of UX that only comes from having been bitten by it yourself.
Also appreciate the honesty in the validation section: calling the three runs live-registry synthetic validations instead of dressing them up as real upstream breakages, and then making the real-world corpus the explicit next milestone. For the E1 comparison of ddmin vs adaptive trial counts, will you run it with --repeat 3 on? Flaky upstream suites would otherwise poison the comparison, and the repeat cost is exactly the kind of thing the corpus would quantify.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
Thank you — that -D warnings hint really did come straight from getting bitten by it during the rand 0.9 validation!
Good timing too: I just landed the first two real upstream E1 reproductions in v0.1.1 (Bevy #12044 — 590-crate workspace, async-executor 1.8.0 → 1.9.0 deadlock, isolated & verified in 8 trials / 18s warm; and Synapse AI v1.8.6 — 31-change Python diff, mcp 1.30.0 → 2.3.0, which also pushed me to add dynamic pip check edge learning so even plain pip freeze lockfiles converge).
Great point on --repeat 3. For these first two I ran --repeat 1 to get a clean deterministic baseline (both oracles are deterministic, though Bevy #12044 is a timeout-based deadlock), and you're completely right that real upstream CI suites are rarely that clean. Adding a --repeat 3 column to the E1 corpus — especially to quantify the actual wall-time overhead vs. trial count on real repos — is a great idea, and I'll include that as I expand the corpus.
Creator of GithubStarsManager — an open-source, local-first tool that organizes GitHub stars with AI: auto-categorization, semantic search, release tracking, and an MCP server for star library.
Congrats on landing those two — Bevy #12044 in a 590-crate workspace, isolated in 8 trials / 18s warm, is a much stronger proof point than a toy repro, and the Synapse one is a nice catch too, especially the plain pip freeze lockfile converging after the dynamic pip check. The --repeat 3 wall-time column is the number I'd actually want to see next: if the overhead stays modest on real repos, repeating becomes an easy default; if it balloons on timeout-based cases like Bevy, that's the honest trade-off to surface. Looking forward to seeing the corpus grow.
The three-valued outcome is the right call, but ddmin leans on monotonicity — a failing set stays failing under supersets — and dependency bumps break that constantly. Dropping one of two coupled bumps fixes the build, dropping a different one doesn't, so the granularity the search starts at decides whether the minimal cause is even reachable. Do you re-run ddmin at 1-minimal granularity after the adaptive pass lands on a candidate, or stop at the first verified set?
One thing that cut our trial time a lot: most Unresolved mixes don't need an install to detect. npm install --package-lock-only --dry-run (or cargo metadata --offline against the rendered lockfile) tells you the graph doesn't resolve in a few hundred ms, so the expensive test command only runs on mixes that actually install. And I'd keep the build cache per-configuration rather than shared — a stale target/ left by an earlier trial's passing build can make a broken mix look like Pass when incremental artifacts get reused.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
Great points — all three hit real failure modes I ran into while building this:
Adaptive + 1-minimality:adaptive only stops on binary halving when it reduces all the way to a single unit (delta.len() <= 1). Whenever halving stalls on a set of size > 1 (interaction, closure coupling, or unresolved boundary), it hands off to ddmin (minimize) on the warm cache and runs down to granularity == delta.len() for 1-minimality. For genuinely non-monotone failures where halving can still jump over a unit, there's also --strategy one-by-one which probes single units and single-unit reverts linearly.
Fast pre-install Unresolved detection: For Cargo, whichdep already verifies that the lockfile resolves without rewriting before running the test command (so unresolvable mixes never run cargo test). Adding a fast npm install --package-lock-only --dry-run pre-check before npm ci is a great idea though — skipping node_modules unpacking on invalid mixes would save a ton of time on large JS repos. Definitely adding that to the list!
Shared vs. per-configuration CARGO_TARGET_DIR: Completely agree that stale incremental artifacts can be a footgun (especially with build.rs / proc-macros). Right now whichdep shares an external CARGO_TARGET_DIR per experiment by default for speed, and exposes --isolate-target to isolate the target directory per rendered lockfile hash when you want strict hermeticity.
The root-versus-companion distinction is the part that makes this more than a faster bisect — blaming four packages when rand was the single root change and the rest were required companions is exactly the kind of confident-but-wrong answer that wastes an afternoon. Same with treating an unresolvable lockfile mix as Unresolved instead of a failure. The flakiness table is convincing too: at a 20% flake rate, --repeat 3 taking false causes from 8.7% to 0.0% is a real reason to pay for the extra trials. I have hit the 15-packages-at-once Dependabot version of this, pinning one by one, so a tool that only proposes structurally closed configurations is a welcome one.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
Thank you so much — really glad those design choices resonated!
Catching the rand root-vs-companion issue right before v0.1.0 was honestly the biggest UX win for me too. Without it, the tool was technically right about the minimal closed set, yet still handing the user a broken cargo update getrandom@... command.
If you ever hit another 15-package Dependabot PR (or happen to have a public one from the past), I'd love to hear how whichdep handles it — or add it to the real-world regression corpus!
The "Verified: the bad lockfile without this cause passes" step produces something I'd want to keep, not just check: that lockfile is the rest of the Dependabot PR minus the culprit. If whichdep could write it out (or push it as a commit from the Action's second job), you could merge the 14 safe bumps today and hold back only rand, instead of leaving the whole group red. Pair that with a ready-to-paste ignore rule, a Dependabot ignore entry or a Renovate packageRules block keeping rand below 0.9, and the report turns straight into the fix for the grouped PR.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
The root versus companion distinction is the whole tool. Blaming four packages when one moved and three followed is the kind of wrong answer that wastes an afternoon.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
100% - catching that on the rand 0.9 test right before v0.1.0 completely changed how useful the output actually is. Knowing which one to revert instead of getting four conflicting cargo update commands is the whole point!
Crypto scam investigations and install-time security. Merged contributions to OWASP Cheat Sheets, SEAL Frameworks and lockfile-lint. Free: scam detector, npm-install-audit. They steal. We expose.
One thing worth spelling out for the npm adapter: every trial runs npm ci, and npm ci runs the install scripts of every package in that mix. On a Dependabot or Renovate PR, that means the bisect executes the lifecycle scripts of each candidate version several times, and those versions are exactly the code nobody has reviewed yet. If one bump turns out to be a compromised release, its postinstall gets a dozen runs.
Two cheap guards: the resolve check (the --package-lock-only idea above) never needs scripts, so it can run with --ignore-scripts. And the trial job should have no secrets or tokens in its env, same logic as the two-job split you already recommend for PR comments. pnpm 10+ already skips dependency build scripts unless they're allowed, so the pnpm adapter mostly gets this for free.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
Completely fair point. I already call this out in action.yml's security notice — warning that trials execute postinstall / build.rs / wheel builds, that no secrets or tokens should be in the bisect job's env, and recommending the two-job split (post-comment: "false" in a read-only bisect job).
For projects that don't need lifecycle scripts to run their tests, you can already override prepare with --prepare "npm ci --ignore-scripts --no-audit --no-fund --prefer-offline". And if I add a --package-lock-only resolve pre-check, passing --ignore-scripts there by default is a no-brainer. Good callout on pnpm 10+ too!
Nice, I missed that notice in action.yml. One small thing if --ignore-scripts becomes a default somewhere: a trial that fails only because a native module never got built will look exactly like a bad version. Might be worth recording in the result whether scripts were skipped, so a red trial in that mode gets read with that in mind.
I enjoy reading books, learning new things, and building useful software. Lately, I’ve been working on text-chipper, an open-source text chunker for RAG and LLM projects.
Already handled! whichdep parses each requirement as a full block — the requirement line, all -continued --hash=... lines, and its # via comments — as a single unit. Swapping a version swaps the entire block from the good/bad file, so hashes always travel with their version (and pip install / uv pip sync automatically enforces them when --hash lines are present).
We're a place where coders share, stay up-to-date and grow their careers.
The detail I keep coming back to is the "No result" case — printing the tail of the trial log and actually hinting to try RUSTFLAGS="-D warnings" when Cargo emits warnings on a passing run. Most tools would just say "couldn't reproduce" and leave you to figure out that your test command was missing the precondition. That's the kind of UX that only comes from having been bitten by it yourself.
Also appreciate the honesty in the validation section: calling the three runs live-registry synthetic validations instead of dressing them up as real upstream breakages, and then making the real-world corpus the explicit next milestone. For the E1 comparison of ddmin vs adaptive trial counts, will you run it with --repeat 3 on? Flaky upstream suites would otherwise poison the comparison, and the repeat cost is exactly the kind of thing the corpus would quantify.
Thank you — that -D warnings hint really did come straight from getting bitten by it during the rand 0.9 validation!
Good timing too: I just landed the first two real upstream E1 reproductions in v0.1.1 (Bevy #12044 — 590-crate workspace, async-executor 1.8.0 → 1.9.0 deadlock, isolated & verified in 8 trials / 18s warm; and Synapse AI v1.8.6 — 31-change Python diff, mcp 1.30.0 → 2.3.0, which also pushed me to add dynamic pip check edge learning so even plain pip freeze lockfiles converge).
Great point on --repeat 3. For these first two I ran --repeat 1 to get a clean deterministic baseline (both oracles are deterministic, though Bevy #12044 is a timeout-based deadlock), and you're completely right that real upstream CI suites are rarely that clean. Adding a --repeat 3 column to the E1 corpus — especially to quantify the actual wall-time overhead vs. trial count on real repos — is a great idea, and I'll include that as I expand the corpus.
Congrats on landing those two — Bevy #12044 in a 590-crate workspace, isolated in 8 trials / 18s warm, is a much stronger proof point than a toy repro, and the Synapse one is a nice catch too, especially the plain pip freeze lockfile converging after the dynamic pip check. The --repeat 3 wall-time column is the number I'd actually want to see next: if the overhead stays modest on real repos, repeating becomes an easy default; if it balloons on timeout-based cases like Bevy, that's the honest trade-off to surface. Looking forward to seeing the corpus grow.
The three-valued outcome is the right call, but ddmin leans on monotonicity — a failing set stays failing under supersets — and dependency bumps break that constantly. Dropping one of two coupled bumps fixes the build, dropping a different one doesn't, so the granularity the search starts at decides whether the minimal cause is even reachable. Do you re-run ddmin at 1-minimal granularity after the adaptive pass lands on a candidate, or stop at the first verified set?
One thing that cut our trial time a lot: most Unresolved mixes don't need an install to detect.
npm install --package-lock-only --dry-run(orcargo metadata --offlineagainst the rendered lockfile) tells you the graph doesn't resolve in a few hundred ms, so the expensive test command only runs on mixes that actually install. And I'd keep the build cache per-configuration rather than shared — a staletarget/left by an earlier trial's passing build can make a broken mix look like Pass when incremental artifacts get reused.Great points — all three hit real failure modes I ran into while building this:
Adaptive + 1-minimality:
adaptiveonly stops on binary halving when it reduces all the way to a single unit (delta.len() <= 1). Whenever halving stalls on a set of size > 1 (interaction, closure coupling, or unresolved boundary), it hands off toddmin(minimize) on the warm cache and runs down togranularity == delta.len()for 1-minimality. For genuinely non-monotone failures where halving can still jump over a unit, there's also--strategy one-by-onewhich probes single units and single-unit reverts linearly.Fast pre-install
Unresolveddetection: For Cargo,whichdepalready verifies that the lockfile resolves without rewriting before running the test command (so unresolvable mixes never runcargo test). Adding a fastnpm install --package-lock-only --dry-runpre-check beforenpm ciis a great idea though — skippingnode_modulesunpacking on invalid mixes would save a ton of time on large JS repos. Definitely adding that to the list!Shared vs. per-configuration
CARGO_TARGET_DIR: Completely agree that stale incremental artifacts can be a footgun (especially withbuild.rs/ proc-macros). Right nowwhichdepshares an externalCARGO_TARGET_DIRper experiment by default for speed, and exposes--isolate-targetto isolate the target directory per rendered lockfile hash when you want strict hermeticity.Really appreciate the detailed feedback!
The root-versus-companion distinction is the part that makes this more than a faster bisect — blaming four packages when rand was the single root change and the rest were required companions is exactly the kind of confident-but-wrong answer that wastes an afternoon. Same with treating an unresolvable lockfile mix as Unresolved instead of a failure. The flakiness table is convincing too: at a 20% flake rate, --repeat 3 taking false causes from 8.7% to 0.0% is a real reason to pay for the extra trials. I have hit the 15-packages-at-once Dependabot version of this, pinning one by one, so a tool that only proposes structurally closed configurations is a welcome one.
Thank you so much — really glad those design choices resonated!
Catching the
randroot-vs-companion issue right beforev0.1.0was honestly the biggest UX win for me too. Without it, the tool was technically right about the minimal closed set, yet still handing the user a brokencargo update getrandom@...command.If you ever hit another 15-package Dependabot PR (or happen to have a public one from the past), I'd love to hear how
whichdephandles it — or add it to the real-world regression corpus!The "Verified: the bad lockfile without this cause passes" step produces something I'd want to keep, not just check: that lockfile is the rest of the Dependabot PR minus the culprit. If whichdep could write it out (or push it as a commit from the Action's second job), you could merge the 14 safe bumps today and hold back only rand, instead of leaving the whole group red. Pair that with a ready-to-paste ignore rule, a Dependabot
ignoreentry or a RenovatepackageRulesblock keeping rand below 0.9, and the report turns straight into the fix for the grouped PR.Great catch and definitely adding this to the roadmap!
The root versus companion distinction is the whole tool. Blaming four packages when one moved and three followed is the kind of wrong answer that wastes an afternoon.
100% - catching that on the
rand 0.9test right beforev0.1.0completely changed how useful the output actually is. Knowing which one to revert instead of getting four conflictingcargo updatecommands is the whole point!Knowing which one to revert is the whole point. A list of cargo update commands never tells you that.
One thing worth spelling out for the npm adapter: every trial runs npm ci, and npm ci runs the install scripts of every package in that mix. On a Dependabot or Renovate PR, that means the bisect executes the lifecycle scripts of each candidate version several times, and those versions are exactly the code nobody has reviewed yet. If one bump turns out to be a compromised release, its postinstall gets a dozen runs.
Two cheap guards: the resolve check (the --package-lock-only idea above) never needs scripts, so it can run with --ignore-scripts. And the trial job should have no secrets or tokens in its env, same logic as the two-job split you already recommend for PR comments. pnpm 10+ already skips dependency build scripts unless they're allowed, so the pnpm adapter mostly gets this for free.
Completely fair point. I already call this out in action.yml's security notice — warning that trials execute postinstall / build.rs / wheel builds, that no secrets or tokens should be in the bisect job's env, and recommending the two-job split (post-comment: "false" in a read-only bisect job).
For projects that don't need lifecycle scripts to run their tests, you can already override prepare with --prepare "npm ci --ignore-scripts --no-audit --no-fund --prefer-offline". And if I add a --package-lock-only resolve pre-check, passing --ignore-scripts there by default is a no-brainer. Good callout on pnpm 10+ too!
Nice, I missed that notice in action.yml. One small thing if --ignore-scripts becomes a default somewhere: a trial that fails only because a native module never got built will look exactly like a bad version. Might be worth recording in the result whether scripts were skipped, so a red trial in that mode gets read with that in mind.
pip check as the gate is neat, but what about requirements files with --require-hashes? swapping one version means its hash lines have to change too
Already handled! whichdep parses each requirement as a full block — the requirement line, all -continued --hash=... lines, and its # via comments — as a single unit. Swapping a version swaps the entire block from the good/bad file, so hashes always travel with their version (and pip install / uv pip sync automatically enforces them when --hash lines are present).