Skip to content

Sending two messages at the same and having the first fail still sends the second #22885

@turt2live

Description

@turt2live

Steps to reproduce

  1. Send two messages
  2. Ensure your server fails to send the first
  3. Watch the second get sent (it should be blocked due to the error on the first)
  4. Send another message
  5. That message gets appropriately gated by the failed message

Outcome

What did you expect?

3 of my messages to fail to send, not 2.

What happened instead?

image

The first message sent okay. After it was sent, a new batch of messages was started: the second and third were sent at roughly the same time and due to a server crashing slowly ended up blocked for long enough to work. Once the second failed to send and the third sent, I started a new message (fourth) which appropriately got marked as failed to send.

Resolved by manually re-queuing the messages in the order I wanted them, and screenshotting the messages so the receipients knew what was going on :)

(this is what makes this bug nasty: we have a lot of code which tries to make sure order is preserved, and it broke that guarantee here, making the app lose a bit of user trust that it can safely send messages)

Operating system

Windows 10

Application version

No response

How did you install the app?

No response

Homeserver

t2l.io

Will you send logs?

Yes

Metadata

Metadata

Assignees

Labels

A-TimelineO-UncommonMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectTeam: AppZ-Chronic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions