Perhaps this is just a rant but perhaps someone may find it useful some other day
I’ve been using sidekiq-middleware for keeping certain jobs unique. However, since perhaps several days ago, some of my tests started failing. And what’s worse was occasionally some of these tests actually would pass.
One thing I found was perform_async never added any jobs, (by looking at Worker.jobs.size). So after hours of pulling my hair out and mocking and stubbing essentially everything and to no avail, I tried the random thing of removing sidekiq-middleware from my gemfile, and suddenly everything worked. This sucks!
So question for my fellow thoughtbotters, what could I have done to prevent losing so much time on this?