`dsc resource list <INPUT>` should leverage the adapter cache to find resources
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
Description
Summary of the new feature / enhancement
dsc resource list <INPUT> will not currently find resources behind adapters without specifying the adapter (or *). With the resource cache for adapters, this may be performant enough to allow searching across all adapters even without being requested.
The downside is that on a system without any cached data, the initial search for a resource will need to build out the caches. This could make the first run of dsc resource list <INPUT> extremely expensive.
Note that I am not suggesting that dsc resource list should search adapters. Even if this was fast to do, the result set would be far too large to be of much use. This may eventually be the case for un-adapted resources.
Proposed technical implementation details (optional)
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the dsc resource list <INPUT> command and the adapter resource cache implementation. Check how searches behave when no adapter is specified, then determine how cached adapter resources can be searched without also searching adapters themselves. Done means the command finds resources behind adapters without an explicit adapter while keeping the result set focused and handling uncached systems acceptably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100