Skip to content

fix(completions): resolve roots before offering repo/group completions - #110

Merged
hugoh merged 1 commit into
mainfrom
fix-completions-resolve-roots-ymtymtql
Aug 6, 2026
Merged

fix(completions): resolve roots before offering repo/group completions#110
hugoh merged 1 commit into
mainfrom
fix-completions-resolve-roots-ymtymtql

Conversation

@hugoh

@hugoh hugoh commented Aug 6, 2026

Copy link
Copy Markdown
Owner

makeCompleter used config.Load, which only returns statically
registered repos and skips ResolveRoots — the live directory-walk
that merges repos discovered under a configured Root. Other
read-only paths (repo ls, dispatch) already went through
config.LoadResolved for this; completion was the one path left
behind, so tab completion never offered repos tracked only via a
root.

makeCompleter used config.Load, which only returns statically
registered repos and skips ResolveRoots — the live directory-walk
that merges repos discovered under a configured Root. Other
read-only paths (repo ls, dispatch) already went through
config.LoadResolved for this; completion was the one path left
behind, so tab completion never offered repos tracked only via a
root.
@hugoh
hugoh enabled auto-merge August 6, 2026 23:39
@hugoh
hugoh merged commit 54b4c8b into main Aug 6, 2026
5 checks passed
@hugoh
hugoh deleted the fix-completions-resolve-roots-ymtymtql branch August 6, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant