Skip to content

HIGH: [Reliability] Stop doing a full report load + Auth call for any thread reports returned by GetChats #39225

Description

@quinthar

Problem:

My app times out attempting ReconnectApp after loading 6000+ reports in 3 min, as discussed here.

One observation is that that we are returning many "thread reports" and then calling Auth once per report to load it so we can build the report action object.

Solution:

  • Investigate what these reports are and why they are getting returned.
  • Move the logic that is loading the reports into Auth as explained in this comment so that we aren't calling Auth thousands of times in a row.
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d88324b92cfff3d0
  • Upwork Job ID: 1775305647007121408
  • Last Price Increase: 2024-04-02

Metadata

Metadata

Assignees

Labels

EngineeringInternalRequires API changes or must be handled by Expensify staffTaskWeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions