Invalid healthchecks.yml files cause the agent to raise an exception and prevent installation from proceeding. In the case of deregistering and invalid yml file from a previous deployment, this can prevent any future deployments from succeeding.
This change catches only validation errors and will skip check registration/deregistration in these cases, allowing "fixing forward" deployments to succeed while still preventing installations that might result in an unknown state.
Invalid
healthchecks.yml
files cause the agent to raise an exception and prevent installation from proceeding. In the case of deregistering and invalidyml
file from a previous deployment, this can prevent any future deployments from succeeding.This change catches only validation errors and will skip check registration/deregistration in these cases, allowing "fixing forward" deployments to succeed while still preventing installations that might result in an unknown state.