Flaky Android Expo Detox E2E: native greeting never shows up / app drops Detox connection
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue nà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
- 45/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ệ
- android, github-actions, react-native, typescript
- Lĩnh vực
- ci-cd, mobile-dev, testing
Hướng nghiên cứu
Start by downloading the Detox Android artifacts from the linked failed CI runs and inspect logcat-full.txt for a crash or ANR around the reported failures. Compare logs from both failure modes and the Vanilla job to see whether they share a cause. Done means identifying and reproducing the root cause on the matching CI emulator; collecting tombstones is suggested as an additional diagnostic.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Detox E2E (AndroidApp - Expo XX) jobs keep failing on both Expo 57 and 58, on main and on PRs. Both tests in the suite fail together, so the job goes red each time it happens.
There are two ways it fails:
- The native greeting never shows up. In
beforeAll, the app process starts (Android app process is up), butHello native Android (Expo XX)never appears in UIAutomator. After ~90s it fails withTimed out waiting for UIAutomator to contain any of: Hello native Android (Expo 58), ....- #487
9847a70, Expo 58: https://github.com/callstack/react-native-brownfield/actions/runs/38875620919/job/116900216109 - #494
41c5e84, Expo 57: https://github.com/callstack/react-native-brownfield/actions/runs/38797744225/job/116674197865
- #487
- The app drops the Detox connection after opening the Expo RN screen. The greeting is fine, then
Opening the Expo RN screen...→Detox can't seem to connect to the test app(s)!, which looks like the app crashed.
Also this one, where it lost the connection right after the process came up, before the greeting check finished: #487 e0f5940, Expo 57: https://github.com/callstack/react-native-brownfield/actions/runs/38458013604/job/115565183435
So my guess is the app is crashing in all of them, just at different moments. The failed jobs already upload the full host-side logcat (logcat-full.txt, added in #473) together with the other Detox artifacts (#466), in the detox-androidapp-<flavor>-<flavor>-android artifact. I haven't gone through those logs yet to confirm a crash.
The Android road test & E2E (AndroidApp - Vanilla) job fails the same way as (1): it waits for Hello native Android and all 4 tests time out. That one has failed on main d28810c, #494 and #487, so it might be the same root cause:
https://github.com/callstack/react-native-brownfield/actions/runs/38857242075/job/116831993012
To do:
- go through
logcat-full.txtfrom the failed runs' artifacts and look for a crash / ANR - consider also pulling tombstones (
/data/tombstones) on failure (not collected yet) - try to repro locally on the same emulator image (API level / ABI as CI)
- 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
-
Flaky iOS Expo E2E: Detox hangs after app launch until the 12 min test timeoutCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
callstack/react-native-brownfield#498 ·
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ự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jessepollak/home#2223 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
grep fixture corpus test follows the corpus's loop symlink under the receipt runner (fails on main)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
code-yeongyu/senpi#3756 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
org:external package:deepagents priority:triage topic:memory topic:middleware type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
langchain-ai/deepagents#7059 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
osmlab/name-suggestion-index#12992 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
hemilabs/ui-monorepo#2506 ·
Maintainer thường phản hồi trong vòng 1 ngày