Skip to content

feat(cli): warn when the tool-versions data has no matching version - #8081

Open
viceice wants to merge 1 commit into
mainfrom
viceice/feat/tool-versions-resolver-errors
Open

viceice wants to merge 1 commit into
mainfrom
viceice/feat/tool-versions-resolver-errors

Conversation

@viceice

@viceice viceice commented Oct 29, 2026

Copy link
Copy Markdown
Member

Changes

For tools without their own resolver:

  • latest or a partial version without a match in the tool-versions data logs a warning (needs a newer containerbase, only prereleases match, or no release for the host) and is used as is, like before.
  • An exact version, also a prerelease, which the embedded data lists and which needs a newer containerbase logs a warning and is used as is; no online lookup for exact versions.
  • protoc and swift publish major.minor releases, so a major.minor version without a match is used as is without a warning.
  • No behaviour change, the next major fails instead of warning (Only download tool files from the tool-versions data #7962).
  • Docs follow in the top layer of the stack.
  • Part of Add a generic tool-versions resolver for tools without a resolver #7896.

Context

Please select one of the following:

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Code, tests and docs by Claude Code (Claude Opus 5.5), reviewed by @viceice.

Use of AI in replying to PR comments

Who answers review comments:

  • @viceice will read and reply directly. Name the account.
  • An agent will draft replies and @username will read them before they are posted. Name the account.
  • An agent will draft replies and reply autonomously. This is heavily discouraged, and we prefer that there are humans in the loop
  • Nobody has explicitly committed to replying.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified tests

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a60a7757-24e2-4708-a2ab-2e862dad0ecc
Commits

Reviewing files that changed from the base of the PR and between 5e8f137 and 121e756.

Files selected for processing: 2
  • src/cli/install-tool/tool-version-resolver.service.spec.ts
  • src/cli/install-tool/tool-version-resolver.service.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@viceice
viceice added this pull request to stack #8087 October 29, 2026 11:58
@viceice
viceice marked this pull request as ready for review October 29, 2026 12:37
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
@viceice
viceice force-pushed the viceice/feat/tool-versions-resolver-errors branch from 7ead3e2 to 121e756 Compare October 29, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant