Add hooks to ActiveJob around retries and discards
#33751

steves wants to merge steves:add_retry_notifications_to_aj into rails:master

We do not currently have an analysis of these two commits