Skip to content

NuGet Cache not cleared for runtime packages#4056

Open
lktraser wants to merge 8 commits into
microsoft:mainfrom
lktraser:dev/cacheclearbug
Open

NuGet Cache not cleared for runtime packages#4056
lktraser wants to merge 8 commits into
microsoft:mainfrom
lktraser:dev/cacheclearbug

Conversation

@lktraser

@lktraser lktraser commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Improve NuGet package cache invalidation by extracting package ID from filename

When clearing search results cache after package submission, extract the package ID from the .nupkg filename using regex pattern matching instead of using the full package path. This ensures more accurate cache invalidation by matching only on the package ID rather than the entire filename.

…m filename

When clearing search results cache after package submission, extract the package ID from the .nupkg filename using regex pattern matching instead of using the full package path. This ensures more accurate cache invalidation by matching only on the package ID rather than the entire filename.
@lktraser lktraser requested a review from a team as a code owner December 2, 2025 15:47
@mazhelez

mazhelez commented Dec 8, 2025

Copy link
Copy Markdown
Collaborator

Thanks for the contribution!
Can you please add release notes to sum up the value of this addition?

@lktraser

lktraser commented Dec 9, 2025

Copy link
Copy Markdown
Contributor Author

Added the release note, we temporarily fixed it in our pipelines by clearing the cache after we push runtime packages

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