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-05-30] Loading loop when opening a chat #40641

Closed
1 of 6 tasks
janicduplessis opened this issue Apr 20, 2024 · 28 comments
Closed
1 of 6 tasks

[HOLD for payment 2024-05-30] Loading loop when opening a chat #40641

janicduplessis opened this issue Apr 20, 2024 · 28 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 Design External Added to denote the issue can be worked on by a contributor Waiting for copy User facing verbiage needs polishing

Comments

@janicduplessis
Copy link
Contributor

janicduplessis commented Apr 20, 2024

Version Number: 1.4.62-14
Reproducible in staging?: No
Reproducible in production?: Yes
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:
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1713403457450239?thread_ts=1713358946.087599&cid=C05LX9D6E07

Action Performed:

Open the #social chat

Expected Result:

The chat loads

Actual Result:

The chat keeps loading in a loop

Workaround:

N/A

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-20240417-181842.mp4

Profile_trace_for_1.4.62-14.cpuprofile

logs-2024-04-18_01_17_59.162 (1).txt

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01be52de22fd67ac4a
  • Upwork Job ID: 1785306670485327873
  • Last Price Increase: 2024-04-30
  • Automatic offers:
    • rojiphil | Contributor | 0
Issue OwnerCurrent Issue Owner: @muttmuure
@janicduplessis janicduplessis added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Apr 20, 2024
Copy link

melvin-bot bot commented Apr 20, 2024

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

@janicduplessis
Copy link
Contributor Author

This is the slack thread investigating the issue https://expensify.slack.com/archives/C05LX9D6E07/p1713454764509159. I narrowed it down to API errors that we can see in the logs (jsonCode: 666) for GetNewerActions and GetOlderActions. I wasn't able to reproduce the exact same behavior as the video, but I was able to reproduce those methods being called in a loop when they fail.

The solution is to handle pagination errors properly, this is implemented here #40610

Copy link

melvin-bot bot commented Apr 20, 2024

Triggered auto assignment to @dannymcclain (Design), see these Stack Overflow questions for more details.

@dannymcclain
Copy link
Contributor

Not overdue, we've just been discussing this on the PR.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Apr 23, 2024
@dannymcclain
Copy link
Contributor

PR is still in the works. Looks like it's getting close though!

@melvin-bot melvin-bot bot removed the Overdue label Apr 25, 2024
@janicduplessis
Copy link
Contributor Author

PR is ready!

@melvin-bot melvin-bot bot added the Overdue label Apr 29, 2024
@muttmuure muttmuure added the External Added to denote the issue can be worked on by a contributor label Apr 30, 2024
@melvin-bot melvin-bot bot changed the title Loading loop when opening a chat [$250] Loading loop when opening a chat Apr 30, 2024
Copy link

melvin-bot bot commented Apr 30, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01be52de22fd67ac4a

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 30, 2024
Copy link

melvin-bot bot commented Apr 30, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil (External)

@melvin-bot melvin-bot bot removed the Overdue label Apr 30, 2024
@muttmuure muttmuure removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 30, 2024
@muttmuure
Copy link
Contributor

Oh, I didn't realize that @Gonals was already reviewing.

@muttmuure
Copy link
Contributor

Sorry

@muttmuure muttmuure changed the title [$250] Loading loop when opening a chat Loading loop when opening a chat Apr 30, 2024
Copy link

melvin-bot bot commented May 13, 2024

Triggered auto assignment to @NickTooker (Waiting for copy), see https://stackoverflow.com/c/expensify/questions/7025/ for more details.

@melvin-bot melvin-bot bot removed the Overdue label May 13, 2024
@mountiny
Copy link
Contributor

@NickTooker Could you please confirm if this copy sounds fine to you:

image

You can see at the bottom, if there is an issue loading more messages, we would show an error to the user with option to retry the request maybe once they get better connection.

There was an error loading more messages is the copy now. Thanks!

@janicduplessis
Copy link
Contributor Author

We should also check the Spanish version of the copy

Se produjo un error al cargar más mensajes.
Inténtalo de nuevo

@NickTooker
Copy link

Confirmed on my end!

@mountiny
Copy link
Contributor

@janicduplessis Can you please follow these instructions regarding the translations and post in the open source channel? Thanks!

image

Copy link

melvin-bot bot commented May 16, 2024

@janicduplessis, @rojiphil, @dannymcclain, @NickTooker, @mountiny, @muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label May 16, 2024
Copy link

melvin-bot bot commented May 18, 2024

@janicduplessis @rojiphil @dannymcclain @NickTooker @mountiny @muttmuure this issue is now 4 weeks old, please consider:

  • Finding a contributor to fix the bug
  • Closing the issue if BZ has been unable to add the issue to a VIP or Wave project
  • If you have any questions, don't hesitate to start a discussion in #expensify-open-source

Thanks!

@mountiny
Copy link
Contributor

This is looking good, we can make it weekly now, the PR has been merged

@melvin-bot melvin-bot bot removed the Overdue label May 20, 2024
@mountiny mountiny added Weekly KSv2 and removed Daily KSv2 labels May 20, 2024
@NickTooker NickTooker removed their assignment May 20, 2024
@melvin-bot melvin-bot bot added the Overdue label May 28, 2024
@mountiny mountiny added the Awaiting Payment Auto-added when associated PR is deployed to production label May 28, 2024
@mountiny mountiny changed the title Loading loop when opening a chat [HOLD for payment 2024-05-30] Loading loop when opening a chat May 29, 2024
@mountiny
Copy link
Contributor

This was deployed last week so I think we just need to pay this out to @rojiphil $250

@melvin-bot melvin-bot bot removed the Overdue label May 29, 2024
@rojiphil
Copy link
Contributor

rojiphil commented Jun 3, 2024

@muttmuure Gentle bump on payment step here. Thanks

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 4, 2024
@rojiphil
Copy link
Contributor

rojiphil commented Jun 7, 2024

@muttmuure Bump on payment step as referenced here. Thanks

@melvin-bot melvin-bot bot added the Overdue label Jun 7, 2024
@muttmuure
Copy link
Contributor

Handling

@melvin-bot melvin-bot bot removed the Overdue label Jun 10, 2024
@muttmuure
Copy link
Contributor

@rojiphil paid $250

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 Design External Added to denote the issue can be worked on by a contributor Waiting for copy User facing verbiage needs polishing
Projects
No open projects
Development

No branches or pull requests

7 participants