Collect staged Android emulator logs - #3628
Closed
sjchmiela wants to merge 15 commits into
Closed
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## stanley/eng-20762-stage-emulator-logcat #3628 +/- ##
===========================================================================
+ Coverage 62.55% 62.61% +0.06%
===========================================================================
Files 1008 1009 +1
Lines 45827 45873 +46
Branches 9649 9653 +4
===========================================================================
+ Hits 28664 28720 +56
+ Misses 15705 15695 -10
Partials 1458 1458 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sjchmiela
force-pushed
the
stanley/eng-20762-stage-emulator-logcat
branch
from
April 23, 2026 15:51
93e6a3d to
7945c7d
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-collect-emulator-logcat
branch
from
April 23, 2026 15:53
0ac40a4 to
ce5ca73
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-stage-emulator-logcat
branch
from
April 23, 2026 15:56
7945c7d to
6c0f797
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-collect-emulator-logcat
branch
2 times, most recently
from
April 23, 2026 16:42
8f7e23d to
fc6c828
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-stage-emulator-logcat
branch
from
August 7, 2026 16:53
30529e4 to
018642b
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-collect-emulator-logcat
branch
from
August 7, 2026 16:53
f0cc102 to
5bcbee1
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-collect-emulator-logcat
branch
from
August 7, 2026 17:08
5bcbee1 to
070d76b
Compare
sjchmiela
force-pushed
the
stanley/eng-20762-collect-emulator-logcat
branch
from
August 7, 2026 17:27
070d76b to
d94324e
Compare
|
⏩ The changelog entry check has been skipped since the "no changelog" label is present. |
sjchmiela
force-pushed
the
stanley/eng-20762-stage-emulator-logcat
branch
from
August 7, 2026 20:27
7903f38 to
c9deda0
Compare
Contributor
Author
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.
Summary
eas/collect_emulator_logsto find staged emulator-native Logcat files under the fixed staging parentmkdtempdirectory name into the destination directory~/.maestro/testsWhy
Live logs stay under
<buildLogsDirectory>/android-emulator-logcatwhile tests run. Each emulator start writes to<deviceName>-XXXXXX/logcat.log. The collection step scans that stable parent recursively and copies a snapshot into the Maestro artifact directory only when the workflow is ready to upload it. This avoids an artifact tar operation racing with the emulator-owned output file.Test plan
yarn workspace @expo/build-tools test --runInBandyarn workspace @expo/build-tools jest-integration src/steps/functions/__integration-tests__/collectEmulatorLogs.test.ts --runInBandyarn typecheckyarn lintyarn fmt:check