Skip to content

[Due for payment 2025-03-24] [Due for payment 2025-03-03] [$250] Unable to clear the RBR from the archived workspace chat #56724

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

Closed
1 of 8 tasks
m-natarajan opened this issue Feb 12, 2025 · 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 Feb 12, 2025

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:
Reproducible in staging?: needs reproduction
Reproducible in production?: need reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @quinthar
Slack conversation (hyperlinked to channel name): quality

Action Performed:

  1. Have some expenses with RBR in the workspace chat
  2. Archive the workspace chat
  3. Open the expense and try to remove the RBR

Expected Result:

Should be able to clear the RBR

Actual Result:

Not able to clear the RBR from the workspace chat

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

Please refer to OP in slack for screenshots

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021891200627941812784
  • Upwork Job ID: 1891200627941812784
  • Last Price Increase: 2025-02-16
  • Automatic offers:
    • thelullabyy | Contributor | 106153410
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @strepanier03
@m-natarajan m-natarajan added AutoAssignerNewDotQuality Used to assign quality issues to engineers Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Needs Reproduction Reproducible steps needed labels Feb 12, 2025
Copy link

melvin-bot bot commented Feb 12, 2025

Triggered auto assignment to @strepanier03 (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 Feb 12, 2025

Triggered auto assignment to @MariaHCD (AutoAssignerNewDotQuality)

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Feb 12, 2025
@MelvinBot
Copy link

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

@s77rt
Copy link
Contributor

s77rt commented Feb 12, 2025

I can reproduce. The only way to clear the RBR is to open all the RBR expenses

Screen.Recording.2025-02-12.at.1.11.51.PM.mov

@thelullabyy
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

  • Not able to clear the RBR from the workspace chat

What is the root cause of that problem?

  • In the function responsible for displaying the RBR in the LHN, the current implementation

    function getReasonAndReportActionThatHasRedBrickRoad(

    does not account for whether the report is archived.

  • Currently, the only way to clear the RBR is by opening all expenses associated with it. The backend (BE) will then clear the transaction violation in the response of the OpenReport API call.

What changes do you think we should make in order to solve the problem?

  • We can prevent displaying the RBR if the report is archived. So in this line we can return null if isArchivedReportWithID(report.reportID) is true.

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

  • We can simulate the report with transaction violations and it is archived then verify whether the RBR is shown.

What alternative solutions did you explore? (Optional)

  • We can also hide the RBR in the ReportPreview, MoneyRequestPreviewContent by checking whether the report is archived.

@melvin-bot melvin-bot bot added the Overdue label Feb 14, 2025
@melvin-bot melvin-bot bot removed the Overdue label Feb 16, 2025
@mallenexpensify mallenexpensify added External Added to denote the issue can be worked on by a contributor and removed Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. AutoAssignerNewDotQuality Used to assign quality issues to engineers labels Feb 16, 2025
Copy link

melvin-bot bot commented Feb 16, 2025

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

@melvin-bot melvin-bot bot changed the title Unable to clear the RBR from the archived workspace chat [$250] Unable to clear the RBR from the archived workspace chat Feb 16, 2025
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 16, 2025
Copy link

melvin-bot bot commented Feb 16, 2025

Current assignee @s77rt is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 16, 2025
@mallenexpensify mallenexpensify added Bug Something is broken. Auto assigns a BugZero manager. Help Wanted Apply this label when an issue is open to proposals by contributors and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Feb 16, 2025
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 3, 2025
@mallenexpensify
Copy link
Contributor

Contributor: @thelullabyy paid $250 via Upwork
Contributor+: @s77rt due $250 via NewDot.

@s77rt can you please fill out the Regression Test Proposal Template in the BZ checklist so I can get a test case created or updated? Thx

@s77rt
Copy link
Contributor

s77rt commented Mar 5, 2025

@mallenexpensify Is a regression test still needed if an automated test is created? I think not as the automated test would be equally effective as a manual one

@s77rt
Copy link
Contributor

s77rt commented Mar 5, 2025

cc @thelullabyy Can you prioritize the automated test PR on this?

@thelullabyy
Copy link
Contributor

@s77rt I'm currently working on it and will be raising the PR soon.

@thelullabyy
Copy link
Contributor

thelullabyy commented Mar 5, 2025

@s77rt I've created PR add automated test. Please help to check. Thanks

@s77rt
Copy link
Contributor

s77rt commented Mar 14, 2025

test PR is merged. This should be ready for payment

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Mar 17, 2025
@melvin-bot melvin-bot bot changed the title [Due for payment 2025-03-03] [$250] Unable to clear the RBR from the archived workspace chat [Due for payment 2025-03-24] [Due for payment 2025-03-03] [$250] Unable to clear the RBR from the archived workspace chat Mar 17, 2025
Copy link

melvin-bot bot commented Mar 17, 2025

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 17, 2025
Copy link

melvin-bot bot commented Mar 17, 2025

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

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

Copy link

melvin-bot bot commented Mar 17, 2025

@s77rt @strepanier03 @s77rt 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 the Overdue label Mar 26, 2025
@strepanier03 strepanier03 added Daily KSv2 and removed Weekly KSv2 labels Mar 26, 2025
@melvin-bot melvin-bot bot removed the Overdue label Mar 26, 2025
@strepanier03
Copy link
Contributor

@s77rt - Can you take care of the checklist for this one? Then I can do the payment summary.

@thelullabyy - Sorry I missed this sitting in weekly, not sure why it didn't flip over to daily. I'll handle the payment today so you'll be all set.

@strepanier03
Copy link
Contributor

Hmmm, @thelullabyy - The contract was already paid and closed when I tried to action it, not sure how that happened. If you're seeing anything different let me know.

@s77rt
Copy link
Contributor

s77rt commented Mar 26, 2025

@strepanier03 checklist done in #56724 (comment) and @thelullabyy has been already paid based on #56724 (comment)

@strepanier03
Copy link
Contributor

strepanier03 commented Mar 26, 2025

Payment Summary

@JmillsExpensify
Copy link

$250 approved for @s77rt

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
Status: Done
Development

No branches or pull requests

9 participants