Handle `pending_deploy_statuses`
oscartbeaumont opened this issue · comments
These are weird cause we have literally no clue if the device commited our last response or not. Luckily these should be rare.
Also if policyDeployStatus is pending we should retry to deploy the policy. This would happen if we commit that we sent the response to the device but the network drops and the device never receives it. In this case we can't be sure if the device executed the payload or not so we need to account for both.