From 17da1291478ea74b3784e8bf1c1405eea88e45c6 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 83cafa4d..0a523a36 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 041ffd0a..18b0dc66 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -678,7 +678,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) @@ -775,7 +775,7 @@ DEPENDENCIES rspec-sidekiq rubocop-govuk sentry-sidekiq - sidekiq-unique-jobs + sidekiq-unique-jobs (< 8.0.8) simplecov sprockets-rails state_machines-mongoid