Ensure assets loaded in development are the same in production

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

Recently there was an issue with images not loading in the welcome page #34768 (closed). This bug was not caught in the related MR because the way assets are loaded is different in development and production - so much so that a line can work in development, but fail in production.

The big question

Is there a way for us to ensure that these kinds of production issues are caught in the development environment?

Demo

(From #34768 (comment 240586178))

The first tab is running the gitlab-org/gitlab-ee:12.4.2-ee.0 docker image. The second tab is running the local gdk. You'll notice that the image is not found in production environment, but it is found in the development environment.

20191105_bug_welcome_images_not_showing

Edited Sep 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading