Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add a flaky-test playbook

Cerrado
#24 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #37 de @gregogun — fusionado

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
67/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
playwright, typescript

Línea de trabajo

Start by reading the existing Bug fix and Trace forensics playbooks in go-mode, the playbook index, and the project's README and go-help entries. Check current Playwright documentation for rerun and quarantine command syntax, then follow the authoring-a-skill validation and build steps. Done means the new playbook includes the four evidence-based buckets, rerun guidance, retry ban, quarantine rule, and all required index and README entries.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

ready-for-agent

Parent

#15

What to build

An agent facing a flaky test follows a fixed procedure instead of raising retries or skipping the test. It reruns the test ten times with the project's Playwright test runner and reads the failure count:

  • 0 of 10 means the test fails only in CI.
  • 1 to 3 means a real flake.
  • 4 or more means the test is broken.

Before it changes code, it puts the flake in one of four buckets, with evidence from the trace: a timing race, leaked state, an ambiguous locator, or a config or auth mismatch. It never raises retries to make a flake pass. To quarantine a test, it marks the test as an expected failure with a linked issue, so the run fails once the test starts passing again and someone removes the quarantine.

Acceptance criteria

  • The flaky-test playbook exists in go-mode, beside Bug fix and Trace forensics in the playbook index, with one routing line.
  • The playbook covers the rerun count, the four buckets, the ban on raising retries, and the quarantine rule.
  • The rerun and quarantine commands match current Playwright docs.
  • The playbook has a go-help row and a README line.
  • The playbook passes the authoring-a-skill validation and the build.
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
1 d 14 h
PR fusionados (30 d)
26

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de gregogun/gstack

Todos los issues de gregogun/gstack

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.