Page MenuHomePhabricator

[lib] implement retrying DM text messages
ClosedPublic

Authored by kamil on Aug 23 2024, 7:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 2:25 PM
Unknown Object (File)
Wed, Dec 18, 2:25 PM
Unknown Object (File)
Wed, Dec 18, 2:25 PM
Unknown Object (File)
Wed, Dec 18, 2:25 PM
Unknown Object (File)
Wed, Dec 18, 2:25 PM
Unknown Object (File)
Tue, Dec 17, 8:10 PM
Unknown Object (File)
Fri, Nov 29, 3:35 AM
Unknown Object (File)
Fri, Nov 29, 3:25 AM
Subscribers

Details

Summary

ENG-8423.

Am alternative is to implement this in InputStateContainer, but will require a lot more changes and I don't think it's better.

Depends on D13160

Test Plan

Test retrying message

Note: This stack is tested end-to-end according to the process described here.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 23 2024, 7:28 AM
kamil added inline comments.
lib/shared/dm-ops/process-dm-ops.js
274 ↗(On Diff #43618)
tomek added inline comments.
native/chat/failed-send.react.js
155 ↗(On Diff #43618)

Should we add some protection about multiple retries of the same messages being run simultaneously?

This revision is now accepted and ready to land.Aug 26 2024, 4:42 AM
native/chat/failed-send.react.js
155 ↗(On Diff #43618)

I think this is implemented here using retryingText

This revision was landed with ongoing or failed builds.Aug 26 2024, 9:05 AM
This revision was automatically updated to reflect the committed changes.