Skip to content

[HOLD for payment 2024-03-11] [HOLD for payment 2024-03-07] IOU details page appears after delay and it is empty when request is created offline #37466

Closed

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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. Request money from any user.
  3. In 1:1 DM, click on the IOU preview twice to go to transaction thread.
  4. Return to IOU report.
  5. Click on the IOU preview to go transaction thread again.
  6. Note that the details show up after some delay.
  7. Go offline.
  8. Create another IOU with the same user.
  9. Click on the IOU preview twice to go to transaction thread.

Expected Result:

In Step 5, the IOU details page will appear without delay (production behavior).
In Step 9, the IOU details will show even when the request is created offline (production behavior).

Actual Result:

In Step 5, the IOU details page appears after some delay.
In Step 9, the IOU details page is blank when the request is created offline.

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

Bug6396511_1709174884370.20240229_104158.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Feb 29, 2024
  2. melvin-bot commented on Feb 29, 2024

    @melvin-bot

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

  3. github-actions commented on Feb 29, 2024

    @github-actions
    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.
  4. melvin-bot commented on Feb 29, 2024

    @melvin-bot

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

  5. m-natarajan commented on Feb 29, 2024

    @m-natarajan
    Author

    @techievivek 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.

  6. techievivek commented on Feb 29, 2024

    @techievivek
    Contributor

    Seems like a regression from some recent change and indeed a bad one.

  7. youssef-lr commented on Feb 29, 2024

    @youssef-lr
    Contributor

    This seems to be coming from here, reverting it fixed it for me. cc @tgolen. Really odd though, I can't see how those changes are causing this, but I double checked and triple checked, reverting the PR definitely fixed it.

    Screen.Recording.2024-02-29.at.10.15.10.mov
  8. techievivek commented on Feb 29, 2024

    @techievivek
    Contributor

    @youssef-lr Great catch, any idea why I am unable to find this PR changes in the diff between staging and production production...staging ?
    I was trying to look at the recent deployed changes to figure out what could have caused this.

  9. 28 remaining items

  10. bernhardoj commented on Mar 5, 2024

    @bernhardoj
    Contributor

    Just FYI, the appearance delay is still happening because of the Onyx issue.

  11. parasharrajat commented on Mar 5, 2024

    @parasharrajat
    Member

    @bernhardoj may be you can propose this on Slack with previous details and suggest a solution as well.

  12. added
    Daily
    and removed
    Weekly
    on Mar 7, 2024
  13. sakluger commented on Mar 8, 2024

    @sakluger
    Contributor

    I'm kinda confused what's going on here. I think this PR was intended to fix the issue, but according to @bernhardoj, there is still a delay.

    @techievivek @youssef-lr do either of you know what's going on?

  14. tgolen commented on Mar 8, 2024

    @tgolen
    Contributor

    That PR was really intended to fix the page not loading at all when offline (the worst part). I couldn't see any noticeable delay when loading, but I also don't think it's really that related to any of the recent changes. It's more just that it takes a little time to read the data from Onyx, and that's OK. We could maybe think about implementing a loading state for this, but I don't know if it's really worth it. If you think it's a problem, I think we should open a new GH issue and get proposals for solving the delay.

  15. sakluger commented on Mar 8, 2024

    @sakluger
    Contributor

    Thanks for explaining @tgolen. I agree that we've solved the main issue and we can close this out.

    Is @parasharrajat due payment for the PR review, or no because it's a regression?

  16. tgolen commented on Mar 8, 2024

    @tgolen
    Contributor

    @parasharrajat Still needs paid for a C+ review. The regression was caused by my PR so it's only a mark against me :D

  17. sakluger commented on Mar 11, 2024

    @sakluger
    Contributor

    Thanks @tgolen for clarifying. 🙇

    Summarizing payment on this issue:

    Contributor+: @parasharrajat $500, please request on Newdot

  18. parasharrajat commented on Jun 10, 2024

    @parasharrajat
    Member

    Payment requested as per #37466 (comment)

  19. JmillsExpensify commented on Jun 11, 2024

    @JmillsExpensify
    Contributor

    $500 approved for @parasharrajat

  20. melvin-bot commented on Aug 2, 2024

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions