From 344015a509d95b54d6b28aa6eade513a8e61775a Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Wed, 8 Apr 2026 21:29:12 -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 fail hardlinking and emit a noisy warning on every run. Setting UV_LINK_MODE=copy tells uv to use copy mode directly, suppressing the warning. Resolves the remaining part of #27. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Zack Koppert --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e8aa0bf..4a41211 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/pr_conflict_detector.py') else 1)" ENV PYTHONUNBUFFERED=1 +ENV UV_LINK_MODE=copy CMD ["/action/workspace/pr_conflict_detector.py"] ENTRYPOINT ["uv", "run", "--no-dev", "--project", "/action/workspace"]