Download State Timeout does not report as failure

Board: imx8-som running Yocto Dunfell deployment
Mender Version: 2.5.1

Exhibited Behavior: We are running an update procedure that has a Download_Enter state script being called. This state script has a retry ability that is triggered based on internal system checks. We have set “StateScriptRetryTimeoutSeconds” to 7200 (2 hours). We are testing a scenario where Download_Enter retrys until timeout. Upon timeout we see the below logs. The system has a valid wifi connection though it does not notify hosted Mender of a failure. It also appears to not internally track this as on reboot the system attempts to download again going from sync->download.

Is a failure at Download not considered a failure of update?

Expected Behavior: The timeout on Download_Enter should triggered a update failure and informed hosted Mender

Log:
Aug 19 21:04:35 som-imx8 mender[710]: time=“2021-08-19T21:04:35Z” level=info msg=“State transition: update-check [Sync] → update-fetch [Download_Enter]”
Aug 19 21:04:40 som-imx8 mender[710]: time=“2021-08-19T21:04:40Z” level=info msg=“statescript: Download_Enter_10 requested a retry”
Aug 19 21:05:12 som-imx8 mender[710]: time=“2021-08-19T21:05:12Z” level=info msg=“statescript: Download_Enter_10 requested a retry”
Aug 19 21:05:46 som-imx8 mender[710]: time=“2021-08-19T21:05:46Z” level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for "
Aug 19 21:05:46 som-imx8 mender[710]: time=“2021-08-19T21:05:46Z” level=info msg=“State transition: update-fetch [Download_Enter] → error [Error]”
Aug 19 21:05:46 som-imx8 mender[710]: time=“2021-08-19T21:05:46Z” level=info msg=“Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: erro”
Aug 19 21:05:46 som-imx8 mender[710]: time=“2021-08-19T21:05:46Z” level=info msg=“State transition: error [Error] → idle [Idle]”
Aug 19 21:05:46 som-imx8 mender[710]: time=“2021-08-19T21:05:46Z” level=info msg=“State transition: idle [Idle] → check-wait [Idle]”

Correct, the first point where an update is considered “in progress”, is inside the Download state itself, in other words in between Download_Enter and Download_Leave. Only updates that are in progress will be marked as failed.