Skip to content

Agent reports if there is insufficient disk space during upgrade, cleans up, and prevents upgrade #5235

@ycombinator

Description

@ycombinator

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions