Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Flaky (suspected): VideoTimelineEditor bed audio test sees 600px instead of 120px under CI load

Chiusa Adatta ai principianti
#11,211 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cypress, javascript, react
Ambito
frontend, testing

Direzione di ricerca

Inizia da src/pages/VideoTimelineEditor.test.jsx, nel test dell’audio bed intorno alla riga 539, e verifica come chiama reportBedLength e controlla la larghezza del blocco. Fai in modo che l’asserzione attenda il nuovo rendering che applica la durata misurata di 2 s, usando waitFor oppure scaricando l’aggiornamento all’interno di act. Il lavoro è concluso quando il test passa con il limite di worker di CI e vede 120px.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Observed: CI run 38183371220 (PR #11209, a server-only change), Client tests and build (3/3): src/pages/VideoTimelineEditor.test.jsx > source-aware playback > bed audio > plays a short file on the fade envelope the export builds once its length loads failed at line 539 with expected '600px' to be '120px'.

Expected: after reportBedLength(el, 2) the bed block refits to the 2 s file (120px).

Actual: the block still showed the authored span (600px), so the reported length had not been applied when the assertion ran.

Repro status: suspected flake, not a reproduced cause. The file passes locally three runs in a row. Neither the test nor VideoTimelineEditor.jsx has changed recently, and the PR doesn't touch client code.

Likely next step: wait for the width with await waitFor(...) (or flush the state update reportBedLength triggers inside act) instead of asserting synchronously after the event.

Acceptance: the test waits on the re-render that applies the measured length and passes under the CI worker cap.

Lingua principale
JavaScript
Stelle
38
Fork
32
Merge medio
40m
PR unite (30g)
988

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di atomantic/PortOS

Tutte le issue di atomantic/PortOS

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.