Sidekiq hangs (on BotInput job?)

I had a look at the backtraces and it all points to some problem with the following line:

Not exactly sure why that line would cause problems though but it is a line that is not necessary so I’ve dropped it in

https://github.com/discourse/discourse/pull/31727

@RGJ Do you happen to have Rails.application.config.eager_load set to disable for some reason? :thinking: