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-03-14] Chat - Console error shows up when sending message with mention or text #37463

Closed
1 of 6 tasks
m-natarajan opened this issue Feb 29, 2024 · 25 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

Comments

@m-natarajan
Copy link

m-natarajan commented Feb 29, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.45-0
Reproducible in staging?: y
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to any chat.
  3. Send a message with mention or emoji.

Expected Result:

No console error will show up.

Actual Result:

Console error shows up.

Workaround:

unknown

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

Add any screenshot/video evidence

Bug6396439_1709169118643.bandicam_2024-02-29_08-17-23-655.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @anmurali
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

Triggered auto assignment to @anmurali (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 29, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 29, 2024

Triggered auto assignment to @MonilBhavsar (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@m-natarajan
Copy link
Author

We (Applause) this bug might be related to #vip-vsb
cc @quinthar

@m-natarajan
Copy link
Author

@MonilBhavsar FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@MonilBhavsar
Copy link
Contributor

MonilBhavsar commented Feb 29, 2024

@MonilBhavsar
Copy link
Contributor

Most probably not a blocker.
To fix the issue we have two options -

  1. Degrade react-native-reanimated that was updated here [New Architecture] Upgrade react-native-reanimated #36404
  2. Fix the issue in react-native-reanimated. If node.children is not an array, we break https://github.com/software-mansion/react-native-reanimated/blob/06231465a93e7650f0c4c66035f48dcadbe2467a/src/reanimated2/layoutReanimation/web/domUtils.ts#L170

@MonilBhavsar
Copy link
Contributor

Not a blocker, just a console error

@MonilBhavsar MonilBhavsar added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 29, 2024
github-merge-queue bot pushed a commit to software-mansion/react-native-reanimated that referenced this issue Mar 1, 2024
… animation. (#5749)

## Summary

This issue was found in
[Expensify](Expensify/App#37463).
`node.children` was undefined, because `node` wasn't `HTMLElement` - it
was `plaintext`. This PR introduces new check - if `node` is not
`HTMLElement`, we won't perform any action.

## Test plan

Tested on Expensify App
@MonilBhavsar
Copy link
Contributor

Upstream PR is merged. We can update our version of react-native-reanimated once the fix is released

m-bert added a commit to software-mansion/react-native-reanimated that referenced this issue Mar 1, 2024
… animation. (#5749)

## Summary

This issue was found in
[Expensify](Expensify/App#37463).
`node.children` was undefined, because `node` wasn't `HTMLElement` - it
was `plaintext`. This PR introduces new check - if `node` is not
`HTMLElement`, we won't perform any action.

## Test plan

Tested on Expensify App
@tomekzaw
Copy link
Contributor

tomekzaw commented Mar 1, 2024

The fix has been released in Reanimated 3.7.2, we will submit a PR with the bump.

@MonilBhavsar
Copy link
Contributor

@tomekzaw happy to assign an engineer to the issue who will be submitting the PR

@filip-solecki
Copy link
Contributor

Hi @MonilBhavsar! I am Filip from SWM and I will work on this!

@MonilBhavsar
Copy link
Contributor

Thanks Filip! Assigned you to issue

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Mar 4, 2024
@melvin-bot melvin-bot bot changed the title Chat - Console error shows up when sending message with mention or text [HOLD for payment 2024-03-14] Chat - Console error shows up when sending message with mention or text Mar 7, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 7, 2024
Copy link

melvin-bot bot commented Mar 7, 2024

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

Copy link

melvin-bot bot commented Mar 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.48-0 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-03-14. 🎊

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

Copy link

melvin-bot bot commented Mar 7, 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:

  • [@MonilBhavsar] The PR that introduced the bug has been identified. Link to the PR:
  • [@MonilBhavsar] 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:
  • [@MonilBhavsar] 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:
  • [@filip-solecki] Determine if we should create a regression test for this bug.
  • [@filip-solecki] 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.
  • [@anmurali] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@MonilBhavsar
Copy link
Contributor

I think we can close this as no payment is required. Thanks all!

@mkhutornyi
Copy link
Contributor

@MonilBhavsar I reviewed PR fixing this issue.

@MonilBhavsar
Copy link
Contributor

Ah okay! Given a version bump, I think $125 is a fair amount. Do you agree?

@MonilBhavsar MonilBhavsar reopened this Mar 8, 2024
@mkhutornyi
Copy link
Contributor

Not sure if this is special case but I am seeing that flatten internal review fee applied in other issues.
i.e. #35999 (comment) for svg version bump
Though, I am happy with whatever team decides.

@mkhutornyi
Copy link
Contributor

Another instance: #36187 (comment)
This is also reanimated version bump and even same as our case.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@melvin-bot melvin-bot bot added the Overdue label Mar 18, 2024
@anmurali
Copy link

@MonilBhavsar what do you think here? I believe I need to create a manual Upwork offer to pay @mkhutornyi based on the final amount you decide!

@melvin-bot melvin-bot bot removed the Overdue label Mar 18, 2024
@MonilBhavsar
Copy link
Contributor

Given recent discussion on bounties https://expensify.slack.com/archives/CC7NECV4L/p1709812877445629
I think this was a minor version bump and testing the console error on sending a message. I feel like $250 is a fair bounty.
Other than previous occurrences, if there is other reason for the bounty, we would be happy to evaluate and double it.

@melvin-bot melvin-bot bot added the Overdue label Mar 21, 2024
@anmurali
Copy link

https://www.upwork.com/nx/wm/offer/101507041
@mkhutornyi can you accept and then DM me on slack so I can pay it. Gonna close the issue now.

@melvin-bot melvin-bot bot removed the Overdue label Mar 21, 2024
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
Projects
None yet
Development

No branches or pull requests

6 participants