element-hq / element-hq/element-web

hitting 'resend' on queued messages can still send in the wrong order

Open
#18,942 3 comments 1 reaction 1 assignee Claimed by @justjanne View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.