-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] perf: exclude Fullstory from Android development build #50206
[No QA] perf: exclude Fullstory from Android development build #50206
Conversation
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/Videos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android builds are the worst (it takes 20+ minutes for me on M1 Pro, which is quite a lot), so anything to speed up Android builds is amazing. I'd like to use this opportunity to say thanks to you and anyone making Android builds faster 🤣
@eVoloshchak hopefully once we get #50240 merged it'll be fixed forever 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please just add a comment above this line with a link to this PR and a short comment explaining that we also disable it in build.gradle.
Just in case anyone needs context in the future or wants to enable full story in dev for some odd reason.
@Julesssss done ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.0.48-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.48-2 🚀
|
Details
Fullstory is initialized only if the app is running in production.
App/src/libs/Fullstory/index.native.ts
Lines 17 to 24 in 2c07b39
However, the Fullstory task is running when using
npm run android
anyway, and it takes 30-40s of each build on my M1 Mac. We can save this time by including Fullstory in production builds only.Before: https://scans.gradle.com/s/f552tkilldsmk/timeline?sort=longest#s366l6lb7nhlo
:app:fullstoryDevelopmentDebug
took 40.4sAfter: https://scans.gradle.com/s/f73kkikpdg36i/timeline?sort=longest
:app:fullstoryDevelopmentDebug
not on the listFixed Issues
$ #49567
PROPOSAL:
Tests
./gradlew assembleDevelopmentDebug -PreactNativeArchitectures=arm64-v8a --scan
:app:fullstoryProductionDebug
task is not present on the listOffline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop