Flaky server tests on CI: DiagnosticsService startup error, ShowUI isolation browser start
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
- 45/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bun, typescript
Línea de trabajo
Start with src/server/__tests__/diagnostics-service.test.ts and src/server/__tests__/show-ui-isolation.test.ts, then read startServer in src/server/index.ts and the browser startup hook. Reproduce both failures on Linux by running each test in a loop and trace the startup errors and Chrome stderr handling. Done when the cause of each intermittent failure is fixed and both tests pass at least 50 consecutive runs on Linux.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Two server tests fail on CI from time to time and pass on a rerun. Each one blocks unrelated PRs until someone reruns the job.
1. DiagnosticsService fatal startup error on stderr
DiagnosticsService > keeps fatal startup errors visible on stderr while recording diagnostics (src/server/__tests__/diagnostics-service.test.ts). It appears in 6 of the 7 failed runs of the CI workflow before 2026-10-29 (e.g. 40896064562, 39715621460, 39713535549, 39713507980, 39381580281, 39144653837). It passed 3 out of 3 times locally on macOS.
The test starts a server on a free port, then starts a second one on the same port and expects it to exit with Failed to start server. Is port <port> in use? on stderr. In the failing run, stderr had:
[Server] Uncaught exception:
Error
at startServer (src/server/index.ts:380:15)
startServer (src/server/index.ts) catches the error from Bun.serve and rethrows new Error(message, { cause }), where message is the original message or the fallback text. The printed error has an empty message, so either the stderr was cut off, or the error reached the handler some other way than expected. The cause is not established.
2. ShowUI page frame isolation: browser did not start
page frame isolation in a real browser (src/server/__tests__/show-ui-isolation.test.ts, added in #207) failed in run 40905539947 (PR #211, which only changes the version and the CHANGELOG). The test launches headless Chrome with --remote-debugging-port=0 and waits up to 20 s for DevTools listening on on stderr. Chrome printed nothing in that time, so the hook failed with browser did not start and no isolation check ran. It passed in both CI runs of #207. The cause is not established: a slow cold start, a startup prompt, or output going somewhere else are all possible.
What to do
- Reproduce each on Linux (the CI runner), for example by running the test in a loop.
- Find the cause and fix it in the server or the test, without retries or a longer timeout that only hides it.
- Done when each test passes in a loop of at least 50 runs on Linux.
- Lenguaje dominante
- TypeScript
- Estrellas
- 490
- Forks
- 47
- Merge medio
- 10 h 40 min
- PR fusionados (30 d)
- 83
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 GoDiao/dreamcoder
-
[good first issue] UX polish — friendlier copy for error toasts and empty statesPosiblemente ocupada @iamcipherdev la tomó hace 15 días. Abiertoarea:i18n area:ux difficulty:1 good first issue mentor-available
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
GoDiao/dreamcoder#9 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Add more provider presets (Groq / OpenRouter / SiliconFlow / etc.)Quizá libre de nuevo @01iamysf la tomó hace 22 días y no hay ningún pull request abierto. Abiertoarea:desktop area:provider difficulty:1 good first issue mentor-available
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
GoDiao/dreamcoder#6 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
-
area:desktop area:ux difficulty:2 enhancement help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 65/100
GoDiao/dreamcoder#218 ·
Los mantenedores suelen responder en 1 día
-
Deleted session can linger in the sidebar and later deletes fail silentlyPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:desktop bug difficulty:2 help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 65/100
GoDiao/dreamcoder#217 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
GoDiao/dreamcoder#216 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GoDiao/dreamcoder
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Northeastern-Electric-Racing/FinishLine#4660 ·
Los mantenedores suelen responder en 2 días
-
BeOS .json missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mihaip/infinite-mac#475 ·
-
Let TypeScript accept an initial object in ReactiveDictPosiblemente ocupada @yograj-vijay-yadav la tomó hoy. Abiertobug good first issue help wanted workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
meteor/meteor#14919 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
marmelab/atomic-crm#401 ·
Los mantenedores suelen responder en 1 día
-
account: profile
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 5 días