Skip to content

fix: avoid following cache cleanup symlinks#175

Merged
duriantaco merged 1 commit into
mainfrom
sync/uv-cache-symlink-cleanup
Jun 15, 2026
Merged

fix: avoid following cache cleanup symlinks#175
duriantaco merged 1 commit into
mainfrom
sync/uv-cache-symlink-cleanup

Conversation

@duriantaco

Copy link
Copy Markdown
Owner

Summary

Backports critical upstream uv cache cleanup safety fixes.

This prevents cache cleanup paths from following symlinks while pruning or cleaning cache
entries, including symlinks that point outside the cache root.

Upstream

Adapted from upstream uv commits:

  • bc1093a96 avoid following symlinks during cache prune
  • 436bf40fb avoid following external symlinks during cache clean

Tests

cargo fmt --check
cargo check -p fyn-cache```

Backports critical upstream uv cache safety fixes:

- bc1093a96 avoid following symlinks during cache prune

- 436bf40fb avoid following external symlinks during cache clean
@duriantaco duriantaco force-pushed the sync/uv-cache-symlink-cleanup branch from 5e97549 to f8cdbc8 Compare June 15, 2026 05:29
@duriantaco duriantaco marked this pull request as ready for review June 15, 2026 05:43
@duriantaco duriantaco merged commit cb3e005 into main Jun 15, 2026
13 checks passed
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