Enforce pinned mise tool versions across repositories
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 9 h 9 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de basher83/.github
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 5/100
-
enhancement github-actions
Dificultad 4/5 1-2 días Aptitud para principiantes 22/100
-
Dependency DashboardAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de basher83/.github
Issues similares
-
request_access
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
blocker bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
achisolomon/software-factory#305 ·
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
erkamyaman/rust-anything#963 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
commonmark/commonmark-spec#850 ·
-
Documentation websiteAbiertodocumentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100