Flaky iOS Expo E2E: Detox hangs after app launch until the 12 min test timeout
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- ios, react-native, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 552
- Fork
- 53
- Merge trung bình
- 2 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstack/react-native-brownfield
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
callstack/react-native-brownfield#502 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Android: generated ReactNativeHostManager loads React Native twice and crashes (Feature flags cannot be overridden more than once)Có thể đã có người làm @hurali97 đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstack/react-native-brownfield#492 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
callstack/react-native-brownfield#499 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`package:ios --add-spm-package`: allow project-declared extra XCFrameworks as binary targetsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
callstack/react-native-brownfield#468 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
callstack/react-native-brownfield#420 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của callstack/react-native-brownfield
Issue tương tự
-
RED ladder stopped @ 4db4ed91Đang mởarea:workflow bug ready-for-human
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
fil-donadoni/tolaria#6108 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/rocketmq-dashboard#7234 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vitest-dev/vitest#11656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
redhat-developer/rhdh-plugin-export-overlays#4460 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ehmpathy/rhachet-roles-bhrain#655 ·
Maintainer thường phản hồi trong vòng 1 ngày