Repository navigation
Commit 9807f48
Harden iOS CI retries for runner and gem flakes
Summary:
Two unrelated iOS CI jobs failed on `main` commit `cd2de187e8878119896159371225acbb9dfa5d9c`. The commit itself only changed Android autolinking code, so neither failure was attributable to its product change. This patch hardens the two affected CI paths without weakening their final failure semantics.
### Dynamic-framework Bundler setup
Failed job: https://github.com/react/react-native/actions/runs/36918732275/job/110559233737
The Debug dynamic-framework job failed while `ruby/setup-ruby` was performing its implicit one-shot Bundler installation. Its Release sibling passed in the same workflow, and both lanes passed on the immediately preceding `main` commit. That evidence points to a transient RubyGems/Bundler setup failure rather than a deterministic React Native regression.
Disable the implicit installation with `bundler: none`, read the exact pinned Bundler version from `Gemfile.lock`, and install it with three bounded attempts and 10-/20-second backoff. The script fails immediately if the lockfile version cannot be determined, and persistent installation failures remain red after the third attempt.
### E2E hosted-runner loss
Failed job: https://github.com/react/react-native/actions/runs/36918732275/job/110577294552
The Release E2E matrix cell lost communication with its GitHub-hosted runner before reaching the step that writes its explicit status output. The downstream report job checked only that output. Because runner loss left the output empty rather than setting it to `failure`, the report job incorrectly emitted success and skipped the existing fresh-runner retry chain.
Also inspect `needs.test.result`. Any non-successful matrix result now propagates failure and activates the existing retry jobs, while successful jobs and explicit test failures retain their previous behaviour. This changes failure reporting only; it does not alter E2E test execution.
Changelog: [Internal]
Differential Revision: D1229670261 parent cd2de18 commit 9807f48
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
44 | 65 | | |
45 | 66 | | |
46 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments