Deployments sometimes ignoring update attempts per device settings

We have some devices that don’t always get network connectivity on boot so rely on multiple update retries. We noticed an uptick in device update failures and tracked it down to deployments sometimes ignoring both the Set the number of times each device will attempt this update and Default update attempts and only allowing one attempt per update. We can see this due to Update attempts per device: 1 and no Attempts column in the deployment details page. Strangely API calls to retrieve past deployments show retries: 2.

From reviewing deployment logs, this behavior seems to have started in mid May.

We are using hosted.mender.io. Devices run Yocto 4.0 built mender connect (2.3.1) and client (3.5.3).