404 on image loading in Review Apps

Summary

Review App specific issue, doesn't happen on other environments. Design images in issues cannot be retrieved (404 on GET) even though they were just uploaded by a test. Happens consistently for some deploys and never for others so possibly something went wrong (fell out of sync?) during the deploy. Appears similar to #334815 (closed)

Can be reproduced against master deploy in https://gitlab-review-master2-ho-bqf4ik.gitlab-review.app/ with testfile.png (attached below). (However, all tests pass consistently against https://gitlab-review-365924-qua-i4oj8i.gitlab-review.app/ in !90869 (closed))

testfile

Failing job(s): https://gitlab.com/gitlab-org/gitlab/-/jobs/2676927661, https://gitlab.com/gitlab-org/gitlab/-/jobs/2676927669, https://gitlab.com/gitlab-org/gitlab/-/jobs/2676927665

Failing spec(s): browser_ui/3_create/design_management/archive_design_content_spec.rb, browser_ui/3_create/design_management/add_design_content_spec.rb, browser_ui/3_create/design_management/modify_design_content_spec.rb

Stack trace

Unable to find visible css "[data-qa-selector=\"design_image\"][data-qa-filename=\"banana_sample.gif\"],.qa-design-image"
Unable to find visible css "[data-qa-selector=\"design_image\"][data-qa-filename=\"testfile.png\"],.qa-design-image"

Screenshot / HTML page

Expand for screenshots image Screen_Shot_2022-07-01_at_5.22.11_PM

Possible fixes