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-02-09] [$500] IOU – Failed Split bill lost receipt when go offline #35580

Closed
3 of 6 tasks
kbecciv opened this issue Feb 1, 2024 · 17 comments
Closed
3 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Feb 1, 2024

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.35-0
Reproducible in staging?: y
Reproducible in production?: n
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:

Precondition:
User have failed Split bill
Steps:

  1. Navigate to the failed Split bill chat
  2. Go offline
  3. Navigate to other chat
  4. Come back to the failed Split bill chat

Expected Result:

Failed Split bill receipt should be visible on chat and detailed view

Actual Result:

ailed Split bill receipt is not displayed in offline mode.
Same behavior when open a chat with attachment uploaded and disable the internet connection

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

Bug6363879_1706808315814.Recording__1993.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bec8e5af62cb469a
  • Upwork Job ID: 1753183814253965312
  • Last Price Increase: 2024-02-01
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 1, 2024

👋 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.

@kbecciv
Copy link
Author

kbecciv commented Feb 1, 2024

We think that this bug might be related to #wave5-free-submitters
CC @dylanexpensify

@francoisl
Copy link
Contributor

Not sure why no one got assigned to this, I'll reapply the label and start looking on the side.

@francoisl francoisl added DeployBlockerCash This issue or pull request should block deployment and removed DeployBlockerCash This issue or pull request should block deployment labels Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 1, 2024

👋 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.

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Feb 1, 2024
@melvin-bot melvin-bot bot changed the title IOU – Failed Split bill lost receipt when go offline [$500] IOU – Failed Split bill lost receipt when go offline Feb 1, 2024
Copy link

melvin-bot bot commented Feb 1, 2024

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

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

melvin-bot bot commented Feb 1, 2024

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

@francoisl
Copy link
Contributor

francoisl commented Feb 2, 2024

It might be from #34505 but I can't repro locally, I'll start an ad-hoc build to test more.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Feb 2, 2024
@francoisl francoisl removed Reviewing Has a PR in review Weekly KSv2 labels Feb 2, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 labels Feb 2, 2024
@francoisl
Copy link
Contributor

cc @kidroca if you have any idea how #34505 would cause issues with locally cached images while offline.

@kidroca
Copy link
Contributor

kidroca commented Feb 2, 2024

cc @kidroca if you have any idea how #34505 would cause issues with locally cached images while offline.

It might be that the images weren't yet cached
As with other images we haven't yet seen they would appear as blank when we try to present them with no internet

I'd like to check this out on staging, to exclude any other issues like CORS

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Feb 2, 2024
@kidroca
Copy link
Contributor

kidroca commented Feb 2, 2024

Hey @kbecciv can you update the reproduction steps and explain how to get in to this "failed split bill" precondition

I’m trying to reproduce and debug the issue, but I don’t understand the section and the precondition

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 2, 2024
@melvin-bot melvin-bot bot changed the title [$500] IOU – Failed Split bill lost receipt when go offline [HOLD for payment 2024-02-09] [$500] IOU – Failed Split bill lost receipt when go offline Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.35-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-02-09. 🎊

For reference, here are some details about the assignees on this issue:

@francoisl
Copy link
Contributor

francoisl commented Feb 2, 2024

Hey kbecciv can you update the reproduction steps and explain how to get in to this "failed split bill" precondition
I’m trying to reproduce and debug the issue, but I don’t understand the section and the precondition

@kidroca for my test steps, I found that you don't even need a failed split bill specifically - any receipt upload will do, regardless of whether it finished scanning or not. Here are steps you can use:

  1. Create a workspace. This will create a workspace expense chat between you and the workspace, open it
  2. From the Composer, the + option should have a Split Bill option, click that
    image
  3. Use the Scan option, and upload any image. You should then see a "Scan in progress…" preview in the chat
  4. Go offline
  5. Switch to any other chat
  6. Switch back to the workspace chat with the receipt
    • That's when the receipt image was missing

Hope this helps, let me know if you need any more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 9, 2024
Copy link

melvin-bot bot commented Feb 9, 2024

Issue is ready for payment but no BZ is assigned. @slafortune you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented Feb 9, 2024

Payment Summary

Upwork Job

BugZero Checklist (@slafortune)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1753183814253965312/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Feb 12, 2024
Copy link

melvin-bot bot commented Feb 12, 2024

@francoisl, @slafortune, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick!

@francoisl
Copy link
Contributor

This was a deploy blocker that was handled internally, I don't believe any payment is due but let me know if that's wrong.

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 Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

6 participants