Flaky iOS Expo E2E: Detox hangs after app launch until the 12 min test timeout
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- ios, react-native, typescript
Direzione di ricerca
Start by inspecting the AppleApp Expo E2E test setup and Detox artifacts or simulator logs for the cited failed runs; the issue does not name specific files. Compare the hangs across Expo 57 and 58, then check whether a shorter per-test timeout or a single retry helps isolate the cause. Done means the intermittent launch hang is diagnosed and the E2E job no longer burns 12 minutes on a failure.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The AppleApp Expo E2E jobs fail every now and then on a Jest timeout. It's not the same test every time and it happens on both Expo 57 and Expo 58. Packaging and the Xcode builds pass, so it looks like a Detox / simulator problem rather than the app being broken.
What the logs show: Detox launches the app and starts the XCUITest runner, and then there's nothing for ~12 minutes until The app has not responded to the network requests below and the 720s test timeout. The next test relaunches the app and passes just fine.
Failed runs:
- main
d28810c, Expo 58: "shows the native greeting shell and opens the Expo home" timed out, the other two passed
https://github.com/callstack/react-native-brownfield/actions/runs/38857242075/job/116831993048 - #487
12b80db, Expo 57: "shows the native greeting shell and opens the Expo home" timed out, the other two passed
https://github.com/callstack/react-native-brownfield/actions/runs/38866405817/job/116861189806 - #487
9847a70, Expo 57: "shows a native toast when Expo RN sends postMessage" timed out, the other two passed
https://github.com/callstack/react-native-brownfield/actions/runs/38875620919/job/116890985670
Each hang also costs ~12 min of a macOS runner, which makes it worse.
Ideas:
- check what the app is doing during the hang (simulator logs / Detox artifacts for the failing test)
- lower the per-test timeout so a hang fails fast instead of burning 12 min
- retry the failed test once with
jest.retryTimesuntil we find the root cause
- Lingua principale
- TypeScript
- Stelle
- 552
- Fork
- 56
- Merge medio
- 3g 8h
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 callstack/react-native-brownfield
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
callstack/react-native-brownfield#502 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
callstack/react-native-brownfield#468 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
callstack/react-native-brownfield#420 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
callstack/react-native-brownfield#406 ·
I maintainer di solito rispondono entro 3 giorni
-
Common network layerForse di nuovo libera @dratwas l’ha presa 2548 giorni fa e non c’è nessuna pull request aperta. Aperta
callstack/react-native-brownfield#23 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di callstack/react-native-brownfield
Issue simili
-
Area/Cloud Needs Triage Type/Bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
wso2/product-integrator#2847 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
bluesky-social/social-app#12118 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
heygen-com/hyperframes#6021 ·
I maintainer di solito rispondono entro 1 giorno
-
Edit: Tele Posadas HDApertacheck:passed streams:edit
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno