-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix "Worker was terminated" console error when closing a PDF before it finishes loading #48196
Fix "Worker was terminated" console error when closing a PDF before it finishes loading #48196
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
@paultsimura 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] |
@paultsimura this PR is ready for review. I've verified that this error is unrelated to my PR and also happens on staging |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb Safari2024-08-28.-.20.34.-.Screen.Recording.2024-08-28.at.20.32.37.mp4MacOS: Chrome / Safari2024-08-28.-.20.34.-.Screen.Recording.2024-08-28.at.20.21.13.mp4MacOS: Desktop2024-08-28.-.20.34.-.Screen.Recording.2024-08-28.at.20.24.39.mp4 |
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 ✔️
@CyberAndrii please comment "recheck" to trigger the CLA bot again. |
recheck |
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.
I just manually re-queued the check - all good. Just waiting on the perf tests now
Thanks @thienlnam - the perf tests are done ✔️ |
✋ 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/thienlnam in version: 9.0.26-1 🚀
|
This PR is failing because of issue #48314 |
@IuliiaHerets I don't quite understand why you say this PR is failing because of #48314. Prod: 2024-08-30.-.11.29.-.Screen.Recording.2024-08-30.at.11.25.44.mp4Staging: 2024-08-30.-.11.29.-.Screen.Recording.2024-08-30.at.11.28.51.mp4 |
@paultsimura PR says that we need to verify that no errors appear in the JS console. We see an error. So it is not pass. |
Shoot, I got you. @CyberAndrii could you please change the last steps in the PR description to be more specific? |
@IuliiaHerets we'll change the steps in the PR description, thank you. This one was aimed at the "Worker was terminated" error only. |
Done |
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.26-6 🚀
|
Details
This PR fixes the "Worker was terminated" console error that occurs when closing a PDF view window before it finishes loading.
Fixed Issues
$ #47810
PROPOSAL: #47810 (comment)
Tests
Offline 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
47810.android.native.webm
Android: mWeb Chrome
47810.android.mWeb.webm
iOS: Native
47810.ios.native.mov
iOS: mWeb Safari
47810.ios.mWeb.mov
MacOS: Chrome / Safari
47810.macos.safari.mov
MacOS: Desktop
47810.macos.desktop.mov