feat(eas-cli) Remote build log streaming (--stream-logs)#3515
Open
javascripter wants to merge 1 commit intoexpo:mainfrom
Open
feat(eas-cli) Remote build log streaming (--stream-logs)#3515javascripter wants to merge 1 commit intoexpo:mainfrom
javascripter wants to merge 1 commit intoexpo:mainfrom
Conversation
1ef8cb8 to
b6cc5ff
Compare
|
Subscribed to pull request
Generated by CodeMention |
b6cc5ff to
4c84a5e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
This PR introduces an opt-in
--stream-logsflag to stream remote logs directly to the CLI in real-time.The goal is to make remote EAS builds feel much closer to
expo run:[ios/android]so that humans/agents can debug issues directly inside their terminal.This is a new feature proposal, so I'm looking to hear what Expo team thinks about this feature.
The PR itself is feature-complete and ready for testing.
Context
Running
eas build --waitleaves developers watching a status spinner while the actual build happens on EAS.This means to debug a build:
How
--stream-logsflag to botheas buildandeas build:view.Test Plan
yarn test src/build/__tests__/logs-test.ts,yarn test src/__tests__/commands/build-stream-logs-test.ts,yarn test src/__tests__/commands/build-view-test.tsFor manual testing, I have verified both
eas buildandeas build:viewlocally by running: