After #19666, we send notifications asynchronously. However, this has dramatically delayed the different post-send warnings we send. This change moves all the post-send warnings logic from `Chat::ChatNotifier` into a separate service, allowing us to run this part synchronously, displaying the warnings almost instantly without doing all the heavy lifting for sending notifications. It also simplifies the notifier, making another refactor we planned simpler. Finally, this removes the need to run jobs on the system specs that test the post-warning logic, hopefully making them faster. |
||
|---|---|---|
| .. | ||
| chat | ||
| discourse-details | ||
| discourse-local-dates | ||
| discourse-narrative-bot | ||
| discourse-presence | ||
| lazy-yt | ||
| poll | ||
| styleguide | ||