Renderer suites flake under CPU load: fixed delays before async state (git-components, file-find-dom, mailbox-inbox-components, others)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 70/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- electron, typescript
- Ambito
- desktop-dev, testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 0
- Merge medio
- 17h 33m
- PR unite (30g)
- 163
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di musterhq/muster-code
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
musterhq/muster-code#866 ·
I maintainer di solito rispondono entro 1 giorno
-
p2 type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
musterhq/muster-code#843 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
p1 type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
musterhq/muster-code#840 ·
I maintainer di solito rispondono entro 1 giorno
-
p1 type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
musterhq/muster-code#829 ·
I maintainer di solito rispondono entro 1 giorno
-
type:feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
musterhq/muster-code#806 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di musterhq/muster-code
Issue simili
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
amplitude/Amplitude-TypeScript#2179 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
ci good first issue severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TMHSDigital/GH-Arcade#111 ·
-
AsnIntegerConverter.toASN coerces strings with +value, rounding integers outside safe-integer rangeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PeculiarVentures/asn1-schema#189 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100