Shopify / job-iteration

Makes your background jobs interruptible and resumable by design.
https://www.rubydoc.info/gems/job-iteration
MIT License
1.15k stars 45 forks source link

Add interruption adapter for Solid Queue #505

Closed Mangara closed 2 months ago

Mangara commented 2 months ago

Resolves https://github.com/Shopify/job-iteration/issues/496

This PR adds an interruption adapter for Solid Queue. This will be the default Active Job back-end starting in Rails 8, so it's important that job-iteration works with it out of the box.

We can't test the loading properly, because even requiring solid_queue fails if we don't have ::Rails::Engine and ActiveModel loaded.

TODO: