department-of-veterans-affairs / va-mobile-app

"If VA were a company, it would have a flagship mobile app."
https://department-of-veterans-affairs.github.io/va-mobile-app/
17 stars 2 forks source link

BUG - Sev-3 - All - Load time for claims details and claims letters is really slow #8185

Open rbontrager opened 7 months ago

rbontrager commented 7 months ago

What happened?

The load time for claims details and claims letters is sometimes taking ~20-30 seconds to load.

Specs:

Steps to Reproduce

  1. Login to user +12
  2. Tap claims > claim letters. Tap on a claim letter. Notice it takes around ~20-30 seconds to load
  3. Navigate to claims > claims history > close claims. Tap on the first claim with a decision letter available. Notice it takes ~20-30 seconds to load.
  4. Navigate to claims > claims history. Tap on the first claim. Notice it takes ~20 seconds to load.

Desired behavior

Appeals only take a couple seconds to load. I would assume we want claims to be the same way.

Acceptance Criteria

Bug Severity - BE SURE TO ADD THE SEVERITY LABEL

See [Bug Tracking](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA#issue-severity) for details on severity levels

Linked to Story

Screen shot(s) and additional information

Full JSON response for services related to issue (expand/collapse)

Ticket Checklist

Sparowhawk commented 7 months ago

@rbontrager is this still an issue with the React query ticket now merged?

rbontrager commented 6 months ago

@Sparowhawk I apologize thought I had answered this. This is still a problem and if I remember correctly I saw this while verifying claims and appeals.

Sparowhawk commented 5 months ago

Looking through the code we don't do anything special to slow the speed of loading here. It likely has to do with either the size of the data, the response.json issue that @alexandec tried to fix, or it's an issue with BE/upstream response time. At the moment I don't see anything that we can do. Will look into this further at another time.

Sparowhawk commented 4 months ago

With what we learned with the HSP branch I believe the issue is the upstream service being slow and therefore slowing down the app. Moving this to blocked and we can revisit this later once we get an update from them.

timwright12 commented 4 weeks ago

With what we learned with the HSP branch I believe the issue is the upstream service being slow and therefore slowing down the app. Moving this to blocked and we can revisit this later once we get an update from them.

@Sparowhawk Who exactly are we waiting on here? Who has reached out?

TKDickson commented 6 days ago

Wanted to pop in here to leave a note -- we (now, officially!) no longer are going to be maintaining tickets on our board for external team issues. If/when a comment is added in here confirming that we have reported the issue to the responsible/owning team, we can close this ticket and add the label "Closed - Can't / Won't Fix". FYI to all.