Skip to content

Name the fallback reason for other languages' version files #335

Open

Description

@adityankale190895

These files pin the version of a language or tool the suite runs on. A change to only one of them runs the full suite, but the reason doesn't say why:

  • .ruby-version, .java-version, .go-version, rust-toolchain and rust-toolchain.toml report Unknown changed file: …
  • .python-version reports the generic Configuration file(s) changed; full validation required

.tool-versions and mise.toml already report Tool configuration changed: tool versions (#321). These six should report the same.

Be careful: .python-version is also read by the lockfile narrowing in src/git/git-diff.ts and by PY_CONFIG in src/planner/python-checks.ts. Don't change that code. Only the reason changes.

Done when:

  • All six report Tool configuration changed: tool versions.
  • tests/repo/tool-config-reasons.test.ts has a case for each.
  • The Tool configuration changed row in docs/using-diffci.md lists the new files.

New to DiffCI? See CONTRIBUTING.md. #142 and its PRs (#144, #155, #156) are a worked example of this exact change. Add a case to tests/repo/tool-config-reasons.test.ts, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.

Activity

  1. added
    enhancement
    good first issue
    on Nov 23, 2026
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

    adapterenhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions