Conversation
There was a problem hiding this comment.
Performed full review of 7429755...fae0f3c
3 files reviewed | 0 comments | Review on Mesa | Edit Reviewer Settings
There was a problem hiding this comment.
Bug: Dockerfile Configuration Mismatch Causes Errors
The headful Dockerfile is missing ENV WITHDOCKER=true, unlike the headless image. This causes the wrapper.sh script to incorrectly attempt to mount /dev/shm and enable scale-to-zero functionality, which are operations intended for non-Docker environments. This can lead to /dev/shm mounting errors and unintended scale-to-zero behavior.
images/chromium-headful/Dockerfile#L169-L183
images/chromium-headful/run-docker.sh#L30-L44
Look again lil cursor bro, it's there in the Dockerfile |
TL;DR
Standardized the
WITH_DOCKERenvironment variable toWITHDOCKERfor consistent usage across the codebase.Why we made these changes
To eliminate naming inconsistencies for the Docker environment variable, simplifying its declaration and usage.
What changed?
images/chromium-headless/image/Dockerfile: Explicitly setWITHDOCKER=true; removedWITH_KERNEL_IMAGES_API.images/chromium-headless/image/wrapper.sh: Updated conditional logic to use theWITHDOCKERvariable.server/e2e/e2e_chromium_test.go: Removed the now-obsoleteWITH_DOCKERenvironment variable from test configurations.Description generated by Mesa. Update settings