Skip to content

Name the fallback reason for tool-version files #321

Closed

Description

@adityankale190895

.tool-versions (asdf), mise.toml, .mise.toml and .bun-version pick the Node, Python or Bun version that runs the tests. A change to only one of them runs the full suite, which is right, but the reason is Unknown changed file: .tool-versions.

Done when:

  • The reason starts with Tool configuration changed: tool versions for .tool-versions, mise.toml and .mise.toml, and with Tool configuration changed: Bun version for .bun-version.
  • tests/repo/tool-config-reasons.test.ts has a case for each file. The existing test body already checks that the plan stays FULL, every test is selected, and the reason no longer says "Unknown".
  • 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 18, 2026
  2. tyza66 commented on Nov 18, 2026

    @tyza66
    Contributor

    I'd like to take this one, claiming before I start.

    Plan: add .tool-versions, mise.toml, .mise.toml and .bun-version the same way #155 added the TypeScript variants — a root-anchored pattern in CONFIG_PATTERNS in src/git/git-diff.ts so the file reaches the config signal instead of falling through as unknown, then a subject in toolConfigurationSubject() in src/repo/impact.ts (tool versions for the three asdf/mise files, Bun version for .bun-version), a case in tests/repo/tool-config-reasons.test.ts for each, the docs row, and the entries in release-files.json if npm run audit:boundary asks for them. I'll run npm test and sign off the commit.

    One question I'll answer in the PR rather than guess at: whether .tool-versions with no extension also needs a listing in whatever file-name allow-list computeAnalysis uses for root files, since my earlier PRs only added extensions. I'll check against main first and say what I found.

  3. adityankale190895 commented on Nov 18, 2026

    @adityankale190895
    MemberAuthor

    Thanks, it's yours, and the plan matches #155 exactly. A heads-up for next time: we've just started keeping good first issue for people making their first PR to DiffCI (see CONTRIBUTING). After this one, I'd love your help on a help wanted issue. Just ask and I'll suggest one that suits you.

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

Metadata

Metadata

Assignees

Labels

enhancementgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions