Resolve and validate tool versions against the installed parent version
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python, typescript
調査の方向性
Start with install-tool.service.ts and the npm resolver metadata; then read python/schema.ts to see how PyPI runtime requirements are parsed. Compare how version resolution and installation handle parent versions for npm, PyPI, and RubyGems. Done means compatible releases are selected and explicitly requested incompatible versions produce the agreed behavior; the issue leaves exact-version handling and missing or unparseable ranges open.
索引モデルが issue の本文から書いたものです。
説明
Tools with a parent (npm tools and vp on node, pip tools on python, gems on ruby, gradle/maven/sbt on java, composer on php, elixir on erlang, …) only check that some parent version is installed (install-tool.service.ts, MissingParent). Neither version resolution nor installation looks at which parent versions the tool actually supports. So install-tool can install a version that doesn't run on the current parent, or resolve latest to a release requiring a newer runtime, and the failure only shows up later. This came up in #7338 for Vite+, which needs a supported Node range for vp sync-versions.
Proposal:
- Resolve against the parent: when resolving
latestor a partial version, skip releases whose declared runtime range excludes the current parent version, where the registry provides it:- npm:
engines.node, already present in the abbreviated metadata the npm resolver fetches - PyPI:
requires_python, already parsed inpython/schema.tsbut unused - RubyGems:
required_ruby_version
- npm:
- Validate on install: reject an explicitly requested version whose range excludes the installed parent, with a clear error, instead of installing it and failing at runtime.
- Tools without registry metadata (e.g.
gradle/mavenonjava,buildxondocker): optionally a static minimum parent version per tool service.
Open questions: whether an incompatible exact version should fail or only warn (Renovate pins exact versions), and how to treat a missing or unparseable range (probably: allow).
(Issue drafted by Claude Opus 5.5 in Claude Code on behalf of @viceice.)
- 主要言語
- TypeScript
- スター
- 58
- フォーク
- 65
- 平均マージ
- 11時間 31分
- マージ済み PR(30日)
- 443
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
containerbase/base のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
containerbase/base#7891 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
containerbase/base#7842 ·
メンテナーはふだん 1 日以内に返信
-
priority-3-normal tool/dotnet
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
containerbase/base#5996 ·
メンテナーはふだん 1 日以内に返信
-
git prebuild (OpenSSL) breaks HTTPS on FIPS-enabled hosts: "Insufficient randomness"対応中かも @ollie-sutton が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
containerbase/base#7922 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
containerbase/base#7908 ·
メンテナーはふだん 1 日以内に返信
containerbase/base の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
logto-io/logto#9837 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
lingdojo/kana-dojo#32964 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Documentation status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mastra-ai/mastra#28194 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority-low refactor-3
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 3 日以内に返信