Skip to content

Stability Issues #342

@AdamFinkle

Description

@AdamFinkle

Problems

  1. Sometimes the weather API fails, and when it does, we get a big message on the screen without anything else displayed
  2. One time, the application hung for over 60 seconds, judging by a 62k+ millisecond POST request on the network tab of the developer tools.
  3. Should the user press calculate many times soon together, the following error appears when the app tries to call the geocode API, returning status 504; the stacktrace mentions this line, 97 in GeocodeUtil.ts
let rezzy = await fetch(url)
Image

Our efforts
After observing problem 2, we added timing statements.

Possible Solutions
Display a more user-friendly message when the app crashes in these situations. Reproducing problems 1 and 2 seems difficult, and reproducing problem 3 is easy but requires hammering calculate although the user would not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rules-engineIssues related to the Python rules engineuser-experienceIssues related to user experience

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions