[No QA] Remove duplicate Pusher Ping network requests#64279
Conversation
|
@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] |
src/libs/actions/User.ts
Outdated
| parameters, | ||
| {}, | ||
| { | ||
| checkAndFixConflictingRequest: (persistedRequests) => resolvePusherPingConflictAction(persistedRequests), |
There was a problem hiding this comment.
| checkAndFixConflictingRequest: (persistedRequests) => resolvePusherPingConflictAction(persistedRequests), | |
| checkAndFixConflictingRequest: (persistedRequests) => resolveDuplicationConflictAction(persistedRequests, (request) => request.command === WRITE_COMMANDS.PUSHER_PING), |
@tgolen, I believe this check should suffice here; no need for a custom check here.
There was a problem hiding this comment.
Oh, thank you for pointing that out. I've updated the PR to use it.
|
I don't know why Jest is failing. I've merged |
This reverts commit 3434f6e.
|
@tgolen I have already been assigned this PR automatically by Melvin. Do you need my review on this PR? |
|
Yes, please! You can review it. |
See Slack thread https://expensify.slack.com/archives/C08CZDJFJ77/p1750335496872749 for the context
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2025-06-25.at.00.32.30.mov |
|
@DylanDylann We've decided here to disable the tests in |
|
@arosiclair 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] |
|
🎯 @DylanDylann, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #64937. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.1.72-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 9.1.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.72-10 🚀
|
cc @shubham1206agra
Explanation of Change
This code should detect when multiple PusherPing API commands exist in the network queue and
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/514200
Tests
5and10Offline tests
None, requires a connection.
QA Steps
None, can only be tested locally
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
MacOS: Desktop