microsoft / microsoft/aspire

Avoid per-command CLI update check in commands

Open
#12,672 1 comment 0 reactions 0 assignees View on GitHub
area-cli
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

During every invocation of the CLI, NuGetPackagePrefetcher currently triggers a fresh look-up of available CLI packages via process calls every time a command is invoked. We should probably reduce the amount of times we look for new CLI package versions by time or cache the values on disk instead of the current in-memory caching that is happening, which doesn't persist across processes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.