Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't kill metro server when its already running #19458

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Mar 30, 2024

The killing of metro terminal upset a few people and this PR fixes that.

Summary

Modify build step to check if metro is running already.
If so then we do not attempt to start metro again.
If not then we start metro after building android / iOS.

Review notes

  • case 1
    • make run-clojure
    • make run-metro
    • make run-android or make run-ios should work the way it did before.
  • case 2
    • make run-clojure
    • make run-android or make run-ios should also work.

Platforms

  • Android
  • iOS

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Mar 30, 2024

Jenkins Builds

Click to see older builds (13)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 4bdf440 #1 2024-03-30 14:38:09 ~8 min android-e2e 🤖apk 📲
✔️ 4bdf440 #1 2024-03-30 14:38:20 ~9 min android 🤖apk 📲
✔️ 4bdf440 #1 2024-03-30 14:39:22 ~10 min ios 📱ipa 📲
✔️ 501246f #2 2024-03-30 18:21:56 ~4 min tests 📄log
✔️ 501246f #2 2024-03-30 18:23:38 ~6 min android-e2e 🤖apk 📲
✔️ 501246f #2 2024-03-30 18:25:54 ~8 min android 🤖apk 📲
✔️ 501246f #2 2024-03-30 18:26:52 ~9 min ios 📱ipa 📲
✔️ 3156977 #3 2024-04-01 06:20:54 ~7 min android 🤖apk 📲
✔️ 3156977 #3 2024-04-01 06:21:20 ~8 min android-e2e 🤖apk 📲
✔️ 3156977 #3 2024-04-01 06:23:18 ~10 min ios 📱ipa 📲
✔️ a4f89ec #4 2024-04-01 07:40:10 ~8 min android-e2e 🤖apk 📲
✔️ a4f89ec #4 2024-04-01 07:40:17 ~8 min android 🤖apk 📲
✔️ a4f89ec #4 2024-04-01 07:41:06 ~9 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ b7888d3 #9 2024-04-01 10:55:00 ~4 min tests 📄log
✔️ b7888d3 #5 2024-04-01 10:58:40 ~8 min android-e2e 🤖apk 📲
✔️ b7888d3 #5 2024-04-01 10:59:01 ~8 min android 🤖apk 📲
✔️ 800c113 #10 2024-04-01 11:06:03 ~6 min tests 📄log
✔️ 800c113 #6 2024-04-01 11:09:30 ~9 min android-e2e 🤖apk 📲
✔️ 800c113 #6 2024-04-01 11:10:19 ~10 min android 🤖apk 📲
✔️ 800c113 #6 2024-04-01 11:12:59 ~13 min ios 📱ipa 📲

@siddarthkay siddarthkay requested a review from a team April 1, 2024 01:08
Copy link
Member

@seanstrom seanstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, ty! 🙌

@siddarthkay
Copy link
Contributor Author

Waiting for integration tests to pass ...

IMG_3722

The killing of metro terminal upset a few people and this PR fixes that.

## Summary
Modify build step to check if metro is running already.
If so then we do not attempt to start metro again.
If not then we start metro after building android / iOS.

## Review notes
* case 1
    - `make run-clojure`
    - `make run-metro`
    - `make run-android` or `make run-ios` should work the way it did before.
* case 2
    - `make run-clojure`
    - `make run-android` or `make run-ios` should also work.

## Platforms
- Android
- iOS
@siddarthkay siddarthkay merged commit 48789e8 into develop Apr 1, 2024
6 checks passed
@siddarthkay siddarthkay deleted the dont-kill-metro branch April 1, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants