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
{{ message }}
Repository navigation
Rust adapter: selective runs on real repositories #131
Follow-up to #62. Once #92–#95 merge, the Rust (Cargo) adapter is registered and safe, but it cannot narrow a real repository yet: the pinned rust-lang/glob replay stayed FULL on every revision. This issue tracks the work needed for real-repository selectivity.
Scope
External dependency inputs. The blockers for non-workspace packages, dependency features or default-features = false, build scripts and proc macros currently run over every resolved package. Apply them only to the crates a change reaches, wherever the dependency graph can show that.
Runtime-input tokens.fs, unsafe, exists, metadata, process and similar words in a source file force a repo-wide full run. Narrow this to the owning crate and its dependents.
Out-of-workspace Cargo.toml. As agreed in feat(rust): map Cargo packages and test targets #91: treat unmodeled manifests as ownership boundaries and require full validation only when the changed set or its dependents reach them. Keep the repo-wide fallback when metadata can't tell.
CI invocation evidence. Accept common toolchain setup and cache steps (for example dtolnay/rust-toolchain, Swatinem/rust-cache) when they don't change how cargo test runs.
Non-code paths. Classify README.md, docs/** and similar files the way the other adapters do, instead of forcing a full run.
Workspace scope. Handle default-members and a root [package], where plain cargo test covers only some members.
Done when a pinned public Rust replay narrows at least one historical revision, and the selected tests catch the same failures as the full baseline.
Items 2 (runtime-input tokens) and 6 (default-members) were already covered by #92 and #93. Hosted CI is green on all six. #258 stays a draft until the PRs it's stacked on land.
Hi @FredApps, thanks again for the Rust adapter work. It's the biggest outside contribution Core has had.
I noticed you're opening a lot of PRs across storytold (photocraft, pdfcraft, craft-libs and others), and those repos run very heavy CI. Would you be up for being DiffCI's first design partner on Rust? Concretely:
Run npx @diffci.com/diffci@latest verify --changed (or the MCP server) in your agent loop on storytold checkouts before pushing, for a couple of weeks.
Tell us where selection is wrong or falls back to FULL. Those findings feed straight into this issue.
If it holds up, and only if you think it's welcome, an intro to whoever owns storytold, so they can try the observe-only App.
In return: priority on Rust fixes, credit in releases and docs, and a say in what the adapter does next. No obligation, and "not now" is a perfectly fine answer.
Hi @FredApps, thanks again for the Rust adapter work. It's the biggest outside contribution Core has had.
I noticed you're opening a lot of PRs across storytold (photocraft, pdfcraft, craft-libs and others), and those repos run very heavy CI. Would you be up for being DiffCI's first design partner on Rust? Concretely:
Run npx @diffci.com/diffci@latest verify --changed (or the MCP server) in your agent loop on storytold checkouts before pushing, for a couple of weeks.
Tell us where selection is wrong or falls back to FULL. Those findings feed straight into this issue.
If it holds up, and only if you think it's welcome, an intro to whoever owns storytold, so they can try the observe-only App.
In return: priority on Rust fixes, credit in releases and docs, and a say in what the adapter does next. No obligation, and "not now" is a perfectly fine answer.
Thanks @FredApps, glad you're interested! No rush on Storytold. When you get to it, the most useful thing is the plan from verify --changed on a few real changes, especially any that fall back to FULL or pick the wrong crates. Post them here or in a new issue, and Rust fixes from them go to the front of the queue.
Activity
docs: point the README's Rust link at the narrowing follow-up
FredApps commentedon Nov 17, 2026
Status update: I've split the remaining #131 work into separate PRs.
required-featurestargets no longer block the whole repository. Their packages run whole (-p pkg)..pyand C/C++ files in a Cargo-only repo are scoped to the crate that owns them, unless some Rust code runs other programs (non-code paths).&&chains,-Dwarningsflags,CARGO_TERM_VERBOSE, andcargo test --workspacewhen every member is a default member.Cargo.toml).docs/research/2026-11-17-rust-anstyle-replay.mdthere. Hosted replay passed on head41c5343: run 44208499759.Items 2 (runtime-input tokens) and 6 (
default-members) were already covered by #92 and #93. Hosted CI is green on all six. #258 stays a draft until the PRs it's stacked on land.adityankale190895 commentedon Nov 18, 2026
Hi @FredApps, thanks again for the Rust adapter work. It's the biggest outside contribution Core has had.
I noticed you're opening a lot of PRs across storytold (photocraft, pdfcraft, craft-libs and others), and those repos run very heavy CI. Would you be up for being DiffCI's first design partner on Rust? Concretely:
npx @diffci.com/diffci@latest verify --changed(or the MCP server) in your agent loop on storytold checkouts before pushing, for a couple of weeks.In return: priority on Rust fixes, credit in releases and docs, and a say in what the adapter does next. No obligation, and "not now" is a perfectly fine answer.
— Aditya
feat(rust): keep required-feature targets' packages whole instead of …
feat(rust): confine helper scripts and native sources to the crate th…
feat(rust): add covering crates instead of refusing when features wou…
test(rust): replay pinned servo/rust-url history and run the selected…
feat(rust): model local path packages inside the repository instead o…
FredApps commentedon Nov 18, 2026
Thank you very much for the invite. I am very interested to see what DiffCI can do for Storytold but haven't gotten around to seriously testing it yet. Did you join the ArtCraft discord? https://discord.gg/artcraft you can find me in there as FredApps.
adityankale190895 commentedon Nov 19, 2026
Thanks @FredApps, glad you're interested! No rush on Storytold. When you get to it, the most useful thing is the plan from
verify --changedon a few real changes, especially any that fall back to FULL or pick the wrong crates. Post them here or in a new issue, and Rust fixes from them go to the front of the queue.