Mike Perham
Mike Perham
Show me the actual code. This is too complex to debug with a description.
Do you have the transactional client enabled? That can delay job push until the batch is no longer in context.
True, Sidekiq::Client should ignore transactional boundaries when inside the `jobs` block, but bugs and unexpected edge cases always exist.
Can you reduce it to a reproducible scenario? If you can, I can debug it for you.