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-03-20] [Violations] [$500] The optimistic transaction thread seems to be incorrect when scanning a receipt. #33114

Closed
1 of 6 tasks
m-natarajan opened this issue Dec 14, 2023 · 34 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@m-natarajan
Copy link

m-natarajan commented Dec 14, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Important

This was supposed to be fixed in this PR, and even though we're sending the right optimistically generated values to the API after that PR, we're not setting the right reportID to navigate to from the report preview.

We think that can be accomplished with a change like this #35449 (comment)

Version Number: 1.4.13-0
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: @mountiny
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1702572514229909

Action Performed:

  1. Request money as a receipt
  2. go quickly to the transaction thread

Expected Result:

No error should show

Actual Result:

you get error and you need to go to the parent and back down to the transaction thread which has different reportID

Workaround:

Wait a few seconds before clicking into the transaction thread

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

image (11)

Screen.Recording.2023-12-14.at.17.38.53.mp4
Recording.327.mp4
thread.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c93082df6e0d8c71
  • Upwork Job ID: 1761086287364259840
  • Last Price Increase: 2024-02-23
  • Automatic offers:
    • situchan | Contributor | 0
    • paultsimura | Contributor | 0
@m-natarajan m-natarajan added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 14, 2023
Copy link

melvin-bot bot commented Dec 14, 2023

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

Copy link

melvin-bot bot commented Dec 14, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@cead22 cead22 changed the title The optimistic transaction thread seems to be incoorect when scanning a receipt. The optimistic transaction thread seems to be incorrect when scanning a receipt. Dec 15, 2023
@cead22 cead22 added Weekly KSv2 and removed Daily KSv2 labels Dec 15, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 25, 2023
@cead22 cead22 added the Reviewing Has a PR in review label Dec 26, 2023
@melvin-bot melvin-bot bot removed the Overdue label Dec 26, 2023
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Jan 18, 2024
Copy link

melvin-bot bot commented Jan 18, 2024

This issue has not been updated in over 15 days. @cead22, @zanyrenney eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@cead22 cead22 changed the title The optimistic transaction thread seems to be incorrect when scanning a receipt. [HOLD] The optimistic transaction thread seems to be incorrect when scanning a receipt. Jan 19, 2024
@cead22
Copy link
Contributor

cead22 commented Jan 19, 2024

HOLDing since I think this will be fixed by #31411

@situchan
Copy link
Contributor

Happy to take this as C+ since I already have context

@cead22 cead22 added Daily KSv2 and removed Reviewing Has a PR in review Monthly KSv2 labels Feb 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 23, 2024
@cead22 cead22 added the External Added to denote the issue can be worked on by a contributor label Feb 23, 2024
Copy link

melvin-bot bot commented Feb 26, 2024

Current assignee @cead22 is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

Copy link

melvin-bot bot commented Feb 26, 2024

📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 26, 2024
@paultsimura
Copy link
Contributor

Thanks. The PR is ready for review: #37232

Copy link

melvin-bot bot commented Feb 27, 2024

⚠️ 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.

@paultsimura
Copy link
Contributor

False alert ☝️

Copy link

melvin-bot bot commented Mar 5, 2024

⚠️ 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.

@paultsimura
Copy link
Contributor

False alert ☝️

@JmillsExpensify JmillsExpensify changed the title [$500] The optimistic transaction thread seems to be incorrect when scanning a receipt. [Violations] [$500] The optimistic transaction thread seems to be incorrect when scanning a receipt. Mar 12, 2024
@JmillsExpensify JmillsExpensify moved this to Release 1: Spring 2024 (May) in [#whatsnext] #expense Mar 12, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 13, 2024
@melvin-bot melvin-bot bot changed the title [Violations] [$500] The optimistic transaction thread seems to be incorrect when scanning a receipt. [HOLD for payment 2024-03-20] [Violations] [$500] The optimistic transaction thread seems to be incorrect when scanning a receipt. Mar 13, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 13, 2024
Copy link

melvin-bot bot commented Mar 13, 2024

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

Copy link

melvin-bot bot commented Mar 13, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.51-3 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-03-20. 🎊

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

Copy link

melvin-bot bot commented Mar 13, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@paultsimura / @situchan] The PR that introduced the bug has been identified. Link to the PR:
  • [@paultsimura / @situchan] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@paultsimura / @situchan] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@paultsimura / @situchan] Determine if we should create a regression test for this bug.
  • [@paultsimura / @situchan] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@zanyrenney] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@JmillsExpensify JmillsExpensify moved this from Release 1: Spring 2024 (May) to Polish in [#whatsnext] #expense Mar 15, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 20, 2024
@zanyrenney
Copy link
Contributor

Payment summary
@paultsimura requires payment automatic offer (Contributor) = PAID $500 ON UPWORK
@situchan requires payment automatic offer (Contributor) PAID $500 ON UPWORK

@github-project-automation github-project-automation bot moved this from Polish to Done in [#whatsnext] #expense Mar 21, 2024
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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
Archived in project
Development

No branches or pull requests

8 participants