perf(cli): run outdated candidate searches in parallel - #119
Merged
Conversation
Unmanaged Skill candidate searches ran one HTTPS round trip each, so a system scan with many unmanaged Skills waited on every response. - Run candidate searches on up to 8 worker threads; WASI keeps the sequential path because it has no thread support. - Group no-match Skills into one line and search failures per message, so a scan reads as one block instead of one line per Skill.
- skilld outdated reports each found Skill as a line, then rewrites one spinner line while it verifies the latest source, and erases it before the results. Non-terminal hosts keep the silent path through a no-op progress reporter. - skilld outdated --system also walks from the current directory up to the home directory, so Skills installed in a parent project directory are reported. Roots a failed store scope owns stay suppressed so the scan never advises deleting copies it cannot verify.
Collaborator
Author
|
Follow-up pushed in 5da2e82. Scan width Progressive output |
The scan never leaves the user account, so --system overpromised. --all matches the behavior: both scopes and every Agent target directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skilld outdated --systemran one HTTPS search per unmanaged Skill sequentially. 16 unmanaged Skills measured 10.1s wall; the same scan now measures 1.9s on up to 8 worker threads. WASI keeps the sequential path because it has no thread support.Testing