Error 500 when vieweing `.png` from pipeline artifact
Description
Noticed on .com
when viewing https://gitlab.com/gitlab-org/gitlab/-/jobs/6778027317/artifacts/file/tmp/capybara/protected_branches_logged_in_as_admin_wildcard_protected_branches_allows_creating_protected_branches_with_a_wildcard.png (from job artifacts):
Investigation
Based on this issue in Sentry, it appears that blob.raw_size
is nil
sometimes:
For a Ci::ArtifactBlob
, this can happen when the entry's metadata is unavailable for some reason:
Maybe the @path
isn't actually being found in the @entries
?
Edited by Paul Slaughter