test(ui-server): the files_changed workspaces/ case outruns the 30 s test limit on a loaded unit worker
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
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- testing
Línea de trabajo
Lee packages/ui-server/tests/turn-scope.test.ts:85-104 y compara la configuración de timeout para fixtures pesadas en otras partes de packages/ui-server/tests/. Ajusta el presupuesto de la prueba o el número de archivos, manteniendo sus aserciones sobre clones de referencia, rutas externas y elementos hermanos de workspaces-old/. Ejecuta la prueba específica bajo carga y confirma que termina dentro de su presupuesto sin que se produzca después un fallo de aserción.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
packages/ui-server/tests/turn-scope.test.ts "files_changed leaves out a reference clone under workspaces/ but counts every path outside it (#3793)" timed out at the 30 s per-test limit, [30000.20ms]. This was hosted candidate run 44207608156, job unit (8), for PR #4240, which touches only ui-react markdown rendering.
After the timeout, the test body was still running. Its final assertion then failed as an unhandled error between tests: BRAIN_PATHS_PAST_THE_CAP_STILL_PAUSE, with the expected count: 1001 in the diff.
Cause
The test (packages/ui-server/tests/turn-scope.test.ts:85-104) writes 1500 files under workspaces/argo/src and 1000 more in the brain, one writeFileSync at a time. Then it runs journal observations over them. That takes a few seconds on an idle machine. On the shared hosted unit worker, it ran next to the test-invocation rebuild cases, and the memory log shows the cgroup near its peak, so it ran past 30 s. Nothing in the test is wrong except its budget: the 30 s limit is a hang catch-all, not a timing claim.
Acceptance criteria
- The test gives itself a budget that fits its file volume under load. Either pass an explicit timeout that scales with the work (as other heavy fixtures in
packages/ui-server/tests/do), or cut the file count to what the cap needs, for example by loweringmax_files_changed. - Its assertions are unchanged: a reference clone under
workspaces/does not count, and a path outside it does, including aworkspaces-old/sibling. - The timed-out test no longer surfaces its last assertion as an unhandled error in a later test.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 0
- Merge medio
- 6 h 5 min
- PR fusionados (30 d)
- 730
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 schlessera/brain-kit
-
agent-ready area: ui-server priority: p3 type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
schlessera/brain-kit#4247 ·
Los mantenedores suelen responder en 1 día
-
agent-ready area: ci area: docs priority: p2 type: docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
schlessera/brain-kit#4144 ·
Los mantenedores suelen responder en 1 día
-
ui-server: run-session's error-result test waits only 200 one-millisecond ticks for the first promptAbiertoagent-ready area: ui-server priority: p3 type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
schlessera/brain-kit#4066 ·
Los mantenedores suelen responder en 1 día
-
agent-ready area: ci area: ui-sdk priority: p2 type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
schlessera/brain-kit#4047 ·
Los mantenedores suelen responder en 1 día
-
agent-ready area: ci priority: p2 type: test
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
schlessera/brain-kit#4003 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de schlessera/brain-kit
Issues similares
-
clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster maturity:stable P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openclaw/openclaw#200937 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
accepted bug needs-info triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
zts212653/clowder-ai#2025 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
letehaha/moneymatter#906 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
blinkospace/blinko#1287 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Feyisara2108/stellargive#1379 ·
Los mantenedores suelen responder en 1 día