Skip to content
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

Console Error Cleanup part deux! #53417

Closed
5 tasks
mallenexpensify opened this issue Dec 3, 2024 · 45 comments
Closed
5 tasks

Console Error Cleanup part deux! #53417

mallenexpensify opened this issue Dec 3, 2024 · 45 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Task

Comments

@mallenexpensify
Copy link
Contributor

mallenexpensify commented Dec 3, 2024

@kubabutkiewicz to work on the below.

@kubabutkiewicz
Copy link
Contributor

Hello, Im Jakub from Callstack and would like to help with this issue

@kubabutkiewicz
Copy link
Contributor

kubabutkiewicz commented Dec 3, 2024

@mallenexpensify Yeah, I will go through those issues and will post a massage about which ones we will handle in that issue 😄

@kubabutkiewicz
Copy link
Contributor

kubabutkiewicz commented Dec 4, 2024

@mallenexpensify I went through issues from your comment and this is my thoughts:

@mallenexpensify
Copy link
Contributor Author

gulp, about to hop offline, will make a note to review tomorrow. Thx @kubabutkiewicz !

@kubabutkiewicz
Copy link
Contributor

Shared a proposal for fixing warnings about cycle dependecies on open-source channel

@mallenexpensify
Copy link
Contributor Author

Thanks for posting in #expensify-open-source @kubabutkiewicz , it looks like there's broad support to move forward with your plan. Would it be helpful to reorganize the list of links you posted above to denote which will be addressed with your plan? For dupes, can you comment on the one you'd recommend closing? (if not, I can get to next week, got a few other priorities before the weekend). Thx again, happy to be making progress here.

@kubabutkiewicz
Copy link
Contributor

I will do it today @mallenexpensify !

@kubabutkiewicz
Copy link
Contributor

kubabutkiewicz commented Dec 9, 2024

@mallenexpensify So from the list above in that issue I would tackle those

Beside those from a list

  • Go forward with a fix for cyclic dependencies which part of is the proposal on open source channel and this will be my main focus for now
  • I would also dig into the app and look for more console errors because I know that there are more 😅

@mallenexpensify
Copy link
Contributor Author

Thanks @kubabutkiewicz , OP updated

@mallenexpensify mallenexpensify added Weekly KSv2 and removed Daily KSv2 labels Dec 9, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Dec 12, 2024
@kubabutkiewicz
Copy link
Contributor

Hi leaving update about that

@kubabutkiewicz
Copy link
Contributor

@mallenexpensify I was looking today at this issue #52969 and I believe we need to ask someone from infrastructure team or something like that, because the problem is that we have set up CSP (Content Security Policy) for some third party scripts but not for this one https://stats.g.doubleclick.net. I think we need just to add another entry to allow doubleclick.net domain in our CSP configuration but the configuration is not in the frontend repo.

@kubabutkiewicz
Copy link
Contributor

In the meantime I will look at #50780 but for now I am not able to reproduce that.

@mallenexpensify
Copy link
Contributor Author

Thx for the updates @kubabutkiewicz

ask someone from infrastructure team or something like that, because the problem is that we have set up CSP

Can you post in #expensify-callstack to see if anyone in that room might be able to help or provide feedback? If that doesn't work I can cross-post from there to an engineering chat room to get 👀

@kubabutkiewicz
Copy link
Contributor

kubabutkiewicz commented Dec 16, 2024

@mallenexpensify Today in the morning I checked staging and prod envs and the error from #52969 is not appearing. I will check it tomorrow if it still be not reproducable I think we can close it.

image

Also #50780 is not reproducible anymore

@kubabutkiewicz
Copy link
Contributor

@mallenexpensify Took a look at #49819 and we have to wait for an upgrade of package pdfjs-dist in react-pdf where there is already a PR to do it its just waiting for a maintainer to review. I think we should wait till it will happen rather than patching in on our own. Wdyt? When it will happen we will need to just upgrade react-pdf in our package react-fast-pdf and then in Expensify repo

also about #52969 today I was able to reproduce that, I will post a question on a channel if there is someone who can adjust CSP on the web server.

After that I will dig into app to look for other console errors

@kubabutkiewicz
Copy link
Contributor

Daily update:

@kubabutkiewicz
Copy link
Contributor

Hi @Krishna2323 In my case it was probably a BE error that was not returning serialized data when uploading files. Folks from BE did some changes and the error has gone, but in my case it was also a bit different because it wasn't carshing the app it was just an error in the console. So I think in my case error was from a different source than yours, yours looks like an error which come from the onyx like @francoisl wrote

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 15, 2025
@melvin-bot melvin-bot bot changed the title Console Error Cleanup part deux! [HOLD for payment 2025-01-22] Console Error Cleanup part deux! Jan 15, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 15, 2025
Copy link

melvin-bot bot commented Jan 15, 2025

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jan 15, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.85-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2025-01-22. 🎊

For reference, here are some details about the assignees on this issue:

@Krishna2323
Copy link
Contributor

Thanks @francoisl @kubabutkiewicz, I will try to debug as suggested by Francois, and I'll share if I find something.

@CyberAndrii
Copy link
Contributor

Failed to execute 'put' on 'IDBObjectStore': function arrayBuffer() { [native code] } could not be cloned.

The same issue happens when navigating to Self DM, tracking a Scan expense, and then tracking another receipt but this time via QAB. Also not consistently.

Video 1
IDBObjectStore.error.webm
Video 2
IDBObjectStore.error.2.webm

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 22, 2025
Copy link

melvin-bot bot commented Jan 22, 2025

Issue is ready for payment but no BZ is assigned. @mallenexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented Jan 22, 2025

Payment Summary

Upwork Job

BugZero Checklist (@mallenexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@mallenexpensify mallenexpensify changed the title [HOLD for payment 2025-01-22] Console Error Cleanup part deux! Console Error Cleanup part deux! Jan 22, 2025
@mallenexpensify
Copy link
Contributor Author

Contributor+: @eVoloshchak due $250 via NewDot

I'm assuming we don't need a test case for this. Comment if you disagree

@melvin-bot melvin-bot bot added the Overdue label Jan 27, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

@francoisl, @eVoloshchak, @mallenexpensify, @kubabutkiewicz Eep! 4 days overdue now. Issues have feelings too...

@francoisl
Copy link
Contributor

Looks like we're still on hold for #49819

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 28, 2025
Copy link

melvin-bot bot commented Feb 3, 2025

@francoisl, @eVoloshchak, @mallenexpensify, @kubabutkiewicz Huh... This is 4 days overdue. Who can take care of this?

@francoisl
Copy link
Contributor

Progress is still being made in #49819 for the pdfjs issue.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Feb 3, 2025
@mallenexpensify
Copy link
Contributor Author

🤞 we'll be able to close this soon.

@melvin-bot melvin-bot bot removed the Overdue label Feb 6, 2025
@kubabutkiewicz
Copy link
Contributor

I think we can close this out and do #49819 as a separate issue, wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Task
Projects
None yet
Development

No branches or pull requests

6 participants