When Agent tries to perform an upgrade, the local disk may not have sufficient space to a) download the new Agent artifact or b) to extract the downloaded Agent artifact. When this happens, Agent should:
- reports this situation to the user (by reporting it to Fleet for Fleet-managed Agents),
- cleans up any partially downloaded or extracted files, and
- prevents the upgrade from proceeding further
Acceptance critieria includes an E2E test proving the above steps are being taken.