mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-07 18:11:40 +00:00
The current target state apply is cancelled when either: - /v1/update is called with cancel: true - A different target state is received from the cloud (with a non-304 status) Following apply cancellation, a target state apply is re-triggered. This ensures that the user can force a device out of a dead-locked situation where a long-running task such as an image fetch fails to cede control back to the Supervisor, which is the behavior observed in an Engine bug with infinite pull retries with a bad network. Change-type: minor Signed-off-by: Christina Ying Wang <christina@balena.io>