Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
AsyncAdapter causes ActiveStorage attachment to hang in db:seed #34939
TLDR trying to attach two or more files using ActiveStorage in a db:seed task hangs after the first attachment.
I suspect that
Might be related to #33500 .
Steps to reproduce
Although I was able to reproduce this many times with the steps above on different machines, it becomes non-reproduceable after the first run, even after clearing
Rails version: 5.2.2
Ruby version: 2.6.0
I think we can
This is the trace I get if I interrupt the task after a while with ctrl+c: