element-hq / element-hq/element-web
hitting 'resend' on queued messages can still send in the wrong order
Open
A-Timeline
O-Uncommon
S-Major
T-Defect
Team: App
Z-Chronic
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
i'm on bad connectivity on a train. i sent 4 messages in a row. the first and fourth(?!) entered error state; the 2nd and 3rd were still pending. I hit retry to resend the failed ones; they end up sending in order 4,2,3,1. It feels like we should serialise the message sending so that the ordering is preserved and ensure that if one message gets stuck, it blocks subsequent ones, to avoid this miserable failure mode
Contributor guide
Assessment
This issue has not been assessed yet.