From 337ffcd8371378e6877b326d4c5df033adfb1a51 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Thu, 9 Apr 2026 10:43:59 -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 d4eb931..4b6e3a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,5 +19,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/evergreen.py') else 1)" ENV PYTHONUNBUFFERED=1 +ENV UV_LINK_MODE=copy CMD ["/action/workspace/evergreen.py"] ENTRYPOINT ["uv", "run", "--no-dev", "--project", "/action/workspace"]