Enforce pinned mise tool versions across repositories
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
Start with pinned() in portfolio/inventory.py, which defines what counts as an exact version, and with python-mise-fast-pr-gate.yml, the shared gate workflow. Check how Renovate's mise manager handles latest entries, and look at presets/mise.json and branch cursor/mise-terraform-preset-fixes-47f1 before choosing an option. Done means an approach is chosen and implemented, the eight listed repositories are pinned or have recorded exceptions, and the inventory's unpinned row reads 0.
索引モデルが issue の本文から書いたものです。
説明
Context
A tool declared as latest, or as a partial version such as 3.13, changes whenever upstream releases. That makes an upgrade automatic instead of chosen, and no PR records it. The repository inventory (#101) now records these versions as observed, marks them "unpinned" and counts them. It doesn't stop them. Enforcement has to happen in the repositories themselves. CodeRabbit raised the same concern; this comment explains why the inventory doesn't reject these values.
Current state
From the inventory at e825f20 (root mise.toml / .mise.toml only, private repositories):
| Repository | Unpinned tools | Central Renovate preset | Shared fast gate |
|---|---|---|---|
| nanny-rs-via-pi-until-done | 7 | yes | no |
| skill-creator | 7 | yes | no |
| the-range | 7 | yes | no |
| llm-observability-stack | 5 | yes | no |
| pi-dev-config | 4 | yes | no |
| agent-vault-design | 2 | no Renovate config | no |
| openprose-workflows | 2 (uv latest, python 3.13) |
yes | no |
| agent-skills-factory | 1 | yes | no |
In total that's 35 entries: 34 latest and one partial. Public repositories' tool versions are not yet inventoried, so this count is a floor, not the whole portfolio.
None of the eight calls the shared fast gate, and seven of them extend the central Renovate preset. Any enforcement added to the gate reaches none of them until they adopt it.
Options
- Shared fast gate check. Add a step to
python-mise-fast-pr-gate.ymlthat fails when amise.tomltool isn't pinned to an exact version. This only reaches repositories that adopt the gate (see #100). - renovate-config preset. Have Renovate move mise tools to exact versions, then update them through reviewable PRs. This reaches the seven central-preset extenders. Check first how Renovate's mise manager treats
latestentries; it may skip them rather than pin them, in which case a one-time manual pinning pass would be needed. Related:presets/mise.jsoncurrently automerges mise tool updates, and branchcursor/mise-terraform-preset-fixes-47f1reworks mise approval groups. - Both: Renovate keeps the pins current, and the gate catches regressions.
Definition of pinned
Exact x.y.z, optionally with a pre-release or build suffix. latest, stable, lts, partial versions (3.13, 22) and wildcards (3.*) all count as unpinned. This matches pinned() in portfolio/inventory.py, so the inventory's coverage row can track progress.
Done when
- An enforcement approach is chosen and implemented.
- The eight repositories above are pinned, or each has a recorded exception.
- The inventory's "Private unpinned tool versions" row reads 0 repositories, apart from recorded exceptions.
Out of scope: migrating repositories onto the fast gate. That stays with #100.
References
- #100: workflow survey and inventory decision
- #101: repository inventory, including the unpinned flag
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 9時間 9分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
basher83/.github のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
-
enhancement github-actions
難易度 4/5 1〜2日 初心者へのやさしさ 22/100
-
Dependency Dashboardオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
basher83/.github の issue をすべて見る
似ている issue
-
request_access
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
blocker bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
achisolomon/software-factory#305 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
erkamyaman/rust-anything#963 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
commonmark/commonmark-spec#850 ·
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100