Ben Sheldon [he/him]
Ben Sheldon [he/him]
``` 1) GoodJob.restart does nothing when there are no capsule instances Failure/Error: expect(GoodJob::Capsule.instances).to be_empty expected `[#"localhost", "CHROMEWEBDRIVER"=>"/usr/local/share/chrome_driver", "RUNNER_USER"=>"runner", "SWIFT_PATH"=>"/usr/share/swift/usr/bin", "ANDROID_SDK_ROOT"=>"/usr/local/lib/android/sdk", "JAVA_HOME"=>"/usr/lib/jvm/temurin-11-jdk-amd64", "ANDROID_NDK_HOME"=>"/usr/local/lib/android/sdk/ndk/25.2.9519653", "APPRAISAL_INITIALIZED"=>"1", "GITHUB_WORKFLOW"=>"Test", "STATS_RDCL"=>"true", "ANDROID_NDK_ROOT"=>"/usr/local/lib/android/sdk/ndk/25.2.9519653", "PIPX_BIN_DIR"=>"/opt/pipx_bin", "GITHUB_ACTIONS"=>"true", "JAVA_HOME_17_X64"=>"/usr/lib/jvm/temurin-17-jdk-amd64", "GITHUB_ENV"=>"/home/runner/work/_temp/_runner_file_commands/set_env_c23d81ae-061c-4387-a9c3-3bc5bf50fa44",...
From poking at this in #915: - TIL stubbed objects are still active in RSpec `after` blocks - One theory was the problem was that threads were lingering beyond the...
@dmolesUC glad you found a workaround 👍 you can also use `GoodJob.shutdown` to shut them down too. Are you intentionally running the adapter in `async` execution mode? By default GoodJob...
@mroach oh no, sorry I overlooked this and didn't reply earlier 😞 It's possible for a job to get stuck in this loop if the OOM happens while Active Job...
@isaac hmm, that's a new one to me for GoodJob! I've seen that error before on other projects, which is a sign of autoloading problems. Can you try running `bin/rails...
I should also ask, are you referencing `GoodJob::Execution` somewhere else in your application code (possibly to update the database configuration or something in an initializer?)
Sorry that you ran into that rough edge! The current behavior of not autoloading intentionally makes Rails boot as fast as possible in Development. Directionally in Rails, we're trying to...
In terms of documentation, I don't really want to _recommend_ that people use the workaround. It's more like "fyi, GoodJob won't start until Active Record and Active Job are loaded,...
@isaac that's such a helpful explanation! Thank you! If you can remember back to your first-experience, if I added this explanation and code snippet to the Readme, where do you...
@isaac Just wanted to thank you again for opening this issue. I think I finally came around to the necessity of addressing this, and there should be a fix in...