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-08-19] Suggestions causing excessive updates #46810

Closed
2 of 6 tasks
hannojg opened this issue Aug 5, 2024 · 12 comments
Closed
2 of 6 tasks

[HOLD for payment 2024-08-19] Suggestions causing excessive updates #46810

hannojg opened this issue Aug 5, 2024 · 12 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

Comments

@hannojg
Copy link
Contributor

hannojg commented Aug 5, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number:v9.0.16-4 Develop
Reproducible in staging?: No, but there no warning will be thrown, although the performance impact is there
Reproducible in production?: No, but there no warning will be thrown, although the performance impact is there
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):n/a
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:@hannojg
Slack conversation:

Action Performed:

  • Open the native mobile app in development mode
  • Type rapidly into the composer spamming ~80 characters
  • In dev mode a warning will popup warning about excessive re-renders

Expected Result:

None of our components rerenders excessively while typing.

Actual Result:

Although there are no visible changes, internally we queue lots of react state updates.

Workaround:

No, its more of a performance issue.

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Screen.Recording.2024-07-19.at.19.11.12.mov

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @twisterdotcom
@hannojg hannojg added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Aug 5, 2024
Copy link

melvin-bot bot commented Aug 5, 2024

Triggered auto assignment to @twisterdotcom (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.

Copy link

melvin-bot bot commented Aug 6, 2024

Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@hungvu193
Copy link
Contributor

@neil-marcellini Since I reviewed the PR, can you please assign me to this issue? TIA 😄

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 12, 2024
@melvin-bot melvin-bot bot changed the title Suggestions causing excessive updates [HOLD for payment 2024-08-19] Suggestions causing excessive updates Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.18-10 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 2024-08-19. 🎊

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

  • @hannojg does not require payment (Contractor)

Copy link

melvin-bot bot commented Aug 12, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@neil-marcellini] The PR that introduced the bug has been identified. Link to the PR:
  • [@neil-marcellini] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@neil-marcellini] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@hannojg] Determine if we should create a regression test for this bug.
  • [@hannojg] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@hannojg
Copy link
Contributor Author

hannojg commented Aug 12, 2024

I think no regression test is needed, this is only something that can come up during development

@twisterdotcom
Copy link
Contributor

Let's close now then, no payment, no regression tests needed.

@hungvu193
Copy link
Contributor

Let's close now then, no payment, no regression tests needed.

I think there will be payment left for me. I reviewed the PR

@twisterdotcom
Copy link
Contributor

Ah, you're right! Sorry for missing that @hungvu193.

@twisterdotcom twisterdotcom reopened this Aug 13, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 18, 2024
@twisterdotcom
Copy link
Contributor

Payment Summary:

  • @hungvu193 paid $250 via newDot requests (C+)
  • @hannojg does not require payment (Contractor)

@JmillsExpensify
Copy link

$250 approved for @hungvu193

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
Projects
None yet
Development

No branches or pull requests

5 participants