Skip to content

[hold for payment 2025-12-11] [$250] Submit query lingers on other member when switching accounts via copilot #72773

Closed

Description

@m-natarajan

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.2.32-1
Reproducible in staging?: Y
Reproducible in production?: Y
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: @trjExpensify
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Set up accountB as a copilot
  2. Go to Reports > Submit
  3. Go to Settings > switch to accountB
  4. Click the Reports page tab
  5. Observe the from: in the query doesn’t update
  6. Click on the Reports suggested search > then click on Submit suggested search
  7. Observe the from: in the query updates

Expected Result:

When switching to another account via Copilot, the query filters (e.g., from:) should automatically update to reflect the newly active account immediately upon switching — without needing to reselect the search.

Actual Result:

After switching accounts, the “Submit” query lingers with the previous account’s filter until a manual interaction (reselecting the search) occurs.

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
2025-10-14_16-19-36.mp4
Recording.1779.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021978841525789076336
  • Upwork Job ID: 1978841525789076336
  • Last Price Increase: 2025-10-16
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Oct 16, 2025
  2. melvin-bot commented on Oct 16, 2025

    @melvin-bot

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

  3. joekaufmanexpensify commented on Oct 16, 2025

    @joekaufmanexpensify
    Contributor

    I am thinking this will be internal. Confirming in slack

  4. joekaufmanexpensify commented on Oct 16, 2025

    @joekaufmanexpensify
    Contributor

    It is external 👍

  5. added
    ExternalAdded to denote the issue can be worked on by a contributor
    and removed
    InternalRequires API changes or must be handled by Expensify staff
    on Oct 16, 2025
  6. changed the title [-]Submit query lingers on other member when switching accounts via copilot[/-] [+][$250] Submit query lingers on other member when switching accounts via copilot[/+] on Oct 16, 2025
  7. melvin-bot commented on Oct 16, 2025

    @melvin-bot
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Oct 16, 2025
  9. melvin-bot commented on Oct 16, 2025

    @melvin-bot

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

  10. 37 remaining items

  11. jjcoffee commented on Dec 11, 2025

    @jjcoffee
    Contributor

    BugZero Checklist:

    • [Contributor] 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: b17531e#r172566880

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Test:

    1. Login as account A
    2. Go to Reports
    3. Go Account > Switch to account B
    4. Go to Reports again
    5. Verify that the submit query refers to the current user
    6. Switch to account A again
    7. Repeat steps 4-5
    8. Verify that the result is the same

    Do we agree 👍 or 👎

  12. jjcoffee commented on Dec 12, 2025

    @jjcoffee
    Contributor

    @joekaufmanexpensify Just a reminder that this one's due payment 🙏

  13. joekaufmanexpensify commented on Dec 15, 2025

    @joekaufmanexpensify
    Contributor
  14. joekaufmanexpensify commented on Dec 15, 2025

    @joekaufmanexpensify
    Contributor

    All set to pay

  15. joekaufmanexpensify commented on Dec 15, 2025

    @joekaufmanexpensify
    Contributor

    OG upwork job closed so I opened a new one: https://www.upwork.com/jobs/~022000612325351576682

  16. joekaufmanexpensify commented on Dec 15, 2025

    @joekaufmanexpensify
    Contributor

    @paulnjs offer sent in upwork!

  17. joekaufmanexpensify commented on Dec 15, 2025

    @joekaufmanexpensify
    Contributor

    Payment Summary

    • Contributor: @paulnjs due $250 via Upwork
    • Contributor+: @jjcoffee due $250 via NewDot
  18. joekaufmanexpensify commented on Dec 16, 2025

    @joekaufmanexpensify
    Contributor

    @paulnjs $250 sent and contract ended!

  19. joekaufmanexpensify commented on Dec 16, 2025

    @joekaufmanexpensify
    Contributor

    Upwork job closed.

  20. joekaufmanexpensify commented on Dec 16, 2025

    @joekaufmanexpensify
    Contributor

    @jjcoffee please request payment at your earliest convenience. Closing as this is otherwise all set 👍

  21. trjExpensify commented on Dec 17, 2025

    @trjExpensify
    Contributor

    approved $250 for @jjcoffee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions