-
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
feat: web profiler v2 #46133
feat: web profiler v2 #46133
Conversation
@jayeshmangwani 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] |
.github/workflows/platformDeploy.yml
Outdated
@@ -179,6 +179,12 @@ jobs: | |||
env: | |||
GITHUB_TOKEN: ${{ github.token }} | |||
|
|||
- name: Archive desktop sourcemaps | |||
uses: actions/upload-artifact@v3 |
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.
Not sure if we should use v3 here, as for every action we are using upload-artifact v4
Android: `android/app/build/generated/sourcemaps/react/productionRelease/index.android.bundle.map` | ||
IOS: `main.jsbundle.map` | ||
web: `dist/merged-source-map.js.map` |
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.
Noob question: Why haven't we added the desktop/dist/www/merged-source-map.js.map path here for desktop?
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.
@jayeshmangwani I think because the code for web and desktop is identical. At least when I was trying to profile desktop app using web source map everything was well, i. e. I could see all stack-traces correctly
ccaa4e3
to
24e8175
Compare
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb Chrome349098907-a1fd2067-7c3e-4aa7-8a53-ffdca1dc23cd.moviOS: NativeiOS.moviOS: mWeb SafarimWeb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
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.
lgtm
Code looks good but there are conflicts now |
…release-profiler-on-web"" This reverts commit d50f007.
24e8175
to
beaa576
Compare
@stitesExpensify I resolved them 😊 Would you mind to check again? 👀 |
✋ 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/stitesExpensify in version: 9.0.17-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
2 similar comments
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
Details
Added an ability to profile web release apps.
Better revision of #44432
Warning
You'll need to add
'Document-Policy': 'js-profiling'
to responses to make profiler working.Fixed Issues
$ #43363
PROPOSAL: N/A
Tests
Offline tests
N/A
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