Skip to content

Conversation

thomasleese
Copy link
Contributor

This updates the jobs which send emails and text messages to use Sidekiq as part of our general move towards using Sidekiq instead of Good Job. This allows us to get automatic job failure retries and also allows us to enable rate limiting to match GOV.UK Notify's rate limit.

@thomasleese thomasleese added this to the v3.4.0 milestone Sep 3, 2025
@thomasleese thomasleese requested a review from a team as a code owner September 3, 2025 18:01
@thomasleese thomasleese added the operations Improving live support label Sep 3, 2025
@thomasleese thomasleese requested a review from misaka September 3, 2025 18:01
@thomasleese thomasleese force-pushed the sidekiq-email-sms branch 6 times, most recently from 1598018 to 1551b30 Compare September 4, 2025 10:30
This moves the jobs related to sending emails and SMSs to use Sidekiq
instead of Good Job as part of our general move towards Sidekiq.
This limits the number of requests we send to GOV.UK Notify each minute
to ensure that we stay within their rate limits. If we were to breach
these limits, the jobs would keep retrying until they succeed.
In test and QA we send emails using team API keys, which fails for most
users but will allow emails and SMSs to be sent to users in the guest
list. This change will prevent these failures from causing the jobs to
be retried and instead the job is considered a success.
Copy link

sonarqubecloud bot commented Sep 4, 2025

@thomasleese thomasleese merged commit 66b6942 into next Sep 4, 2025
13 checks passed
@thomasleese thomasleese deleted the sidekiq-email-sms branch September 4, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operations Improving live support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants