Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GoodJob] Notifier errored: NameError: uninitialized constant GoodJob::Job in develpment #1571

Open
tdegrunt opened this issue Jan 9, 2025 · 0 comments

Comments

@tdegrunt
Copy link

tdegrunt commented Jan 9, 2025

Thanks for such a great tool, really loving the gem!

I'm seeing the following in development mode, these errors are intermittent.
After restart of good_job they disappear, but they always come back after some time.
Not sure what's the cause of this, do you have any idea? Could it be the rails reloader?

This is what I'm seeing in my (overmind) logs:

"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/good_job-4.4.2/lib/good_job/notifier.rb:257:in `block in with_connection'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-7.1.5.1/lib/active_support/execution_wrapper.rb:92:in `wrap'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/good_job-4.4.2/lib/good_job/notifier.rb:256:in `with_connection'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/good_job-4.4.2/lib/good_job/notifier.rb:204:in `block in create_listen_task'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:98:in `block in ns_post_task'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'", "<internal:kernel>:187:in `loop'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'", 
"/Users/tdegrunt/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

1 participant