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

[HOLD for payment 2024-10-08] Clean up Reanimated warnings #48361

Closed
roryabraham opened this issue Aug 30, 2024 · 11 comments
Closed

[HOLD for payment 2024-10-08] Clean up Reanimated warnings #48361

roryabraham opened this issue Aug 30, 2024 · 11 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@roryabraham
Copy link
Contributor

Problem

Somewhere between react-native-reanimated 3.8 and 3.13 a new dev warning was added to make worklet closures more strict and prevent common developer errors. These are just warnings and not errors for now, but there are many of them across the app.

This is distracting for developers and may be a sign that we are mis-using the library, which may in turn lead to other unintended consequences.

Solution

For now, let's suppress the warnings, since we aren't aware of any real problems being caused by this. Then let's (with lower priority) go through and clean them up and eventually un-suppress the warning to make sure we're using Reanimated correctly.

cc @WoLewicki

@BartoszGrajdek
Copy link
Contributor

Hi! I’m Bartosz from SWM and I’m going to work on this issue 😄

@BartoszGrajdek
Copy link
Contributor

I made some progress on this issue last week, but was delayed due to a higher-priority issue and a brief sick leave. I'm back now and will be making this my primary focus 👀

@melvin-bot melvin-bot bot removed the Overdue label Sep 11, 2024
@BartoszGrajdek BartoszGrajdek mentioned this issue Sep 11, 2024
50 tasks
@melvin-bot melvin-bot bot added the Overdue label Sep 20, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 Overdue labels Sep 23, 2024
@BartoszGrajdek
Copy link
Contributor

It got delayed longer than anticipated due to some other tasks at hand, but I believe there are no other warnings, than the ones I've noticed. I've tested it on all platforms and found 3 places where this warning was thrown:

  1. Any screen using composer (Solved by Composer warn #48329)
  2. Empty chat (Stopped happening on main, not sure which exact PR fixed this, but it doesn't happen anymore)
  3. IOU Request Screen (PR with a fix is available here)

@hoangzinh
Copy link
Contributor

PR was deployed to Prod yesterday. @roryabraham can you help to

  • Assign me to this issue
  • Add a bug/feature label so a BZ member will be assigned to this issue

to do payment later. Thank you.

@roryabraham roryabraham added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 2, 2024
Copy link

melvin-bot bot commented Oct 2, 2024

Triggered auto assignment to @stephanieelliott (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 2, 2024
@stephanieelliott
Copy link
Contributor

Queuing this for payment after the regression period!

@stephanieelliott stephanieelliott added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Oct 3, 2024
@stephanieelliott stephanieelliott changed the title Clean up Reanimated warnings [HOLD for payment 2024-10-08] Clean up Reanimated warnings Oct 3, 2024
Copy link

melvin-bot bot commented Oct 8, 2024

Payment Summary

Upwork Job

  • ROLE: @hoangzinh paid $(AMOUNT) via Upwork (LINK)
  • Contributor: @BartoszGrajdek is from an agency-contributor and not due payment

BugZero Checklist (@stephanieelliott)

  • 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

@stephanieelliott
Copy link
Contributor

stephanieelliott commented Oct 8, 2024

Summarizing payment on this issue:

Upwork job is here: https://www.upwork.com/jobs/~021843802551890560225

@hoangzinh
Copy link
Contributor

Accepted. Thanks @stephanieelliott

@mallenexpensify
Copy link
Contributor

I paid @hoangzinh via Upwork because I needed to test the 'end contract' bug we're experiencing and grab a vid of it. Will let @stephanieelliott close this (I don't think it needs a regression test but def not certain)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 10, 2024
@stephanieelliott
Copy link
Contributor

Thanks @mallenexpensify! Yep this one is good to close.

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review
Projects
Development

No branches or pull requests

5 participants