← Back to issue list

Add `UV_LINK_MODE=copy`

View original Github issue

Metadata

Project
craft-parts
Number
#1451
Type
pull request
State
closed
Author
carlcsaposs-canonical
Labels
Created
Updated
Closed

Current evaluation

Added UV_LINK_MODE=copy to resolve LXD cache hardlinking warnings. Closed and abandoned by the author, superseded by PR #1452 to correct the title format for conventional commits.

Suggested action:

No scores available.

Issue body

Companion to https://github.com/canonical/craft-providers/pull/900 When the cache dir is mounted from the LXD host, hardlinking from the global cache (uv's default behavior) is not possible e.g. ``` :: warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance. :: If the cache and target directories are on different filesystems, hardlinking may not be supported. :: If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning. ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Added UV_LINK_MODE=copy to resolve LXD cache hardlinking warnings. Closed and abandoned by the author, superseded by PR #1452 to correct the title format for conventional commits.
qwen3.6-35b-a3b-mtp-q6 Superseded by PR #1452 for title formatting. Introduces UV_LINK_MODE=copy to resolve hardlinking warnings when the cache directory is mounted from an LXD host.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1452 feat: Add `UV_LINK_MODE=copy` craft-parts open Adds UV_LINK_MODE=copy to avoid hardlinking warnings when cache dir is mounted from LXD host. Approved by 4 reviewers with recent activity; 1 unresolved review comment and some failing CI tests remain.
83%