Skip to content

[Due for payment 2026-11-18] [Perf] Stop room mentions from re-rendering on unrelated report updates #106410

Open

Description

@melvin-bot

MentionReportRenderer subscribes to the entire report_ collection and the full current-chat report, causing unnecessary re-renders when unrelated reports change or new messages arrive.

Proposed change

  • For mentions with a reportid, select only the mentioned report’s ID and name.
  • Select only policyID from the current-chat report.
  • Preserve the full-collection subscription without a selector for legacy mentions without reportid.
  • Leave getReportMentionDetails unchanged and verify compliance with PERF-11.

Validation

Verify unrelated report updates and new chat messages do not re-render mentions, renaming a mentioned room updates its mention, and legacy mentions still resolve correctly.

Draft implementation: #106212
Proposal: https://expensify.slack.com/archives/C05LX9D6E07/p1794221886784729

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. added theissue type on Nov 9, 2026
  2. changed the title [-][Perf] Stop room mentions from re-rendering on unrelated report updates[/-] [+][Due for payment 2026-11-18] [Perf] Stop room mentions from re-rendering on unrelated report updates[/+] on Nov 11, 2026
  3. melvin-bot commented on Nov 11, 2026

    @melvin-bot
    Author

    @Eskalifer1

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.35-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 2026-11-18. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ 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]. If no checklist is needed for this issue, you can click: [no checklist button]

  4. 7 remaining items

  5. expensify-chore-bot commented on Nov 17, 2026

    @expensify-chore-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  6. expensify-chore-bot commented on Nov 17, 2026

    @expensify-chore-bot

    Payment Summary

    Resolving PRs:

    BugZero Checklist (@mallenexpensify)

    • I have confirmed assignees, roles, and Upwork contracts look correct
    • I have paid out Upwork contracts / manual NewDot requests
    • [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon
  7. Eskalifer1 commented on Nov 17, 2026

    @Eskalifer1
    Contributor

    This issue should be paid via ND(as soon as I'm added)

  8. mallenexpensify commented on Nov 19, 2026

    @mallenexpensify
    Contributor

    Claude posting on behalf of Matt:

    Ready. Job price: $175 (standard, no Help Wanted, first work 2026-11-06).

    • Eskalifer1 (Contributor): 100%, via Upwork

    No deploy blockers. Eskalifer1 asks for NewDot, but the handle is not on the Data.php list yet.

    Next: send a manual Upwork offer, then pay. No Caps+Y.

    Evidence
    • Resolving PR 106212: by Eskalifer1, merged 2026-11-09, production 2026-11-11, reviewed by mountiny. No revert.
    • C+ checklist: comment.

    PAYPREP v1

  9. mallenexpensify commented on Nov 20, 2026

    @mallenexpensify
    Contributor

    Need to add @Eskalifer1 to newdot payments

  10. moved this from AWAITING DEPLOYMENT to Done in [#whatsnext] #qualityon Nov 20, 2026
  11. Eskalifer1 commented on Nov 20, 2026

    @Eskalifer1
    Contributor

    Other issues with payment date was reopened(since i'm not added to ND payments yet), so i'm going to reopen this aswell

  12. mallenexpensify commented on Nov 20, 2026

    @mallenexpensify
    Contributor

    Thanks for reopening @Eskalifer1 , didn't mean to close

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

Metadata

Metadata

Labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions