Commit 2ca1c62
authored
ci(react-native): addressing detox build flakes (#1250)
This PR will attempt to stablize the react native detox e2e tests in the
CI pipelie.
There are 2 changes:
1. We added 2 retry as 1 CI rerun will typically resolve the issue
2. We added the event and streaming urls to the detox url blacklist
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/launchdarkly/js-core/pull/1250"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk since changes are limited to CI test invocation and Detox
synchronization settings, with no production runtime impact. Main risk
is masking legitimate failures or over-broad URL blacklisting causing
tests to miss regressions.
>
> **Overview**
> Stabilizes the React Native example Detox Android CI by adding
`--retries 2` to the Detox test run so transient emulator/test flakes
are automatically retried.
>
> Updates the e2e app launch args to broaden `detoxURLBlacklistRegex` to
include LaunchDarkly streaming, SDK, and events endpoints, preventing
ongoing network activity from blocking Detox test synchronization.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
bd46d35. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 109efb4 commit 2ca1c62
File tree
2 files changed
+5
-4
lines changed- .github/workflows
- packages/sdk/react-native/example/e2e
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments