[uv] My Container OOMed Because of Dev Dependencies I Thought I Had Excluded
4 min readA Cloud Run service kept hitting its memory limit at startup. The cause: uv run re-syncs the environment by default, reinstalling the dev dependency group at runtime even though the image was built with --no-dev. The fix is --no-sync (and --no-install-project for better layer caching).