You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError:
Job is not a class
/usr/local/bundle/ruby/2.7.0/gems/sidekiq-6.3.1/lib/sidekiq/job.rb:12: previous definition of Job was here
# /usr/local/bundle/ruby/2.7.0/gems/sidekiq-unique-jobs-7.1.5/lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb:72:in `<module:Sidekiq>'
# /usr/local/bundle/ruby/2.7.0/gems/sidekiq-unique-jobs-7.1.5/lib/sidekiq_unique_jobs/sidekiq_unique_ext.rb:8:in `<top (required)>'
# /usr/local/bundle/ruby/2.7.0/gems/sidekiq-unique-jobs-7.1.5/lib/sidekiq_unique_jobs.rb:71:in `require'
# /usr/local/bundle/ruby/2.7.0/gems/sidekiq-unique-jobs-7.1.5/lib/sidekiq_unique_jobs.rb:71:in `<top (required)>'
# /usr/local/bundle/ruby/2.7.0/gems/sidekiq-unique-jobs-7.1.5/lib/sidekiq-unique-jobs.rb:3:in `require'
# /usr/local/bundle/ruby/2.7.0/gems/sidekiq-unique-jobs-7.1.5/lib/sidekiq-unique-jobs.rb:3:in `<top (required)>'
When running the test suite.
Expected behavior
require 'sidekiq'
require "sidekiq-unique-jobs"
Can be required together without type error clashes
Current behavior
Requiring sidekiq version 6.3.0 and above and sidekiq-uniq-jobs 7.1.5 is raising an error in my application.
Additional Context
The require statements are included in my spec_helper file to assist with booting the application when running our test suite in a dockerized environment.
Please let me know how I can help or if there's any other information I can provide to address this issue!
The text was updated successfully, but these errors were encountered:
Describe the bug
in Sidkiq 6.3.0 (https://my.diffend.io/gems/sidekiq/6.2.0/6.3.1) the
class Job
was renamed toclass JobRecord
and a newmodule Job
was added as an alias.When requiring both
I now get the following error in my application
When running the test suite.
Expected behavior
Can be required together without type error clashes
Current behavior
Requiring sidekiq version 6.3.0 and above and sidekiq-uniq-jobs 7.1.5 is raising an error in my application.
Additional Context
The
require
statements are included in myspec_helper
file to assist with booting the application when running our test suite in a dockerized environment.Please let me know how I can help or if there's any other information I can provide to address this issue!
The text was updated successfully, but these errors were encountered: