Enforce pinned mise tool versions across repositories
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 9h 9m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di basher83/.github
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
-
enhancement github-actions
Difficoltà 4/5 1-2 giorni Idoneità per principianti 22/100
-
Dependency DashboardAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di basher83/.github
Issue simili
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
jirikuncar/sqlty#1454 ·
I maintainer di solito rispondono entro 1 giorno
-
approved-direction help wanted kind/bug stage/010-actionable triage/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
projectbluefin/testsuite#1329 ·
I maintainer di solito rispondono entro 1 giorno
-
Tests: tests/mcp/server.test.ts fails on Windows when Microsoft Store python3 alias is presentApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno