caseworkctl check: honour --deny-warnings and --production instead of ignoring them
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
- 76/100
Línea de trabajo
Lee crates/registry-caseworkctl/src/project.rs en check y la definición de CheckArgs en crates/registry-caseworkctl/src/lib.rs; compara cómo gestiona caseworkctl test --deny-warnings. Reproduce el problema con los comandos de la incidencia y luego comprueba el informe y el código de salida de ambos flags. El trabajo estará terminado cuando los flags funcionen como se documenta o se elimine de la CLI y de la referencia el comportamiento no admitido; vuelve a generar la documentación de la CLI con cargo run --locked -p registry-cli-docs -- --write si cambian los flags.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What Happened
caseworkctl check accepts --deny-warnings and --production and ignores both. With an authored warning present, caseworkctl check PROJECT --deny-warnings prints the warning, reports ok: true, and exits 0. The JSON report is identical with and without either flag. caseworkctl test PROJECT --deny-warnings on the same project does refuse (exit 1), so the two commands disagree about the same flag.
Expected Behavior
--deny-warnings: a check with any warning reportsok: falseand exits with the domain-refusal code, astest --deny-warningsdoes.--production: either runs the production checks its help text promises ("Check the exact package closure required for production"), or the flag is removed from the clap definition and the CLI reference until it does something.
Reproduction
caseworkctl init demo --template standalone-decision
mkdir -p demo/holiday-sets/nested
caseworkctl check demo --deny-warnings --production; echo "exit $?" # warning, exit 0
caseworkctl test demo --deny-warnings; echo "exit $?" # warning, exit 1
Where
crates/registry-caseworkctl/src/project.rs:check (parameters _production, _deny_warnings); flags declared in crates/registry-caseworkctl/src/lib.rs CheckArgs. A change to the flags needs cargo run --locked -p registry-cli-docs -- --write.
Environment
Registry Stack 0.42.0, main as of 2026-10-18.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 9 h 24 min
- PR fusionados (30 d)
- 271
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:docs documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
registrystack/registry-stack#2253 ·
Los mantenedores suelen responder en 1 día
-
area:coordinator bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
registrystack/registry-stack#2252 ·
Los mantenedores suelen responder en 1 día
-
area:release bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
registrystack/registry-stack#2248 ·
Los mantenedores suelen responder en 1 día
-
BReg docs: the WASM upgrade step points at a compatibility member that explain no longer emitsAbiertoarea:breg documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
registrystack/registry-stack#2233 ·
Los mantenedores suelen responder en 1 día
-
area:breg bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
registrystack/registry-stack#2231 ·
Los mantenedores suelen responder en 1 día
Todos los issues de registrystack/registry-stack
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
longbridge/gpui-kit#3620 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
mongodb/kingfisher#564 ·
Los mantenedores suelen responder en 1 día
-
[Bug] 跳转列结果排序中 tagunique 未排在首位Abiertobug qq-feedback
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
corro-client drops the last byte of a response line that has no trailing newlinePosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
proxy: include denial_category in the "proxy request denied" log linePosiblemente ocupada @sreyas-endor la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
nolabs-ai/nono#2172 · 1 comentario ·
Los mantenedores suelen responder en 1 día