wasmer icon indicating copy to clipboard operation
wasmer copied to clipboard

Registry response cache does not differentiate by registry URL

Open theduke opened this issue 1 year ago • 1 comments

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: https://github.com/wasmerio/wasmer/blob/4fa2687a6bda9a9135637c0affeed8ff63e47b32/lib/cli/src/commands/run/wasi.rs#L646

theduke avatar May 10 '24 11:05 theduke

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 15 '25 04:11 stale[bot]

Feel free to reopen the issue if it has been closed by mistake.

stale[bot] avatar Dec 16 '25 01:12 stale[bot]

It's something pretty close to what I've recently adjusted in #5974. Let me fix this issue.

marxin avatar Dec 16 '25 17:12 marxin