Installers: shellcheck fails on the BReg, Casework, and evidencectl installers
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 86/100
Línea de trabajo
Compara las instrucciones señaladas en crates/registry-breg/install.sh, crates/registry-casework/install.sh y crates/registry-evidencectl/install.sh con las formas corregidas en crates/registry-scheduling/install.sh. Ejecuta shellcheck en los cinco archivos crates/*/install.sh y en editors/install.sh; después ejecuta release/scripts/test_macos_installers.py, release/scripts/test_nightly_release.py y las pruebas install_script de los crates; se considera terminado cuando todas las comprobaciones pasan.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
shellcheck exits non-zero on three of the four product installers on main (checked 2026-10-03), with the same two warnings in each:
| File | SC2034 | SC2155 |
|---|---|---|
crates/registry-breg/install.sh |
line 329 | line 500 |
crates/registry-casework/install.sh |
line 327 | line 498 |
crates/registry-evidencectl/install.sh |
line 333 | line 515 |
- SC2034:
IFS=. read -r release_major release_minor release_patch <<<"${version#v}"readsrelease_patchand never uses it. - SC2155:
local archive="$tmpdir/$(asset_name "$binary")"declares and assigns in one statement, so a failingasset_nameis masked bylocal's own exit status andset -edoes not stop the script.
crates/registry-scheduling/install.sh and editors/install.sh pass. The Scheduling installer has the same two statements in the corrected form, from #1854:
IFS=. read -r release_major release_minor _ <<<"${version#v}"
local archive
archive="$tmpdir/$(asset_name "$binary")"
Both lines are hand-written; neither sits inside the blocks generated by release/scripts/render-installer-channel.py or release/scripts/render-installer-libc-preflight.py.
Why it is filed rather than fixed
It was found while changing the Scheduling installer in #1854, and the other three installers were outside that change.
No workflow under .github/workflows runs shellcheck, which is how the installers drifted apart. Whether to add a gate is a separate decision from the two-line fix, so it is listed as optional below.
Done when
shellcheckpasses on all fivecrates/*/install.shfiles andeditors/install.sh.- The installer test suites still pass (
release/scripts/test_macos_installers.py,release/scripts/test_nightly_release.py, and each crate'sinstall_scripttests). - Optional: a CI step runs
shellcheckon the installers so the next copy does not drift.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 11 h 3 min
- PR fusionados (30 d)
- 246
Preparar el entorno
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 registrystack/registry-stack
-
area:breg rust
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
registrystack/registry-stack#2034 ·
Los mantenedores suelen responder en 1 día
-
Change-request explanation describes review stages and apply-on-submit that BReg does not haveAbiertoagent-ready area:breg area:docs criticality:p3 documentation triage:needs-implementation
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
registrystack/registry-stack#1989 ·
Los mantenedores suelen responder en 1 día
-
agent-ready area:breg bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
registrystack/registry-stack#1941 ·
Los mantenedores suelen responder en 1 día
-
area:casework bug criticality:p3 rust
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
registrystack/registry-stack#1934 ·
Los mantenedores suelen responder en 1 día
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
registrystack/registry-stack#1909 ·
Los mantenedores suelen responder en 1 día
Todos los issues de registrystack/registry-stack
Issues similares
-
priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
storytold/photocraft#6286 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Four problem loader browser tests fail on WindowsPosiblemente ocupada @Patriciaath999 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
original-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
effort/S kind/docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Claude Code guards in .claude/settings.json never block: they read unset variables and exit 1Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
starkware-libs/sequencer#15229 ·
Los mantenedores suelen responder en 1 día