Commits
Click on a commit to change the comparison rangefix: ensure canonicalized paths remain accessible via strong references
Fixes #732 - "Canonicalized path was dropped" error that could occur in CI environments.
The issue was that canonicalized paths were only stored as weak references without ensuring
a strong reference existed in the cache. This could cause the Arc to be immediately dropped,
leading to the weak reference failing to upgrade.
The fix ensures canonicalized paths are added to the cache (if not already present) before
downgrading to weak references, maintaining at least one strong reference while preserving
the weak reference pattern needed to avoid memory leaks.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>