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-12-07] [HOLD for payment 2024-12-05] Submit expense - Next Steps shows "Waiting for You to pay" when payment is blocked by violations #53163

Closed
2 of 8 tasks
IuliiaHerets opened this issue Nov 26, 2024 · 17 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 26, 2024

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


Version Number: 9.0.67-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Create workspace
  3. Go to categories > settings > enable "Members must categorize all expenses"
  4. Go to the workspace chat and submit an expense
  5. Click on the expense preview then see the next steps.

Expected Result:

The next steps should ask the user to fix the violation instead of stating "Waiting for You to pay."

Actual Result:

The next steps message displays "Waiting for You to pay expense(s)" even when payment is blocked due to a violation.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6677287_1732646867926.bandicam_2024-11-26_21-45-13-469.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @OfstadC
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

Triggered auto assignment to @OfstadC (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Daily KSv2 label Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

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

Copy link

melvin-bot bot commented Nov 26, 2024

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 26, 2024
Copy link
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.

@mountiny
Copy link
Contributor

Screen.Recording.2024-11-26.at.20.56.11.mp4

@IuliiaHerets @kavimuru, I could repro this in production. Did the tester test this change in production before labelling it as a blocker?

Gonna remove the label, but we should look into it.

I assume the problem is that its the admin/policy owner and the submitter all in one so probably the logic is incorrectly picking priority.

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Nov 26, 2024
@IuliiaHerets
Copy link
Author

@mountiny In prod, the Pay button is available but on stg payment is blocked when there is a violation.

@IuliiaHerets
Copy link
Author

@mountiny Tester shared the video

bandicam.2024-11-27.08-26-19-125.mp4

@flodnv flodnv added the DeployBlockerCash This issue or pull request should block deployment label Nov 27, 2024
@flodnv
Copy link
Contributor

flodnv commented Nov 27, 2024

@github-actions github-actions bot added Hourly KSv2 and removed Daily KSv2 labels Nov 27, 2024
Copy link
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.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Nov 27, 2024
@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Nov 27, 2024
@mountiny
Copy link
Contributor

Revert being CPed

@mountiny mountiny self-assigned this Nov 27, 2024
@flodnv
Copy link
Contributor

flodnv commented Nov 28, 2024

Cool, can we close this?

@mountiny
Copy link
Contributor

Original PR was reverted so we will handle it back in this issue #50479 cc @abzokhattab @hoangzinh you might have to wait for after thanksgiving for the internal people to come back to see what are the next steps on that issue

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 28, 2024
@melvin-bot melvin-bot bot changed the title Submit expense - Next Steps shows "Waiting for You to pay" when payment is blocked by violations [HOLD for payment 2024-12-05] Submit expense - Next Steps shows "Waiting for You to pay" when payment is blocked by violations Nov 28, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

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

Copy link

melvin-bot bot commented Nov 28, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 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-12-05. 🎊

Copy link

melvin-bot bot commented Nov 28, 2024

@flodnv / @mountiny @OfstadC @flodnv / @mountiny The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 30, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-12-05] Submit expense - Next Steps shows "Waiting for You to pay" when payment is blocked by violations [HOLD for payment 2024-12-07] [HOLD for payment 2024-12-05] Submit expense - Next Steps shows "Waiting for You to pay" when payment is blocked by violations Nov 30, 2024
Copy link

melvin-bot bot commented Nov 30, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.68-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-12-07. 🎊

Copy link

melvin-bot bot commented Nov 30, 2024

@flodnv / @mountiny @OfstadC @flodnv / @mountiny The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

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. Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

4 participants