You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(package-manager): add thread synchronization to prevent race conditions
- Add global mutex lock using OnceLock for file system operations
- Protect critical sections in download_package_manager function
- Add test-specific lock for temp directory creation
- Fix "Directory not empty" errors during concurrent test execution
The synchronization ensures concurrent calls won't interfere when:
- Checking if files exist
- Removing old directories
- Renaming temporary directories
- Creating shim files
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments