Flaky iOS Expo E2E: Detox hangs after app launch until the 12 min test timeout
Maintainer antworten meist innerhalb von 3 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- ios, react-native, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 552
- Forks
- 56
- Ø Merge
- 3 T. 8 Std.
- Gemergte PRs (30 T.)
- 23
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus callstack/react-native-brownfield
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
callstack/react-native-brownfield#502 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
callstack/react-native-brownfield#499 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
callstack/react-native-brownfield#468 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
callstack/react-native-brownfield#420 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
callstack/react-native-brownfield#406 ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in callstack/react-native-brownfield
Ähnliche Issues
-
Edit: Tele Posadas HDOffencheck:passed streams:edit
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:mcp bug has repro platform:vscode regression
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
anthropics/claude-code#103970 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextOffenbug javascript
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag