You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DiffCI selects the tests a change affects so AI coding agents (and people) can run them before pushing. It supports JS/TS, Vue, Go and Maven today. Rust is next, and this is open for contributors.
First supported setup: a Cargo workspace or single crate, run with cargo test, selecting at the crate level first.
Steps (each is one PR; take any that are unblocked):
Register the adapter in REPOSITORY_ADAPTERS (src/repo/adapters/index.ts) and add it to the release boundary
Replay it on one public Rust repository and publish the report
Ground rules
When the adapter is unsure, it records a blockers entry and DiffCI runs the full suite. An empty graph must never look like "nothing affected".
Read the adapter guide first; the Go adapter (src/repo/adapters/go.ts) is the closest model.
Discuss design questions here, so every step stays consistent.
Using Rust and want to help, or have a repository we could test against? Say so below. 👍 this issue if you'd use it; reactions on the language tracking issues decide what comes after.
@FredApps — your Go and Maven safety fixes (#32–#36) are some of the most careful work in this repo, and the Rust adapter needs exactly that "run everything unless we're certain" thinking. Would you be interested in taking #59 (selecting tests by crate dependency)? It's the core of the adapter: mapping a change to the crates that depend on it, falling back to a full run for build scripts, proc macros and anything we can't model. #58 (file → Cargo package mapping) is the smaller first step if you'd rather start there.
Equally happy if Python (#56, import graph) interests you more. Thanks again for everything so far!
I'll take this on, starting with #58 and then #59. I'll keep the milestones in separate PRs, followed by command synthesis, registration and a public Rust replay.
The planned boundary is crate-level selection from Cargo metadata, with dependency edges including dev-dependencies and optional dependencies. Build scripts, procedural macros, unresolved ownership and unsupported includes will retain full validation. The first mapping PR will stay unregistered and fail closed until dependency analysis and command coverage are ready.
Each step stayed fail-closed until the next one was ready, so every PR was easy to review on its own. Rust is now DiffCI's fifth supported ecosystem, and you built all of it.
The glob replay stayed FULL on every revision, which is the right result for a first boundary. Making real repositories narrow is tracked in #131, which you're maintaining. I'm leaving this tracking issue open until a Rust replay narrows at least one revision.
Activity
adityankale190895 commentedon Oct 30, 2026
@FredApps — your Go and Maven safety fixes (#32–#36) are some of the most careful work in this repo, and the Rust adapter needs exactly that "run everything unless we're certain" thinking. Would you be interested in taking #59 (selecting tests by crate dependency)? It's the core of the adapter: mapping a change to the crates that depend on it, falling back to a full run for build scripts, proc macros and anything we can't model. #58 (file → Cargo package mapping) is the smaller first step if you'd rather start there.
Equally happy if Python (#56, import graph) interests you more. Thanks again for everything so far!
FredApps commentedon Nov 10, 2026
I'll take this on, starting with #58 and then #59. I'll keep the milestones in separate PRs, followed by command synthesis, registration and a public Rust replay.
The planned boundary is crate-level selection from Cargo metadata, with dependency edges including dev-dependencies and optional dependencies. Build scripts, procedural macros, unresolved ownership and unsupported includes will retain full validation. The first mapping PR will stay unregistered and fail closed until dependency analysis and command coverage are ready.
fix(rust): resolve symlinked checkout paths in Cargo mapping
feat(rust): map Cargo packages and test targets (#91)
adityankale190895 commentedon Nov 16, 2026
@FredApps Thank you. You did everything you said you would, in the order you said you'd do it:
cargo testcommandsEach step stayed fail-closed until the next one was ready, so every PR was easy to review on its own. Rust is now DiffCI's fifth supported ecosystem, and you built all of it.
The glob replay stayed FULL on every revision, which is the right result for a first boundary. Making real repositories narrow is tracked in #131, which you're maintaining. I'm leaving this tracking issue open until a Rust replay narrows at least one revision.