Skip to content

Removed published data for error packages in the package registry page

  • Please check this box if this contribution uses AI-generated content as outlined in the GitLab DCO & CLA

What does this MR do and why?

Remove the published time and published method for packages that has an error in the package registry page

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Find the project that contains existing packages in the package registry
  2. Update the status of any package to ERROR Packages::Package.last.update(status: :error)
  3. Refresh the page and the publish time and method should be hidden for the package with an error

Related to: #452135

Edited by Justin Zeng

Merge request reports