From ab72deade967f23a12eba0beb34f4aaaf494726b Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Thu, 9 Apr 2026 10:44:08 -0700 Subject: [PATCH] fix: suppress uv hardlink warning with UV_LINK_MODE=copy When running as a GitHub Action, the uv cache and target .venv directory end up on different filesystems (container overlay vs host mount), causing uv to emit a noisy warning on every run. Setting UV_LINK_MODE=copy tells uv to use copy mode directly, suppressing the warning. Signed-off-by: Zack Koppert Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index a583565..3165ecd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,5 +28,6 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \ CMD python3 -c "import os,sys; sys.exit(0 if os.path.exists('/action/workspace/issue_metrics.py') else 1)" ENV PYTHONUNBUFFERED=1 +ENV UV_LINK_MODE=copy CMD ["/action/workspace/issue_metrics.py"] ENTRYPOINT ["uv", "run", "--no-dev", "--project", "/action/workspace"]