Always upload test.xml from the public test jobs
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
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bash, cpp, github-actions, typescript
- Área
- devops
Línea de trabajo
Start with the test jobs in .github/workflows/bzl-changes.yml and the existing "Upload test logs and crash reports" step, which shows how to copy symlinked files out of bazel-testlogs/. Add an actions/upload-artifact step with if: always() after each bazel test run in tools/ci/run_tests.sh and tools/ci/test_modules.sh, with a job- and matrix-specific name and 7-day retention. Done when a green and a red public run both produce downloadable test.xml artifacts. Workflow changes need a maintainer to run CI, so expect a wait.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The test jobs in .github/workflows/bzl-changes.yml (for example "Run: C++ Tests" and "Run: Module Tests") never upload Bazel's per-test test.xml results. At most, some of them upload logs when they fail. So there's no record of which tests ran, passed or failed on a green run, and no way to see which tests are flaky over time.
What to do
- After each step that runs
bazel test(throughtools/ci/run_tests.sh,tools/ci/test_modules.shand similar), add anactions/upload-artifactstep withif: always()that uploads thetest.xmlfiles frombazel-testlogs/. - Give each artifact a name that includes the job and matrix entry, so runs can be told apart.
bazel-testlogscontains symlinks. Copy the real files first, the way the existing "Upload test logs and crash reports" step does.- Keep the retention short (for example 7 days), and pin the action to a commit SHA like the other upload steps.
Done when: every public run, green or red, has downloadable test.xml results for each test job.
Changes to .github/workflows need a maintainer to run them, so expect a short wait on CI. See CONTRIBUTING.md before opening a pull request.
- Lenguaje dominante
- C++
- Estrellas
- 16.4k
- Forks
- 538
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 Snapchat/Valdi
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Add first tests for valdi_rxjsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Snapchat/Valdi#215 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de Snapchat/Valdi
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
ai_p1 comp-sql-syntax
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ClickHouse/ClickHouse#133888 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 66/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jbcoe/cc-protocol#507 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día