Part 5: Remove Onyx.connect() for the key: ONYXKEYS.SESSION in src/libs/ReportUtils.ts - #100450
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
dylanexpensify
left a comment
There was a problem hiding this comment.
Looks good from a product perspective 👍
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-09-17.at.14.26.40.mov |
Yeah, that's expected here. When two internal engineers are assigned, it just means both need to review before this can merge. No redundant pings, we're both actually reviewing it 🙂 |
|
What I mean is that having two engineers assigned to the linked issue looks like a mistake. From my check, Mollfpr reviewed PR-1, and Pecanoro reviewed PR-2 (this appears to be a mistake by Melvin, since Mollfpr should have reviewed this PR). Then Pecanoro self-assigned to the issue, meaning all subsequent PRs now require both of you as reviewers, even though we only need one reviewer per PR Please disregard this if everything is fine with you 😄 |
|
@DylanDylann Don't worry about it! 😄 |
|
🚧 pecanoro has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.4.82-0 🚀
|
|
No help site changes are required for this PR, so I did not create a docs PR. This is a behavior-neutral refactor for Remove all remaining What I checkedThe diff (4 files):
The help site: the only article covering this flow is Chat Features and Moderation Tools (published page). Its Flag a Chat Message section describes hovering a message, opening the menu, choosing Flag as offensive, and picking a severity. Every one of those steps still holds after this PR, so there is nothing to update. Since there is no docs PR to link, there is nothing for you to review on the help site side. If you would still like an article refresh — for example, spelling out that you can't flag your own messages or Concierge messages, which the article doesn't currently mention — reply and I'll open the draft PR. |
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.4.86-0 🚀
|
|
🤖 No help site changes required — so I did not create a draft docs PR. This PR is an internal refactor. It removes the module-level How I confirmed thisThe user-facing rules are identical. Before, the account ID came from the deprecated session subscription when the argument was omitted. Now every caller supplies it:
Those are the only two callers in The relevant article is already accurate. The article never documented the edge cases this PR adds test coverage for (whispers, thread parent actions, admins-only rooms, auditor permissions), and it shouldn't — those are internal conditions, not steps a customer follows. Since there is no docs PR to review, there is nothing for you to mark |
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.4.89-0 🚀
|
|
🤖 Still no help site changes required — no draft docs PR created. Nothing has changed since my earlier review: the PR is merged with the same four files, and it is a behavior-neutral refactor. It swaps the module-level
There is no docs PR to mark |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.89-0 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Fixed Issues
$ #66412
PROPOSAL:
Tests
Setup: two accounts, A and B, in the same DM or workspace room; sign in as A.
Offline tests
QA Steps
Please refer to Tests section
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-09-07.at.00.43.48.mov