Unfortunately there is no such event that you can subscribe to at this time.

However, we agree that it's a good idea and have included a link to it in this issue regarding upgrade tracking. You can subscribe to this GitHub issue to be notified when this work has been included in a future release of Octopus.