Ara Hacopian
Ara Hacopian
Question: Is it possible to run a step (or await on a job) that is not run inside the "acidic" transaction. Use case: Let's say we want to fetch a...
When used with GoodJob, retrying a failed job raises a NoMethodError: "undefined method `utc' for an instance of Float". Backtrace: ``` Error: RetryJobTest#test_job_with_AcidicJob_mixed_in_raises_on_retry_with_GoodJob: NoMethodError: undefined method `utc' for an instance...
This change prevents a `NoMethodError` when retrying jobs or scheduling jobs with `set(wait: ...)` for adapters like GoodJob and Solid Queue. Fixes #92. I added a test to check that...
This resolves an issue with the ActiveRecord SQLite adapter, which raises an error when the lambda contains values that don't respond to match?. https://github.com/rails/rails/blob/e1d58cfd05ae1cc0bfc1006b7ce973a7730831df/activerecord/lib/active_record/connection_adapters/sqlite3/quoting.rb#L89 Fixes https://github.com/fractaledmind/acidic_job/issues/95 Sorry about the noise...
The CreateAcidicJobRuns migration defines the default on the staging column with a lambda that returns a boolean. The ActiveRecord SQLite adapter implicitly requires procs to return strings, because it calls...
Unfortunately, it seems like the "Await Job" feature doesn't work with GoodJob. GoodJob will raise an exception if a job's job_id is not equal to it's provider_job_id. https://github.com/bensheldon/good_job/blob/9a781889eb6c66d713695352e4bfd509f96bc70b/app/models/good_job/job.rb#L370 It appears...