Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registry response cache does not differentiate by registry URL #4664

Open
theduke opened this issue May 10, 2024 — with Linear · 0 comments
Open

Registry response cache does not differentiate by registry URL #4664

theduke opened this issue May 10, 2024 — with Linear · 0 comments
Assignees
Labels
priority-high High priority issue

Comments

Copy link
Contributor

theduke commented May 10, 2024

The cache used for registry API responses in WapmSource does not differentiate cache items by registry endpoint, leading to sharing of cache data between different registries, and confusing behaviour.

The cache should be updated to include the normalized registry URL in the cache path.

Relevant setup code here:

.with_local_cache(cache_dir, WAPM_SOURCE_CACHE_TIMEOUT);

@syrusakbary syrusakbary added the priority-high High priority issue label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-high High priority issue
Projects
None yet
Development

No branches or pull requests

3 participants