An extra setup Escape can close Home in the tagged TUI test
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- cli, testing-qa
Línea de trabajo
Start in internal/e2e/tmux_test.go at skipSetup around line 247, then read the setupIsUp predicate around line 273 and the tagged TestHomeRestoredNavigationNoModel/180 subtest. Run the stated e2e test and trace the helper's scripted transitions. Done means the delayed transition repeatedly leaves the test on Home, the unit test proves no Escape is sent after Home appears, and the timing assumption is recorded in invalidates.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Seen on dev@debffabf6. Surfaced while verifying #1389; not introduced by it.
What happened
TestHomeRestoredNavigationNoModel/180 failed once under load when skipSetup sent another Escape after setup had already disappeared. That Escape landed on Home and closed it. The helper checks the screen after each press but waits 900 ms before checking; a transition within that interval can put the next key on a different page. This is one observed flake, not a measured failure rate.
Replication
Deterministic (no model). In the tagged e2e rig, script setup to disappear immediately after an Escape while the next captured frame still contains setup text briefly. Call skipSetup; its loop can issue another Escape, which Home interprets as close. Assert the final page is Home. The real subtest is go test -tags e2e -run 'TestHomeRestoredNavigationNoModel/180' ./internal/e2e/.
Where
internal/e2e/tmux_test.go:247 at dev@debffabf6, skipSetup, sends up to six Escapes separated by a fixed sleep; its screen predicate is setupIsUp at :273.
The fix
Wait for a confirmed transition to the target page after each setup action, and stop sending Escape once that transition is observed.
Acceptance
- e2e: the 180-column tagged subtest repeatedly ends on Home under a delayed setup transition.
- Unit: a scripted transition test proves the helper sends no Escape after Home appears.
- Record the former timing assumption in the test change entry's
invalidates.
- Lenguaje dominante
- Go
- Estrellas
- 115
- Forks
- 14
- Merge medio
- 9 h 38 min
- PR fusionados (30 d)
- 749
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. 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 Agent-Field/CodeAF
-
area:chat feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1510 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Agent-Field/CodeAF#1489 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug good first issue sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Agent-Field/CodeAF#1470 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug good first issue sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Agent-Field/CodeAF#1469 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1468 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Agent-Field/CodeAF
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Remove obsolete ipAllocationPolicy field from containernodepool-subnetworkref test dependencyAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
coder/coder#29955 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
microsoft/TypeScript#64453 ·
Los mantenedores suelen responder en 1 día
-
OpenAI-compatible endpoint: response ids have only 999 possible values (chatcmpl-rand.Intn(999))Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día