From 7d0ae6cecda685022dc9d23ff19ac2980ec757cc Mon Sep 17 00:00:00 2001 From: Bruce Bolt Date: Mon, 23 Sep 2024 13:26:51 +0100 Subject: [PATCH] Pin `sidekiq-unique-jobs` to version 8.0.7 or earlier A [bug in version 8.0.8](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/846) means jobs never get processed when using `until_and_while_executing` lock type. Therefore pinning to use an earlier version that does not have this issue. --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index fad41a79..fe9e91eb 100644 --- a/Gemfile +++ b/Gemfile @@ -20,7 +20,7 @@ gem "plek" gem "rack_strip_client_ip" gem "rails-controller-testing" gem "sentry-sidekiq" -gem "sidekiq-unique-jobs" +gem "sidekiq-unique-jobs", "< 8.0.8" gem "sprockets-rails" gem "state_machines-mongoid" diff --git a/Gemfile.lock b/Gemfile.lock index cd722d92..79492ff2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -684,7 +684,7 @@ GEM logger rack (>= 2.2.4) redis-client (>= 0.22.2) - sidekiq-unique-jobs (8.0.10) + sidekiq-unique-jobs (8.0.7) concurrent-ruby (~> 1.0, >= 1.0.5) sidekiq (>= 7.0.0, < 8.0.0) thor (>= 1.0, < 3.0) @@ -781,7 +781,7 @@ DEPENDENCIES rspec-sidekiq rubocop-govuk sentry-sidekiq - sidekiq-unique-jobs + sidekiq-unique-jobs (< 8.0.8) simplecov sprockets-rails state_machines-mongoid