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-08-01] [$250] Expense report - System message "randomly selected for review" displayed with markdown #45141

Closed
2 of 6 tasks
izarutskaya opened this issue Jul 10, 2024 · 37 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 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@izarutskaya
Copy link

izarutskaya commented Jul 10, 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: 9.0.5-5
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4703834
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-internal team

Action Performed:

Rrecondition: user A is set as admin-approver and user B is a member of a workspace, as a workspace admin set Randomly route reports for manual approval in OD to 50%. Also in Reports tab "How often expenses submit :' choose "Weekly"

  1. [user B] On secondary device submit 2 expense reports with the same expenses to trigger manual review system message
  2. [user A] Open the app and log in
  3. [user A] Navigate to the workspace chat
  4. [user A] Open the first submitted report with the same expense

Expected Result:

The system message "This report was randomly selected for manual review" is displayed without markdown

Actual Result:

The system message is displayed with the markdown

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

Bug6536597_1720506318486.IMG_8051.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01642f4710fbdb092e
  • Upwork Job ID: 1811525296681690453
  • Last Price Increase: 2024-07-18
Issue OwnerCurrent Issue Owner: @stephanieelliott
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Triggered auto assignment to @stephanieelliott (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.

Copy link

melvin-bot bot commented Jul 10, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jul 10, 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.

@izarutskaya
Copy link
Author

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

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@izarutskaya
Copy link
Author

Production

Recording.586.mp4

@danieldoglas
Copy link
Contributor

Removing DeployBlocker from the backend since I don't think this is a backend issue

@danieldoglas danieldoglas removed the DeployBlocker Indicates it should block deploying the API label Jul 10, 2024
@Julesssss Julesssss added Daily KSv2 Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Current assignee @nkuoch is eligible for the DeployBlockerCash assigner, not assigning anyone new.

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.

@Julesssss
Copy link
Contributor

Damn. On second thoughts I think this should be a blocker 😭

@Julesssss
Copy link
Contributor

After discussing here we are treating this as a non-blocker.

@Julesssss Julesssss added Daily KSv2 and removed Hourly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot added the Weekly KSv2 label Jul 20, 2024
@bernhardoj
Copy link
Contributor

PR is ready

cc: @Pujan92

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 25, 2024
@melvin-bot melvin-bot bot changed the title [$250] Expense report - System message "randomly selected for review" displayed with markdown [HOLD for payment 2024-08-01] [$250] Expense report - System message "randomly selected for review" displayed with markdown Jul 25, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 25, 2024
Copy link

melvin-bot bot commented Jul 25, 2024

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

Copy link

melvin-bot bot commented Jul 25, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-5 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-08-01. 🎊

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

  • @Pujan92 requires payment through NewDot Manual Requests
  • @bernhardoj requires payment through NewDot Manual Requests

Copy link

melvin-bot bot commented Jul 25, 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:

  • [@Pujan92] The PR that introduced the bug has been identified. Link to the PR:
  • [@Pujan92] 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:
  • [@Pujan92] 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:
  • [@Pujan92] Determine if we should create a regression test for this bug.
  • [@Pujan92] 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.
  • [@stephanieelliott] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jul 31, 2024
Copy link

melvin-bot bot commented Aug 1, 2024

Payment Summary

Upwork Job

BugZero Checklist (@stephanieelliott)

  • 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/1811525296681690453/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@bernhardoj
Copy link
Contributor

Requested in ND.

@stephanieelliott
Copy link
Contributor

Summarizing payment on this issue:

  • Contributor: @Pujan92 $250, please request via NewDot
  • Contributor+: @bernhardoj $250, please request via NewDot

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2024
@JmillsExpensify
Copy link

$250 approved for @Pujan92

@JmillsExpensify
Copy link

$250 approved for @bernhardoj

@melvin-bot melvin-bot bot added the Overdue label Aug 5, 2024
Copy link

melvin-bot bot commented Aug 5, 2024

@nkuoch, @Pujan92, @stephanieelliott, @bernhardoj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@stephanieelliott
Copy link
Contributor

Hey @Pujan92 this is just waiting for you to complete the BZ checklist!

@melvin-bot melvin-bot bot removed the Overdue label Aug 6, 2024
@stephanieelliott
Copy link
Contributor

Bump here @Pujan92, can you please complete the BZ checklist?

@Pujan92
Copy link
Contributor

Pujan92 commented Aug 8, 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:

Regression Test Steps

  1. [user A] Invite user B to the workspace
  2. [user B] Submit two expenses in that workspace with the similar details to trigger a manual review system message
  3. [user A] Navigate to the workspace chat
  4. [user A] Open the submitted report
  5. [user A] Verify the "randomly selected for review" message isn't rendered in markdown form

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

melvin-bot bot commented Aug 13, 2024

@nkuoch, @Pujan92, @stephanieelliott, @bernhardoj Huh... This is 4 days overdue. Who can take care of this?

@stephanieelliott
Copy link
Contributor

Issue created for new test case: https://github.com/Expensify/Expensify/issues/420217

All done here, thanks!

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 Engineering External Added to denote the issue can be worked on by a contributor
Projects
Status: Done
Development

No branches or pull requests

9 participants