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
| GITHUB_TOKEN: ${{ github.token }} | ||
|
|
||
| - name: Archive desktop sourcemaps | ||
| uses: actions/upload-artifact@v3 |
There was a problem hiding this comment.
Not sure if we should use v3 here, as for every action we are using upload-artifact v4
| 5. Upon completion, the generated source map can be found at: | ||
| 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.
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.
@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 |
|
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop