When the Push Messages API returns a 404, it means the Redis data was lost.
To be safe and make sure we're recording all apps in the dashboard, we need to re-POST all apps' public keys to restart their recording.
So, when the push messages API returns 404, we should set all apps' vapid_key_status from 'recording' to 'valid' to trigger their POSTs next time the start_recording_push_apps command is run.
When the Push Messages API returns a 404, it means the Redis data was lost.
To be safe and make sure we're recording all apps in the dashboard, we need to re-POST all apps' public keys to restart their recording.
So, when the push messages API returns 404, we should set all apps'
vapid_key_status
from 'recording' to 'valid' to trigger their POSTs next time thestart_recording_push_apps
command is run.