chore: update sidekiq-cron and revert temporary compatibility fix

- Update sidekiq-cron from 1.12.0 to 2.3.1 with Rails 7.2 compatibility
- Update sidekiq from 7.3.1 to 7.3.9
- Restore require 'sidekiq/cron/web' as compatibility is now built-in
- Remove temporary FIXME workaround comments
This commit is contained in:
Sojan Jose
2025-08-14 14:15:02 +02:00
parent 8ed8e809e3
commit 3c67d93426
3 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ gem 'sentry-sidekiq', '>= 5.19.0', require: false
##-- background job processing --##
gem 'sidekiq', '>= 7.3.1'
# We want cron jobs
gem 'sidekiq-cron', '>= 1.12.0'
gem 'sidekiq-cron', '>= 2.3.1'
# for sidekiq healthcheck
gem 'sidekiq_alive'
+13 -8
View File
@@ -157,6 +157,9 @@ GEM
bigdecimal
rexml
crass (1.0.6)
cronex (0.15.0)
tzinfo
unicode (>= 0.4.4.5)
csv (3.3.0)
csv-safe (3.3.1)
csv (~> 3.0)
@@ -210,7 +213,7 @@ GEM
email_reply_trimmer (0.1.13)
erb (5.0.2)
erubi (1.13.1)
et-orbi (1.2.11)
et-orbi (1.3.0)
tzinfo
event_stream_parser (1.0.0)
execjs (2.8.1)
@@ -615,7 +618,7 @@ GEM
psych (>= 4.0.0)
redis (5.0.6)
redis-client (>= 0.9.0)
redis-client (0.22.2)
redis-client (0.25.2)
connection_pool
redis-namespace (1.10.0)
redis (>= 4)
@@ -761,16 +764,17 @@ GEM
zeitwerk (~> 2.5)
shoulda-matchers (5.3.0)
activesupport (>= 5.2.0)
sidekiq (7.3.1)
concurrent-ruby (< 2)
sidekiq (7.3.9)
base64
connection_pool (>= 2.3.0)
logger
rack (>= 2.2.4)
redis-client (>= 0.22.2)
sidekiq-cron (1.12.0)
fugit (~> 1.8)
sidekiq-cron (2.3.1)
cronex (>= 0.13.0)
fugit (~> 1.8, >= 1.11.1)
globalid (>= 1.0.1)
sidekiq (>= 6)
sidekiq (>= 6.5.0)
sidekiq_alive (2.5.0)
gserver (~> 0.0.1)
sidekiq (>= 5, < 9)
@@ -836,6 +840,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode (0.4.4.5)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
@@ -1004,7 +1009,7 @@ DEPENDENCIES
shopify_api
shoulda-matchers
sidekiq (>= 7.3.1)
sidekiq-cron (>= 1.12.0)
sidekiq-cron (>= 2.3.1)
sidekiq_alive
simplecov (= 0.17.1)
slack-ruby-client (~> 2.5.2)
+1 -3
View File
@@ -524,9 +524,7 @@ Rails.application.routes.draw do
# ----------------------------------------------------------------------
# Internal Monitoring Routes
require 'sidekiq/web'
# FIXME: remove after https://github.com/sidekiq-cron/sidekiq-cron/pull/531/files is merged
# We need before we merge the PR
# require 'sidekiq/cron/web'
require 'sidekiq/cron/web'
devise_for :super_admins, path: 'super_admin', controllers: { sessions: 'super_admin/devise/sessions' }
devise_scope :super_admin do