Skip to content

Conversation

@jmgomez
Copy link
Collaborator

@jmgomez jmgomez commented Nov 21, 2025

No description provided.

@jmgomez jmgomez marked this pull request as draft November 21, 2025 11:24
The version-agnostic cache directory changes in getCacheDownloadDir
were causing lock file tests to fail because packages were getting
cached with wrong VCS revisions.

Now when useAsyncDownloads is false (default), it uses the old
behavior with version in the cache path. When true, it uses the
new version-agnostic caching that enables parallel downloads.
The condition was inverted - when useAsyncDownloads was true, it was
using the sync path, and when false it was using the async path!

Changed:
- solvePackages: if isLegacy or useAsyncDownloads => if isLegacy or NOT useAsyncDownloads
- getPkgVersionTable: Always used async => Now respects useAsyncDownloads flag

This was causing all SAT solver tests to fail because they were
inadvertently using the async path (which has version filtering removed)
when they should use the stable sync path.
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