i originally wrote this as a single script to be run as bundle exec rails runner update-files.rb
but that required having a terminal window open + connected, so i rewrote it as a job.
in a rails console:
Publication.where(file_set_ids_ssim: nil).each { |pub| UpdateMissingFilesJob.perform_later(pub) }
make sure you restart the sidekiq server after adding the job file and before you run the above enqueuing! otherwise you'll get a gajillion 'missing const' errors