"Sidekiq alive" incompatible with Sidekiq 6
Closed this issue · 2 comments
Recently, after an automated bump to Sidekiq 6 from Sidekiq 5.2, workers started raising errors in kubernetes:
uninitialized constant Sidekiq::Logging
Did you mean? Logger
/usr/local/bundle/gems/sidekiq_alive-1.1.0/lib/sidekiq_alive.rb:78:in `logger'
/usr/local/bundle/gems/sidekiq_alive-1.1.0/lib/sidekiq_alive.rb:14:in `block (3 levels) in start'
/usr/local/bundle/gems/sidekiq_alive-1.1.0/lib/sidekiq_alive.rb:13:in `tap'
/usr/local/bundle/gems/sidekiq_alive-1.1.0/lib/sidekiq_alive.rb:13:in `block (2 levels) in start'
/usr/local/bundle/gems/sidekiq-6.0.0/lib/sidekiq/util.rb:61:in `block in fire_event'
/usr/local/bundle/gems/sidekiq-6.0.0/lib/sidekiq/util.rb:60:in `each'
/usr/local/bundle/gems/sidekiq-6.0.0/lib/sidekiq/util.rb:60:in `fire_event'
/usr/local/bundle/gems/sidekiq-6.0.0/lib/sidekiq/cli.rb:75:in `run'
/usr/local/bundle/gems/sidekiq-6.0.0/bin/sidekiq:12:in `<top (required)>'
/usr/local/bundle/bin/sidekiq:23:in `load'
By the log and some investigation seems the error es triggered by the Gem "Sidekiq Alive" that has a hard dependency on "Sidekiq::Logging". I guess Sidekiq 6 stopped exposing it, hence "Sidekiq Alive" blows up.
Sidekiq alive doesn't seem very active, has no newer version adding compatibility to Sidekiq 6 neither raised issues on the error.
Going to raise an issue in "Sidekiq alive" project, but until a new version is released we won't be able to upgrade to Sidekiq v6.
Dependabot
opened another PR to bump sidekiq
today. I've closed the PR and set dependabot
to not open any more for this dependency (for now) to prevent any accidental updates before this issue is resolved.
sidekiq_alive
was fixed at some point in the past and we have subsequently succesfully bumped to the latest version. Closing the issue.