Fix O(N) rglob-per-skill startup performance regression
Cluster 72495 · skills. Data as of
Nothing open on GitHub. Fix merged in #72622. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #72622. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a startup performance regression where _find_installed_skill_dir_by_name triggered a full SKILLS_DIR.rglob scan for each optional skill, causing slow startup times. The fixes cache or consolidate the directory index to avoid repeated filesystem traversals.
Open issues0
Open PRs0
Fixes on record
-
#72622 fix(skills): avoid redundant bind-mount scans
files:
tests/tools/test_skills_sync.py,tools/skills_sync.py
3 PRs closed without merging
From the close comments: superseded by another PR 2 · done elsewhere 1
-
#72512 fix(tools): cache SKILLS_DIR rglob index to fix O(N*|tree|) startup regression (#72495) · superseded by another PR →
#72622 -
#72517 fix: build skill name index once instead of rglob per optional skill · done elsewhere →
1dfe781,#72622 -
#72974 fix(skills): avoid repeated optional backfill scans · superseded by another PR →
#72622
Closed issues · 1
- Closed#72495Startup takes minutes — `_find_installed_skill_dir_by_name` runs a full `SKILLS_DIR.rglob` once per optional skill (regression `72de75c0a` / v2026.7.20)
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- skills
- Merged PRs
- #72622
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 28 Jul 2026