[go: up one dir, main page]

Skip to content

Project Import/Export - Display UI warning when export is interrupted because of missing disk space

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

Large project exports on SM instances can be problematic as the instance is at risk of running out of disk space as seen in https://gitlab.com/gitlab-com/request-for-help/-/issues/2126. Identifying the root cause is cumbersome as there's not clear error message that indicates the problem of missing disk space.

Proposal

We should improve the user experience by adding a warning/error message to the UI when the instance is running out of disk space during a project export. There are two possible scenarios that we need to consider:

  • Disk gets full when we generate the file: In this case, the OS would raise an error.
  • Disk gets full when we we compress the file: In this case the tar command generates a different error message.

We should address both cases and need to convert the generic error message to a more meaningful error message.

Edited by 🤖 GitLab Bot 🤖