I'm not sure how common this is, but wondering if its worth working on a PR for ActiveStorage to allow you to use callbacks. Something like this for example to run a method after analyze is complete:
has_one_attached :artwork, after_analyze: :my_method