Renderer suites flake under CPU load: fixed delays before async state (git-components, file-find-dom, mailbox-inbox-components, others)
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
- 70/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- electron, typescript
- Área
- desktop-dev, testing
Línea de trabajo
Run node scripts/test-renderer.mjs to reproduce the flaky suites. Locate the test files for git-components, file-find-dom, and mailbox-inbox-components (likely under a renderer test dir) and replace fixed delay() calls with waits for rendered state or attached listeners. Confirm by running the suites alone and under load until they pass consistently.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found while fixing #802. On a heavily loaded Mac (load average about 40), a full node scripts/test-renderer.mjs run failed these suites on both attempts. None of them mount the Composer or the editor touched in #802:
git-components:environment and branch dropdowns: This Mac(0/2 when run alone). The suite waits a fixeddelay(120)after rendering EnvironmentFooter, before the branch/environment fetch lands.file-find-dom:the Find bar opens(1/2). It dispatches Cmd+F 60 ms after mount, so the window keydown listener's effect may not be attached yet.mailbox-inbox-components: expected 3, got 0 (1/2).git-history-components(0 painted of 150 known),governance-componentsandhtml-preview-componentsfailed in the full run but passed 2/2 when run alone.
These are the same kind of problem as #802: a fixed delay before asserting on state that arrives through an effect or a promise. Fix: wait for the real signal (the rendered state), and for key or click input, wait until the listener or handler is attached.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 0
- Merge medio
- 17 h 33 min
- PR fusionados (30 d)
- 163
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 musterhq/muster-code
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
musterhq/muster-code#866 ·
Los mantenedores suelen responder en 1 día
-
p2 type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
musterhq/muster-code#843 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
p1 type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
musterhq/muster-code#840 ·
Los mantenedores suelen responder en 1 día
-
p1 type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
musterhq/muster-code#829 ·
Los mantenedores suelen responder en 1 día
-
type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
musterhq/muster-code#806 ·
Los mantenedores suelen responder en 1 día
Todos los issues de musterhq/muster-code
Issues similares
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
amplitude/Amplitude-TypeScript#2179 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
ci good first issue severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
TMHSDigital/GH-Arcade#111 ·
-
AsnIntegerConverter.toASN coerces strings with +value, rounding integers outside safe-integer rangeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PeculiarVentures/asn1-schema#189 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100