Skip to content

Display messages and warning for partially executed cleanup policies

Problem to solve

frontend follow up of #208193 (closed).

With #208193 (closed), cleanup policies execution will have some limits. In other words, cleanup policies that need a long to complete could be stopped and the work will be picked up on the next cleanup policy run.

This leaves the container repositories in a state where:

  • A cleanup policy has been executed on them.
  • Not all the targeted tags were deleted and so they are still visible on the UI.

This issue is to capture the frontend work needed to add additional messages and warnings to inform the users that the cleanup policy has been partially executed and some tags might be still displayed in the UI.

Here are some rough sketches: #208193 (comment 362972260)

Intended users

User experience goal

Proposal

On the image repository list view (both the Group and Project level views), show a warning flag next to image repositories with have partial deletions.

Container Registry Image Repository List View w/ warning
Container_Registry_List_View

On the image repository detail view (with the list of tags visible) show a warning (yellow) Alert at the top of the page.

Image repository detail view w/ warning alert
Image_Repository_Detail_View

Note: It is not technically feasible to indicate which image tags in the list view are scheduled for deletion but were not deleted.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by Iain Camacho