mattrax / Mattrax

Open source MDM for all your devices
https://mattrax.app
Other
46 stars 2 forks source link

Handle `pending_deploy_statuses` #364

Open oscartbeaumont opened 3 weeks ago

oscartbeaumont commented 3 weeks ago

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.