Uh oh!
There was an error while loading. Please reload this page.
Chore: Upgrade Detox to 16.7.2 - #30084
Conversation
kelset
commented
Oct 1, 2020
Looks like some CI jobs are failing, but not at the tests step. The task failing is "Report size of RNTester.app" (which is a task after the actual testing so per se the detox bump is fine), with the error:
Not sure how to fix it 😅 |
alloy
commented
Oct 1, 2020
It would be great to get some input on what versions work best from people that actually use Detox (and RN), which isn’t me; do you? |
kelset
commented
Oct 1, 2020
I've used Detox extensively in the first half of the year, and tbh the mindset is always to stay as close as possible to latest release because of the amount of fixes they put into each version. That said, I think it's slightly out of scope for the purpose of this PR which is literally to just get rid of the problem I detailed above. We could probably open a "good first issue" for folks to go over the detox testing and improve it, in the spirit of Hacktoberfest. |
alloy
left a comment
There was a problem hiding this comment.
Yeah that sounds good to me 👍
janicduplessis
commented
Oct 7, 2020
Just hit this issue trying to yarn install the repo. This shouldn't affect people actually using detox in their app since it is only the version used for our tests. |
janicduplessis
commented
Oct 7, 2020
cc @hramos |
tido64
commented
Oct 10, 2020
Can you try re-running the builds? The other PRs seems to be passing this step. Tom and I hit this issue today. Would be great to get this in. |
kelset
commented
Oct 12, 2020
@tido64 rerunning 🤞 |
analysis-bot
commented
Oct 12, 2020
Base commit: d8b0e9d |
analysis-bot
commented
Oct 12, 2020
Base commit: d8b0e9d |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
react-native-bot
commented
Oct 14, 2020
This pull request was successfully merged by @kelset in fb14fd4. When will my fix make it into a release? | Upcoming Releases |
Summary
With Xcode 12 being the latest, Detox 15.x has issues - in particular, it means that if you try to
yarn installthe dependencies for the repo, you'll be greeted by this error:With the 👍 of @hramos & @alloy I've prep'd up a small defensive PR that can be quickly merged before cutting 0.64, that bumps the version of Detox from 15.4.4 to the highest version available within the reach of "no breaking changes" in changelog.
The main reason why with 16.x this error doesn't happen is that from 16.0.0:
It would have been better to update directly to latest (at the time of writing 17.7.1) but there are at least two versions that had changelogs that seem to involve bigger changes:
Hopefully CI will will show that the bump doesn't break any test 🤞
Changelog
[Internal] [Changed] - Bumped Detox in the repo to 16.7.2 for Xcode 12 compatibility
Test Plan
Running yarn in the main repo with Node 14 & Xcode 12, without this change, will cause the error copy-pasted above. After upgrading to this version, the error disappear.