The order of events is not fixed, and slow message processing can result in the message not being added to a thread after the run as harded.
How to reproduce
You can add a voice message to a channel and @-mention Sam.
Technical Notes
The processing of a mention, needs to hold until the message has been processed. A lock, based on the message Slack message ID would resolve this issue. Redis, which we already use implements a lock.
Error description
The order of events is not fixed, and slow message processing can result in the message not being added to a thread after the run as harded.
How to reproduce
You can add a voice message to a channel and
@
-mention Sam.Technical Notes
The processing of a mention, needs to hold until the message has been processed. A lock, based on the message Slack message ID would resolve this issue. Redis, which we already use implements a lock.