Skip to content

fix: cache 404 response for sharded index#1780

Merged
wolfv merged 2 commits intoconda:mainfrom
baszalmstra:fix/force_cache_only_sharded
Oct 27, 2025
Merged

fix: cache 404 response for sharded index#1780
wolfv merged 2 commits intoconda:mainfrom
baszalmstra:fix/force_cache_only_sharded

Conversation

@baszalmstra
Copy link
Copy Markdown
Collaborator

Fixes an issue with CacheAction::ForceCacheOnly for the sharded repodata index. If the sharded index was not found, we skipped caching any information. However, if the cache was forced this led to an error because no cache entry was found. With this PR we also cache if the sharded index was not present in the first place.

@baszalmstra baszalmstra requested a review from tdejager October 27, 2025 14:33
@baszalmstra baszalmstra changed the title fix: force cache only sharded 404 fix: cache 404 response for sharded index Oct 27, 2025
@wolfv wolfv merged commit b9ab3b8 into conda:main Oct 27, 2025
17 checks passed
@github-actions github-actions bot mentioned this pull request Oct 27, 2025
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.

2 participants