probe lint has no way to fail CI on warnings (--fail-on-warning covers agent warnings only)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by locating the probe lint command, its warning reporting and exit-status logic, then read the CLI reference and CI guides named in the acceptance criteria. Check how probe validate and the MCP lint tool expose lint warnings. Done means lint keeps exit 0 by default, --strict exits 1 on warnings with the same output, and the specified docs and changelog are updated.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
probe lint reports warnings (since 0.26.0 this includes the unanchored count and zero-state text check, for example a see "250 ml" that also passes on "1250 ml") but exits 0 when it finds only warnings. A project with dozens of such warnings cannot make CI fail on new ones.
probe test --fail-on-warning does not help: its documented scope is agent warnings at run time (a tap that did nothing, press enter with no focus, go back at the root), and it does not look at lint results. The behaviour matches the docs; the gap is that no flag turns lint warnings into a failing exit status.
Found while running a real project's suite against 0.26.0-next.1: 30 lint warnings, exit status 0, and --fail-on-warning unchanged.
Proposal
- Add
probe lint --strict(or--fail-on-warning, same name as the test flag but documented for lint): exit non-zero when any warning is reported. Default unchanged. - Say in the CLI reference for
probe test --fail-on-warningthat it covers agent warnings only, and point toprobe lint --strictfor lint. - Optionally let
probe testrun the same check before the run (--lint-strict), so one command is enough in CI. Out of scope for the first change.
Acceptance
probe lintwith warnings only: exit 0 (unchanged); with--strict: exit 1 and the same output.probe validateand the MCPlinttool report the same warnings; the tool gains astrictoption or says exit status is not applicable.- Docs: CLI reference (
lint,test --fail-on-warning), the CI guides' lint step, CHANGELOG.
- Lenguaje dominante
- Go
- Estrellas
- 6
- Forks
- 3
- Merge medio
- 6 h 28 min
- PR fusionados (30 d)
- 362
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 AlphaWaveSystems/flutter-probe
-
agent: is checked on a wrapper holding several checkables answers from the first one in tree orderAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
AlphaWaveSystems/flutter-probe#865 ·
Los mantenedores suelen responder en 1 día
-
area/cli bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
AlphaWaveSystems/flutter-probe#424 ·
Los mantenedores suelen responder en 1 día
-
area/docs documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
AlphaWaveSystems/flutter-probe#409 ·
Los mantenedores suelen responder en 1 día
-
Dial timeout error should say how long it waited and name the timeout settingPosiblemente ocupada @jay23606 la tomó hace 2 días. Abiertoarea/cli bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AlphaWaveSystems/flutter-probe#408 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
AlphaWaveSystems/flutter-probe#888 ·
Los mantenedores suelen responder en 1 día
Todos los issues de AlphaWaveSystems/flutter-probe
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
IBM-Cloud/terraform-provider-ibm#7115 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
fluxcd/notification-controller#1441 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
volcengine/volcengine-go-sdk#163 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
OneBusAway/maglev#2145 ·
Los mantenedores suelen responder en 2 días
-
priority/medium status/ready type/chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
discobox-ai/discobox#1357 ·
Los mantenedores suelen responder en 1 día