Skip to content

Add UV_LINK_MODE=copy#1451

Closed
carlcsaposs-canonical wants to merge 1 commit intocanonical:mainfrom
carlcsaposs-canonical:uv-cache
Closed

Add UV_LINK_MODE=copy#1451
carlcsaposs-canonical wants to merge 1 commit intocanonical:mainfrom
carlcsaposs-canonical:uv-cache

Conversation

@carlcsaposs-canonical
Copy link
Contributor

Companion to canonical/craft-providers#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.

@carlcsaposs-canonical carlcsaposs-canonical requested a review from a team as a code owner February 9, 2026 11:21
Companion to canonical/craft-providers#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.
```
@carlcsaposs-canonical
Copy link
Contributor Author

Reopened as #1452 to edit pr title to include conventional commit prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant