I finally cracked on GoodJob and implemented something I've been avoiding: patching Active Job to make *my* callback always run last.
(this became necessary to make Concurrency rules be checked last last last after anything else that might modify the rules/conditions has run)
github.com
Fix: Run the enqueue concurrency check always after the job's other enqueue callbacks by bensheldon · Pull Request #1850 · bensheldon/good_job
The Concurrency extension registers its before_enqueue callback when it is included, so it ran before any before_enqueue/around_enqueue callbacks defined later in the job class or its subclasses. L...