Viewing or browsing latest job artifacts via URL returns 404

Summary

Latest job artifacts should be accessible via URLs as mentioned in Jobs artifacts documentation

Steps to reproduce

  1. Run a CI pipeline that uploads job artifact
  2. try to access the artifacts with the links below would return 404
https://example.com/<namespace>/<project>/-/jobs/artifacts/<ref>/download?job=<job_name>
https://example.com/<namespace>/<project>/-/jobs/artifacts/<ref>/raw/<path_to_file>?job=<job_name>
https://example.com/<namespace>/<project>/-/jobs/artifacts/<ref>/browse?job=<job_name>
https://example.com/<namespace>/<project>/-/jobs/artifacts/<ref>/file/<path>?job=<job_name>

Example Project

https://gitlab.com/rotanak/testing101

https://gitlab.com/rotanak/testing101/-/jobs/artifacts/master/hello.html?job=build

What is the current bug behavior?

Browsing (latest) artifacts via URL will return 404s

What is the expected correct behavior?

Output of checks

This bug happens on GitLab.com; GitLab Enterprise Edition 13.0.0-pre 6b4a636f