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

cache results of the discovery tool #9566

Merged
merged 3 commits into from Apr 24, 2024

Conversation

brettfo
Copy link
Collaborator

@brettfo brettfo commented Apr 22, 2024

The newly added discover command is only dependent on the workspace_path value, so use that as a cache key.

Previously, it was possible for the discover command to be run multiple times and in some large repos, that could lead to a timeout. Also moved the reporting of the results of the discover command to just after it actually runs so it's not repeated in the log.

@brettfo brettfo requested a review from a team as a code owner April 22, 2024 22:32
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Apr 22, 2024
@brettfo brettfo force-pushed the dev/brettfo/cache-nuget-discovery branch from 2e9b4a2 to a269f18 Compare April 22, 2024 22:37
@brettfo brettfo force-pushed the dev/brettfo/cache-nuget-discovery branch 4 times, most recently from aca84f7 to 9170408 Compare April 23, 2024 18:55
@brettfo brettfo force-pushed the dev/brettfo/cache-nuget-discovery branch from 9170408 to 6e37442 Compare April 23, 2024 21:25
@abdulapopoola abdulapopoola merged commit 7c3739c into main Apr 24, 2024
67 checks passed
@abdulapopoola abdulapopoola deleted the dev/brettfo/cache-nuget-discovery branch April 24, 2024 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants