Flaky iOS Expo E2E: Detox hangs after app launch until the 12 min test timeout
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ios, react-native, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 552
- フォーク
- 53
- 平均マージ
- 3日 8時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/react-native-brownfield のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
callstack/react-native-brownfield#502 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
callstack/react-native-brownfield#499 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
callstack/react-native-brownfield#468 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
callstack/react-native-brownfield#420 ·
メンテナーはふだん 3 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
callstack/react-native-brownfield#406 ·
メンテナーはふだん 3 日以内に返信
callstack/react-native-brownfield の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
getsentry/sentry-conventions#732 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
status:in-linear status:team-assigned team:nodes
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
motiondivision/motion#3955 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
equinor/prisma-decision-web#919 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100