Skip to content

Docs: Rust no-runnable-command reasons are undocumented and unchecked #225

Closed

Description

@FredApps

docs/using-diffci.md has a "No runnable command" table, and tests/fallback-reasons-docs.test.ts checks that every refusal the planner can give is listed there (#127). But noCommandReasons() in scripts/fallback-reasons.mjs only reads src/planner/test-command.ts. Rust refusals come from src/planner/rust-command.ts, so none of the seven are documented, and nothing would catch a new one:

  • Mixed Rust selective execution requires separate CI jobs
  • Rust tests require verified plain cargo test invocation evidence
  • Rust test wrappers, scripts and Cargo options require full validation
  • Rust tests require verified Cargo package and target metadata
  • Invalid Cargo package or test target
  • Rust tests require verified Cargo feature resolution
  • Selected Cargo crates would build … with different features than the full cargo test; full validation required

These are the reasons a Rust user sees most often today (no command: Rust tests require verified plain cargo test invocation evidence), and the docs give them nothing to act on.

Proposal: have noCommandReasons() read every src/planner/*-command.ts, and add a row for each Rust reason with an example cause and what to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions