`e2e_tests_runner` and `qbittorrent_e2e_runner`: JSON diagnostics
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
- 52/100
Línea de trabajo
Read the two ADRs named in the issue and the full specification expected under docs/issues/open/. Start with src/console/ci/e2e/runner.rs and the runners in packages/e2e-tools/src/bin/ and src/console/ci/{e2e,qbittorrent_e2e}/; the issue also names src/console/ci/e2e/logs_parser.rs as a dependency. Update the relevant output tests and docs; done means both runners leave stdout empty, emit only JSON lines on stderr, and use exit codes 1 for failures and 2 for usage errors.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of EPIC #2758. Order 10 of 11, wave 2.
Goal
The two e2e runners are compliant no-stdout-result programs: empty stdout, NDJSON diagnostics on stderr, exit 0/1/2.
Background
Depends on the daemon logging change (EPIC issue 7), which edits src/console/ci/e2e/logs_parser.rs. src/console/ci/e2e/runner.rs initializes tracing_subscriber::fmt() (stdout, plain text) and both runners return anyhow::Result from main, so a failure prints Error: <debug text> and exits 1. The runners are in packages/e2e-tools/src/bin/ and src/console/ci/{e2e,qbittorrent_e2e}/.
The contract in short: see the ADRs docs/adrs/20260519000000_define_global_cli_output_contract.md and docs/adrs/20261106102632_scope_the_cli_output_contract_and_keep_exit_codes_to_zero_one_two.md.
In scope
tracingto stderr as JSON; nothing on stdout.- Failures as one JSON record with a
kind; usage errors exit2. - Update tests and docs that show the runner output.
Out of scope
- Changing what the runners test.
profiling(developer-only).
Acceptance criteria
- Both runners write nothing to stdout.
- Every stderr line is JSON.
- A failure exits
1with akind; a usage error exits2.
The full specification (implementation plan, verification plan, files this issue may touch) is added by the spec PR under docs/issues/open/.
- Lenguaje dominante
- Rust
- Estrellas
- 532
- Forks
- 56
- Merge medio
- 11 h 20 min
- PR fusionados (30 d)
- 282
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 torrust/torrust-tracker
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
torrust/torrust-tracker#3080 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
torrust/torrust-tracker#3069 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
torrust/torrust-tracker#3058 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
torrust/torrust-tracker#2978 ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
torrust/torrust-tracker#2332 ·
Los mantenedores suelen responder en 1 día
Todos los issues de torrust/torrust-tracker
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Start here: how to contributeAbiertodifficulty: easy docs help wanted tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
userFRM/egui-charts#4386 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
eliasstravik/herdr-projects#1605 · 1 comentario ·