I recently had need to check the status of a Sidekiq job in a Rails project with Sidekiq 8. I added the Sidekiq Status gem to by Gemfile and then everything broke. After doing some digging I realized that this was happening because Sidekiq 8 had a number of breaking changes in how plugins are handled.
I created a patch for myself to allow the app to boot but there are still a number of things that don’t work. I’m finally getting back to this and I’ve got core features related to the web interface working with the new patterns defined in Sidekiq 8. There’s more to do but I have a stable branch that can be used in projects for now.
I’ll just repost what I said in this Sidekiq 8 thread here.
If you want something that works now but needs some refinement you can pin my version in your Gemfile. Here is what I’m currently using in an app of mine: gem 'sidekiq-status', github: 'eddorre/sidekiq-status', branch: 'sidekiq-8-support'
.
The branch sidekiq-8-support
will have active development on it but I will endeavor not to ship breaking changes to it. For those that want to use it but need stability you can pin it to a specific ref like so:
gem 'sidekiq-status', github: 'eddorre/sidekiq-status', branch: 'sidekiq-8-support', ref: '7e048b3feb4d8b3cbe7a52a8039d2d68959bd0e6'
.
Currently the gem version stays the same but should eventually go up to the next major release (4.0) when it is fully compatible with Sidekiq 8.