Container registry tags graphql query returns `null` createdAt value

Problem

We noticed that the container registry tags list UI intermittently displayed Published just now for the published date/time, for all tags regardless of actual published date when 2023-05-12: Container registry pulls failing wi... (gitlab-com/gl-infra/production#14260 - closed) happened Screenshot_2023-05-12_at_21.56.25

Reason being container registry tags GraphQL query returned null for the createdAt field in some cases.

Screenshot_2023-05-13_at_12.02.31_am

Possible solutions

  1. createdAt field is nullable, so we could add additional checks on the frontend.
    • Question: what do we show if createdAt is null?
  2. Identify why backend fails to return a valid createdAt timestamp.
Edited by Rahul Chanila